https://github.com/corvusstorage/polkadot-private-key-generator
This code uses the schnorrkel library to generate a random seed and derive a key pair from it
https://github.com/corvusstorage/polkadot-private-key-generator
polkadot polkadotgenerator
Last synced: 11 months ago
JSON representation
This code uses the schnorrkel library to generate a random seed and derive a key pair from it
- Host: GitHub
- URL: https://github.com/corvusstorage/polkadot-private-key-generator
- Owner: CorvusStorage
- License: mit
- Created: 2023-05-07T15:09:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-12T20:19:21.000Z (about 3 years ago)
- Last Synced: 2025-05-27T22:08:39.340Z (about 1 year ago)
- Topics: polkadot, polkadotgenerator
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Polkadot private key Generator
This code uses the schnorrkel library to generate a random seed and derive a key pair from it. The private and public keys are then extracted from the key pair and encoded as hexadecimal strings. The public key is also encoded as a Polkadot address using the encodeAddress function from the @polkadot/keyring library.