onesec-bridge
Version:
A library for interacting with the onesec.to bridge
7 lines (6 loc) • 395 B
TypeScript
import { Agent } from '@dfinity/agent';
import { _SERVICE as OneSec } from './generated/candid/onesec/onesec.did';
import { 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>;