Created
May 17, 2025 18:57
-
-
Save kushti/8f0753c454cab46244dbaee3b4d842c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A config for the Development Network which is supposed to serve needs of protocol-breaking changes testing. | |
ergo { | |
networkType = "devnet" | |
node { | |
# mining = true | |
# offlineGeneration = true | |
useExternalMiner = false | |
} | |
chain { | |
# Network address prefix, currently reserved values are 0 (money chain mainnet) and 16 (money chain testnet) | |
addressPrefix = 16 | |
# A difficulty the network starts with | |
initialDifficultyHex = "01" | |
# Length of an epoch in difficulty recalculation. 1 means difficulty recalculation every block | |
epochLength = 16 | |
blockInterval = 30s | |
# Monetary config for chain | |
monetary { | |
# delay between the block mined and time when the reward can be spend | |
minerRewardDelay = 720 | |
} | |
voting { | |
# Length of a voting epoch. | |
votingLength = 8 | |
# Voting epochs to vote for soft-fork | |
softForkEpochs = 4 | |
# Voting epochs to activate a soft-fork after acceptance | |
activationEpochs = 4 | |
# Activation height for testnet protocol version 2 (client version 4.0.0 hard-fork) | |
version2ActivationHeight = 128 | |
version2ActivationDifficultyHex = "20" | |
} | |
# Base16 representation of genesis state roothash | |
genesisStateDigestHex = "cb63aa99a3060f341781d8662b58bf18b9ad258db4fe88d09f8f71cb668cad4502" | |
} | |
wallet.secretStorage.secretDir = ${ergo.directory}"/wallet/keystore" | |
voting { | |
120 = 1 | |
} | |
wallet { | |
optimalInputs = 100 | |
profile = "exchange" | |
} | |
} | |
scorex { | |
network { | |
magicBytes = [2, 2, 4, 4] | |
bindAddress = "0.0.0.0:9021" | |
nodeName = "ergo-devnet-2.1" | |
nodeName = ${?NODENAME} | |
knownPeers = [ | |
"213.239.193.208:9028" | |
] | |
} | |
restApi { | |
apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf" // hello | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment