generate_accts

command
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

Generate Ethereum Accounts

Create a folder locally to store the keystore

sudo mkdir -p /mnt/hive/keystore

Build the docker image

cd hardhat/generate_accts
docker build -t generate-accts-image .

Run the generate-accts docker image and remove the container after exiting

docker run -it --rm --name generate-accts-container -v /mnt/hive/keystore:/root/.ethereum/keystore generate-accts-image

Create seven new accounts

Use the same password for all accounts:

geth account new
geth account new
geth account new
geth account new
geth account new
geth account new
geth account new

Get the public and private key for each account

./extractkeys <password>

Update .env file in hardhat directory

Add the addresses and private keys

Keystore files are locally stored at /mnt/hive/keystore

ls /mnt/hive/keystore

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL