btc-wallet
Version:
BTC Wallet is a toolkit that enables Bitcoin usage on the NEAR blockchain through the Satoshi protocol.
17 lines (16 loc) • 537 B
TypeScript
declare const _default: {
saveAccount(account: string): void;
removeAccount(): void;
savePublicKey(publicKey: string): void;
removePublicKey(): void;
saveBtcPublicKey(publicKey: string): void;
removeBtcPublicKey(): void;
clear(): void;
save(account: string, publicKey: string): void;
getAccount(): string;
getPublicKey(): string;
getBtcPublicKey(): string;
isValid(): string | true;
syncSave(account: string, publicKey: string, btcPublicKey: string): void;
};
export default _default;