go-ethereum/cicd/local/README.md
wanwiset25 44ac46f676 add local xdpos function
add readme

changes to support xdpos2 protocol from block 0
2025-01-01 22:06:09 -05:00

10 lines
615 B
Markdown

To set up local xdpos you need pass env NETWORK=local and inject 2 files when starting the container
1. genesis.json - deploy to path "/work/genesis.json" in the container.
- Creating genesis.json using puppeth
1. "make puppeth" from base repo directory
2. run the binary (genesis wizard) "./build/bin/puppeth"
3. the output genesis.json will be in your ~/.puppeth directory
2. bootnodes.list - deploy to path "/work/bootnodes.list" in the container.
- check example bootnode format in cicd/devnet or cicd/testnet
- REQUIRES newline at the end of the file, or the last line won't read