Crypto Press

Latest Crypto Discussions and Mining

Video is ready, Click Here to View ×

When planning to write smart contracts you will realize that you are going to spend real ether if you are on the main ethereum network which will cost you real ethers. There is a way around that by creating a private network on various platforms :

Mac: ~/Library/Ethereum
Linux: ~/.ethereum
Windows: %APPDATA%Ethereum do all your development and testing on private-net. Once you think you are good with your smart code contract you can then deploy it to the main network.

13 thoughts on “How to create a private ethereum network

  1. When i run 'geth init genesis.json' command, i get error as – "Fatal: invalid genesis file: json: cannot unmarshal hex string of odd length into Go struct field Genesis.extraData of type hexutil.Bytes"
    Am I missing anything?? Please help me out. Thanks in advance!

  2. You have nicely explained the end to end workflow with enough detailing on each section. It will be very useful for anyone who explores things on Ethererum to learn how to configure and execute. Can I know whether you have published videos that explain how to implement private blockchain with real-time use cases on supply chain management or healthcare domains? If yes, please share the link. Or suggest me any useful tutorial videos available online.

  3. @Prabhat Sharma Hi Prabhat,
    I have some questions related to geth, ethereum explorer.
    I saw your videos on youtube, and thought of you as the perfect person for contacting you for resolving my issues.
    I would really appreciate if you could help me with my problems.
    If you're interested, please leave a reply on

Leave comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.