123456789101112131415161718192021222324 |
- import * as addressCodec from 'ripple-address-codec';
- declare function generateSeed(options?: {
- entropy?: Uint8Array;
- algorithm?: 'ed25519' | 'ecdsa-secp256k1';
- }): string;
- declare function deriveKeypair(seed: string, options?: object): {
- publicKey: string;
- privateKey: string;
- };
- declare function sign(messageHex: any, privateKey: any): string;
- declare function verify(messageHex: any, signature: any, publicKey: any): boolean;
- declare function deriveAddress(publicKey: any): string;
- declare function deriveNodeAddress(publicKey: any): string;
- declare const _default: {
- generateSeed: typeof generateSeed;
- deriveKeypair: typeof deriveKeypair;
- sign: typeof sign;
- verify: typeof verify;
- deriveAddress: typeof deriveAddress;
- deriveNodeAddress: typeof deriveNodeAddress;
- decodeSeed: typeof addressCodec.decodeSeed;
- };
- export = _default;
- //# sourceMappingURL=index.d.ts.map
|