Created
February 24, 2018 05:12
-
-
Save cryptobender69/909dcc8b8b60dc38254a490dd5fbd8f5 to your computer and use it in GitHub Desktop.
genesis_tx
This file contains 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
curl 'http://api.forknote.net:8090/genesis_tx/' -H 'Origin: http://forknote.net' \ | |
-H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.9,pt;q=0.8' \ | |
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36' \ | |
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept: application/json, text/plain, */*' \ | |
-H 'Referer: http://forknote.net/create/' -H 'Connection: keep-alive' \ | |
--data '{"MoneySupply":"100000000000000000","EmissionSpeedFactor":21,"DifficultyTarget":60,"GenesisBlockReward":"1000000000","AddressPrefix":322560377,"Addresses":["imzt1vK1qVFNP5N4hMrgs96Fz4zvP9gJ5MTh1YpKVVVtBc54Co2K12J1sczeHe6DDQBsBkmfN37rxAWssaf7LU7eVmQWvRboxG31H"]}' \ | |
--compressed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: https://monero.stackexchange.com/questions/2886/how-can-i-create-a-new-monero-genesis-block
Follow the above and change the unlock time bits to 3c is you unlock time is 60.
Go https://github.com/monero-project/monero/blob/master/src/cryptonote_config.h#L133 and screw around with the genesis tx and nonce. You probably also want to change other stuff (network id) to avoid contacting live Monero nodes.
I've helpfully decoded the genesis tx so you know/can guess what to change: