- Advanced Blockchain Development
- Imran Bashir Narayan Prusty
- 76字
- 2021-06-24 14:04:44
Creating a private network
To create a private network, you just need to give a random network ID. Private networks are usually created for development purposes. Geth also provide various flags related to logging and debugging, which are useful during development. So, instead of giving a random network ID and putting the various logging and debugging flags, we can simply use the --dev flag, which runs a private network with various debugging and logging flags enabled.