- Simply clone the repository
git clone https://github.com/deltaDAO/wallet-generator.git
- Install the package to your machine
cd wallet-generator && npm install && npm i -g
- And start the generator
wallet-generator --help
- Creating a new wallet is possible using the following command:
wallet-generator create --password 'mypassword'
Make sure to specify your own password that will be used to encrypt your wallet.
The created wallet will be available in the wallets
directory.
Optionally you can provide a filename that will be used for the created JSON file:
wallet-generator create --name 'myWalletName' --password 'mypassword'
It is also possible to create a wallet and export the encrypted JSON from a given privateKey
if desired:
wallet-generator create --privateKey 'abcd123'... --password 'mypassword'
Available Arguments (create)
Argument | Shortform | Required | Description |
---|---|---|---|
--password |
-pw |
x | Set the password to use for encryption. |
--privateKey |
-pk |
Create a wallet from a given private key. | |
--name |
-n |
Name your new wallet. This will be the filename. |