How to Create Your Own Private Blockchain (PoA, Clique) in Linux Using Geth 1.11.5, 2023 Version
As mention in the previous on creating a private blockchain on PoW , this post will be on how to create a PoA (combination of PoW and PoS) blockchain effortlessly. Create 2 folders. You will need at least 2 signers to make PoA algorithm work. mkdir node1 node2 Create 2 accounts. If you want to access the private key of your newly created account, you can get the json file from the keystore folder and import into Metamask. geth --datadir node1 account new geth --datadir node2 account new Copy down the address and paste it into your genesis.json. Maintain only 1 copy of the genesis.json as both nodes need to run from the same initial genesis configuration or they will not be able to sync. Create your own password.txt with the password inside for account unlocking. Assuming your address is 0x9B02C47e6eecF989598c33F82686925Ed4EE6d85 and 0x98aB1d0ee9CaBF5d55a3a2804F083187c42c508c, your genesis file should look like this: {"config":{"chainId":141319,"homesteadBlock...