@ledgerhq/coin-casper
Version:
Ledger Casper integration
12 lines • 538 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
import { Account } from "@ledgerhq/types-live";
import { KeyAlgorithm } from "casper-js-sdk";
export declare const getAddress: (a: Account) => {
address: string;
derivationPath: string;
};
export declare function isAddressValid(pubKey: string): boolean;
export declare function casperAccountHashFromPublicKey(pubKey: string): string;
export declare function casperAddressFromPubKey(pubkey: Buffer, keySig: KeyAlgorithm): string;
//# sourceMappingURL=addresses.d.ts.map