Build your Ethereum private-network by step by step instructions
-
Create your Ethereum project folder.
-
Put your genesis.json file into this folder.
-
Create an empty folder it given "chaindata" name.
-
On the shell, go to your project folder and write this command: geth --datadir=./chaindata/ init ./genesis.json
-
Start your private-network with this commmand: geth --datadir=./chaindata --rpc --rpccorsdomain "http://localhost:8080"
-
And then start your Mist wallet: /Applications/Mist.app/Contents/MacOS/Mist --rpc /chaindata/geth.ipc
Example: /Applications/Mist.app/Contents/MacOS/Mist --rpc /Users/huseyingurkan/Documents/Projects/ethereum-private/chaindata/geth.ipc
- You can also attach to geth: geth attach ipc://chaindata/geth.ipc
Example: geth attach ipc:/Users/huseyingurkan/Documents/Projects/ethereum-private/chaindata/geth.ipc