onesec-bridge
Version:
A library for interacting with the onesec.to bridge
7 lines (6 loc) • 410 B
TypeScript
import { type Agent } from "@dfinity/agent";
import { type _SERVICE as OneSec } from "./generated/candid/onesec/onesec.did";
import { type Deployment } from "./types";
export { type _SERVICE as OneSec } from "./generated/candid/onesec/onesec.did";
export declare function anonymousOneSec(deployment: Deployment): Promise<OneSec>;
export declare function anonymousAgent(deployment: Deployment): Promise<Agent>;