Deploy my own private blockchain using geth and deploy smart contracts on it
Here is my steps:
-
Install geth && create question7 folder to do that
-
Generate initial accounts
geth account new 0xd2d6e015ac930d125ae18ad92a607b93bbae5eff
-
Creating a single node private blockchain
initialize Geth using gensis.json
use following command to run a node
geth --allow-insecure-unlock --identity "sannie-node" --datadir . --keystore ~/Library/ethereum/keystore --networkid 4568 --http --http.addr '0.0.0.0' --http.corsdomain "*" --http.port 8502 --http.api 'personal,eth,net,web3,txpool,miner' --mine --miner.etherbase=0xD2D6E015aC930D125AE18aD92a607B93bbae5EfF