https://github.com/michal-wrzosek/eth-wallet-generator
eth wallet generator
https://github.com/michal-wrzosek/eth-wallet-generator
Last synced: 3 months ago
JSON representation
eth wallet generator
- Host: GitHub
- URL: https://github.com/michal-wrzosek/eth-wallet-generator
- Owner: michal-wrzosek
- License: mit
- Created: 2021-02-11T21:13:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-11T21:19:58.000Z (over 4 years ago)
- Last Synced: 2025-01-21T20:48:42.375Z (5 months ago)
- Language: TypeScript
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# eth-wallet-generator
Ethereum wallet generator. Allows you to generate new ETH account (address, private key and mnemonic). Also, you can recover your account by providing a mnemonic.
This app uses ethers.js for generating and recovering accounts.
# Install
```
yarn
```# Generate
To generate new random account:
```
yarn generate
```It would give console output like this:
```
address: 0xE5766f072B97eaF3705F6FA761E6F405842944a5
private key: 0x9a93f0a71ce322940f161ae0c50cb70991dc6dd2ba3257ac292cc5e3edfc8272
mnemonic: dial equip wolf tone enemy donate meadow topic dog tilt top notable
```# Recover
To recover from some mnemonic (dial equip...):
```
yarn recover dial equip wolf tone enemy donate meadow topic dog tilt top notable
```It would give you the same output:
```
address: 0xE5766f072B97eaF3705F6FA761E6F405842944a5
private key: 0x9a93f0a71ce322940f161ae0c50cb70991dc6dd2ba3257ac292cc5e3edfc8272
mnemonic: dial equip wolf tone enemy donate meadow topic dog tilt top notable
```