I developed a private testnet called 'Dummynet' to explore potentials for blockchain by setting up the custom out-of-the-box blockchain using the Proof of Authority algorithm, and send a test transaction on MyCrypto application.
See the following instructions on how to utilize these blocakchain tools.
> Set up your node accounts and custom testnest
- Innitiate with creating two nodes accounts for your network.
- Using puppeth to build your new genesis block, name the network (in this case is 'Dummynet'), and choose 'Proof of Authority' as your consensus engine.
- Included both Nodes addresses as your sealed accounts. Only included Node 1's address as your pre-funded account.
- Specify your chain/network ID then configured new genesis block to generate 'dummynet.json' as shown below.
My Puppeth Configuration
> Initialize your node accounts
- With geth command, run Node 1 to unlock the account and begin mining process by running this command line
./geth --datadir node1 --unlock "SEALER_ONE_ADDRESS" --mine --miner.threads 1 - Open the second tab for Node 2 to unlock the account, using this command line
./geth --datadir node2 --unlock "SEALER_TWO_ADDRESS" --port 30304 --rpc --bootnodes "enode://SEALER_ONE_ENODE_ADDRESS@127.0.0.1:30303" --allow-insecure-unlock - You should be able to see both nodes running at the same time.
> Add your network to MyCrpto app
- Login to your account on MyCrypto app to set up your custom network and connect the nodes with the exposed RPC port.
- After that send a transaction from the node1 account to the node2 account including the chain ID, and use ETH as the currency
- Wait until TX status shows as 'Successful' and you're done!
Transaction Metadata