mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-27 23:25:51 +00:00
Added README and command line argument functionality
This commit is contained in:
21
content/_code-samples/key-derivation/js/README.md
Normal file
21
content/_code-samples/key-derivation/js/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# JavaScript key derivation examples
|
||||
|
||||
Generates key from a given input in Ed25519 and Secp256k1 format
|
||||
|
||||
## Command-line usage:
|
||||
|
||||
### Password like seed
|
||||
|
||||
npm start "sEdSKaCy2JT7JaM7v95H9SxkhP9wS2r"
|
||||
|
||||
### Rippled RFC1751 Mnemonic
|
||||
|
||||
npm start "KANT FISH GENE COST WEB JAKE CHUM HAD SOD MID KICK BOTH"
|
||||
|
||||
### Hex formatted seed
|
||||
|
||||
npm start "0x21edc3dec3ef1873cf8f333381c5f360c3"
|
||||
|
||||
### Random seed
|
||||
|
||||
npm start
|
||||
Reference in New Issue
Block a user