- A VM, or bare-metal, with 2 cores, 4 GB RAM, 250 GB SSD, 100 Mbps Internet access with a Public IP Address
- Linux, preferably, Ubuntu LTS, Alma Linux, or Rocky Linux
- Docker
Clone the repository
git clone https://github.com/thai-blockchain/testnet.git
cd testnetCreate a password file,
pwgen -Byn 32 1 > password.txt
chmod 400 password.txtCreate a wallet with the password file,
docker run --rm -it -v $PWD:/srv/signer -w /srv/signer ethereum/client-go:stable --datadir /srv/signer/node --password password.txt account newInitialize the node with the genesis
docker run --rm -it -v $PWD:/srv/signer -w /srv/signer ethereum/client-go:stable --datadir /srv/signer/node init genesis.jsonEdit start-node.sh script, change --node, --unlock, and --miner.etherbase accordingly
Then, run
./start-node.sh