@ledgerhq/coin-stacks
Version:
Ledger Stacks Coin integration
14 lines • 562 B
TypeScript
import type { AddressVersion } from "@stacks/transactions";
import { ResponseAddress } from "@zondax/ledger-stacks";
export type StacksAddress = {
publicKey: string;
address: string;
chainCode?: string;
};
export type StacksSignature = string;
export interface StacksSigner {
showAddressAndPubKey(path: string, version: AddressVersion): Promise<ResponseAddress>;
getAddressAndPubKey(path: string, version: AddressVersion): Promise<ResponseAddress>;
sign(path: string, message: Buffer): Promise<any>;
}
//# sourceMappingURL=signer.d.ts.map