I'm performing a Monero (XMR) fork, but I'm not sure how to generate a genesis block. Could you help me? Investigate a little and talk about a print parameter in the deamon, but that parameter no longer exists. I am using version 0.11 of monero. Many thanks to all beforehand. Great greeting!! PS: I have been told that this topic may be duplicated with another. I need a step-by-step tutorial on how to create a new geneisis block or how to create a private blockchain, which I believe should be the same steps.
1 Answers
After you change the GENESIS_TX of "cryptonote_config.h", input following commands in your terminal:
Creat node1:
./monerod --testnet --no-igd --hide-my-port --testnet-data-dir ~/test/node1 --p2p-bind-ip 127.0.0.1 --add-exclusive-node 127.0.0.1:38080 --add-exclusive-node 127.0.0.1:48080
Creat node2:
./monerod --testnet --testnet-p2p-bind-port 38080 --testnet-rpc-bind-port 38081 --no-igd --hide-my-port --testnet-data-dir ~/test/node2 --p2p-bind-ip 127.0.0.1 --add-exclusive-node 127.0.0.1:28080 --add-exclusive-node 127.0.0.1:48080
Creat node3:
./monerod --testnet --testnet-p2p-bind-port 48080 --testnet-rpc-bind-port 48081 --no-igd --hide-my-port --testnet-data-dir ~/test/node3 --p2p-bind-ip 127.0.0.1 --add-exclusive-node 127.0.0.1:28080 --add-exclusive-node 127.0.0.1:38080
Creat wallet1:
./monero-wallet-cli --testnet --trusted-daemon --generate-new-wallet ~/test/test1
Creat wallet2:
./monero-wallet-cli --testnet --daemon-port 38081 --trusted-daemon --generate-new-wallet ~/test/test2
Creat wallet3:
./monero-wallet-cli --testnet --daemon-port 48081 --trusted-daemon --generate-new-wallet ~/test/test3
- 444
- 2
- 8