UNPKG

atomicals-js

Version:
28 lines (27 loc) 951 B
export declare const toXOnly: (publicKey: any) => any; export interface KeyPair { address: string; publicKey: string; publicKeyXOnly: string; path: string; WIF: string; privateKey?: string; } export declare const createKeyPair: (phrase?: string, path?: string, passphrase?: string) => Promise<KeyPair>; export interface WalletRequestDefinition { phrase?: string | undefined; path?: string | undefined; } export declare const createPrimaryAndFundingImportedKeyPairs: (phrase?: string | undefined, path?: string | undefined, passphrase?: string | undefined, n?: number) => Promise<{ wallet: { phrase: string; passphrase: string | undefined; primary: KeyPair; funding: KeyPair; }; imported: {}; }>; export declare const createNKeyPairs: (phrase: string | undefined, passphrase: string | undefined, n?: number) => Promise<{ phrase: string | undefined; keypairs: any; }>;