bitverse-atomicals-js
Version:
Atomicals Javascript Library and CLI - atomicals.xyz
27 lines (26 loc) • 792 B
TypeScript
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) => Promise<KeyPair>;
export interface WalletRequestDefinition {
phrase?: string | undefined;
path?: string | undefined;
}
export declare const createPrimaryAndFundingImportedKeyPairs: (phrase?: string | undefined, path?: string | undefined, n?: number) => Promise<{
wallet: {
phrase: any;
primary: KeyPair;
funding: KeyPair;
};
imported: {};
}>;
export declare const createNKeyPairs: (phrase: any, n?: number) => Promise<{
phrase: any;
keypairs: any;
}>;