UNPKG

@arkade-os/sdk

Version:

Bitcoin wallet SDK with Taproot and Ark integration

11 lines (10 loc) 463 B
import { Transaction } from "../utils/transaction"; import { SignerSession } from "../tree/signingSession"; export interface Identity { signerSession(): SignerSession; xOnlyPublicKey(): Promise<Uint8Array>; compressedPublicKey(): Promise<Uint8Array>; signMessage(message: Uint8Array, signatureType: "schnorr" | "ecdsa"): Promise<Uint8Array>; sign(tx: Transaction, inputIndexes?: number[]): Promise<Transaction>; } export * from "./singleKey";