UNPKG

freelii-passkey-kit

Version:

A helper library for creating and using smart wallet accounts on the Stellar blockchain.

23 lines (22 loc) 632 B
export type Signer = { kind: string; key: string; val: string; expiration: number | null; storage: "Persistent" | "Temporary"; limits: string; evicted?: boolean; }; export declare class SignerKey { key: "Policy" | "Ed25519" | "Secp256r1"; value: string; private constructor(); static Policy(policy: string): SignerKey; static Ed25519(publicKey: string): SignerKey; static Secp256r1(id: string): SignerKey; } export type SignerLimits = Map<string, SignerKey[] | undefined> | undefined; export declare enum SignerStore { Persistent = "Persistent", Temporary = "Temporary" }