UNPKG

@arklabs/wallet-sdk

Version:

Bitcoin wallet SDK with Taproot and Ark integration

13 lines (12 loc) 500 B
import { Transaction } from "@scure/btc-signer"; import { Identity } from "."; import { SignerSession } from "../tree/signingSession"; export declare class InMemoryKey implements Identity { private key; private constructor(); static fromPrivateKey(privateKey: Uint8Array): InMemoryKey; static fromHex(privateKeyHex: string): InMemoryKey; sign(tx: Transaction, inputIndexes?: number[]): Promise<Transaction>; xOnlyPublicKey(): Uint8Array; signerSession(): SignerSession; }