@citizenwallet/sdk
Version:
An sdk to easily work with citizen wallet.
9 lines • 560 B
TypeScript
import { Signer } from "ethers";
import { CommunityConfig } from "../config";
export declare const generateConnectionMessage: (accountAddress: string, expiryTimeStamp: string, redirectUrl: string) => string;
export declare const createConnectedUrl: (url: string, signer: Signer, accountAddress: string, expiryTimeStamp: string, redirectUrl: string) => Promise<string>;
export declare const verifyConnectedUrl: (config: CommunityConfig, options: {
url?: string;
params?: URLSearchParams;
}) => Promise<string | null>;
//# sourceMappingURL=index.d.ts.map