Added README and command line argument functionality

This commit is contained in:
AlexanderBusse
2022-09-07 00:33:11 +02:00
parent e6deb4ca63
commit ccf334e33d
2 changed files with 38 additions and 8 deletions

View 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