1 | import { decodeSeed } from 'ripple-address-codec';
|
2 | import type { Algorithm, HexString, KeyPair } from './types';
|
3 | declare function generateSeed(options?: {
|
4 | entropy?: Uint8Array;
|
5 | algorithm?: Algorithm;
|
6 | }): string;
|
7 | declare function deriveKeypair(seed: string, options?: {
|
8 | algorithm?: Algorithm;
|
9 | validator?: boolean;
|
10 | accountIndex?: number;
|
11 | }): KeyPair;
|
12 | declare function sign(messageHex: HexString, privateKey: HexString): HexString;
|
13 | declare function verify(messageHex: HexString, signature: HexString, publicKey: HexString): boolean;
|
14 | declare function deriveAddress(publicKey: string): string;
|
15 | declare function deriveNodeAddress(publicKey: string): string;
|
16 | export { generateSeed, deriveKeypair, sign, verify, deriveAddress, deriveNodeAddress, decodeSeed, };
|
17 |
|
\ | No newline at end of file |