@ledgerhq/coin-casper
Version:
Ledger Casper integration
10 lines • 476 B
TypeScript
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