In case I need to set up a local private ERGO chain

Hi, is there any way I can accomplish this? I managed to run a test node following the docs(https://docs.ergoplatform.com/dev/start/testnet/#securing-the-api) And then I tried to un-comment knownPeers to make it an empty array. I was trying to find a configuration option where I can somehow change the network Id or something. Your help will be much appreciated. Thank you! here's the last config option that I tried.
ergo {
networkType = "testnet"

node {
mining = true
offlineGeneration = true
useExternalMiner = false
}
}

scorex {
network {
localonly = true
bindAddress = "0.0.0.0:9020"
nodeName = "ergo-testnet-5"
knownPeers = []
}

restApi {
apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf"
}
}
ergo {
networkType = "testnet"

node {
mining = true
offlineGeneration = true
useExternalMiner = false
}
}

scorex {
network {
localonly = true
bindAddress = "0.0.0.0:9020"
nodeName = "ergo-testnet-5"
knownPeers = []
}

restApi {
apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf"
}
}
6 Replies
Glasgow
Glasgow4y ago
GitHub
ergo/application.conf at 670b2832422e62a7c84f1b274f76ff5656873a5d ·...
Ergo protocol description & reference client implementation - ergo/application.conf at 670b2832422e62a7c84f1b274f76ff5656873a5d · ergoplatform/ergo
Glasgow
Glasgow4y ago
Looks like that can't be changed, I know v3 is reserved for 5.0 JITC so probably breaks something
Nikita Andrejev
In short in ERGO there is no way to run local privatenet?
Glasgow
Glasgow4y ago
There is you just can't change the protocol #
Nikita Andrejev
I believe it's not primary to change network type\id, more important to have the ability to run own isolated network.
Glasgow
Glasgow4y ago
Yep and you can, if you search this server for offlineGeneration=true you'll see a few people using it https://discord.com/channels/668903786361651200/669989266478202917/992110029266235472

Did you find this page helpful?