Files
xrpl-dev-portal/content/_code-samples/key-derivation/js
mDuo13 554a3732d4 Migrate content syntax via script
The changes in this commit were auto-generated by running

tool/migrate.sh

Following this commit, the Dactyl build no longer works but the Redocly
build (mostly) should.
2024-01-31 16:09:41 -08:00
..
2022-10-05 13:01:37 +02:00
2023-09-08 14:29:53 -07:00
2024-01-31 16:09:41 -08:00

JavaScript key derivation examples

Generates key from a given input in Ed25519 and Secp256k1 format. On first run, you have to install the necessary node.js dedpendencies:

npm install

Command-line usage:

Base58 formatted seed:

npm start "snJj9fYixUfpNCBn9LzLdLv5QqUKZ"

Hex formatted seed:

npm start "BB664A14F510A366404BC4352A2230A5"

Password like seed:

npm start "sEdSKaCy2JT7JaM7v95H9SxkhP9wS2r"

Random seed

npm start