Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

index.d.ts 755B

12345678910111213141516
  1. import * as addressCodec from 'ripple-address-codec';
  2. declare function generateSeed(options?: {
  3. entropy?: Uint8Array;
  4. algorithm?: 'ed25519' | 'ecdsa-secp256k1';
  5. }): string;
  6. declare function deriveKeypair(seed: string, options?: object): {
  7. publicKey: string;
  8. privateKey: string;
  9. };
  10. declare function sign(messageHex: any, privateKey: any): string;
  11. declare function verify(messageHex: any, signature: any, publicKey: any): boolean;
  12. declare function deriveAddress(publicKey: any): string;
  13. declare function deriveNodeAddress(publicKey: any): string;
  14. declare const decodeSeed: typeof addressCodec.decodeSeed;
  15. export { generateSeed, deriveKeypair, sign, verify, deriveAddress, deriveNodeAddress, decodeSeed, };
  16. //# sourceMappingURL=index.d.ts.map