Private Ethereum network

Create the genesis block configuration

puppeth

Initialize the genesis block

geth --datadir  /Users/gg/ethereum init akshi.json

Create new accounts

geth --datadir  /Users/gg/ethereum account new

List accounts

geth --datadir  /Users/gg/ethereum account list

Start the node

geth --networkid "9999" --mine --minerthreads "1" --datadir "/Users/gg/ethereum" --nodiscover --rpc --rpcport "8545" --port "30303" --rpccorsdomain "*" --nat "any" --rpcapi "eth,web3,personal,net" --unlock "0" --password "/Users/gg/ethereum/password.sec" --ipcpath "/Users/gg/Library/Ethereum/geth.ipc"

Leave a Reply

Your email address will not be published. Required fields are marked *