@arklabs/wallet-sdk
Version:
Bitcoin wallet SDK with Taproot and Ark integration
11 lines (10 loc) • 350 B
TypeScript
import { Bytes } from "@scure/btc-signer/utils";
export declare class ArkAddress {
readonly serverPubKey: Bytes;
readonly tweakedPubKey: Bytes;
readonly hrp: string;
constructor(serverPubKey: Bytes, tweakedPubKey: Bytes, hrp: string);
static decode(address: string): ArkAddress;
encode(): string;
get pkScript(): Bytes;
}