I'm trying to generate a Clique POA genesis file that specifies the original sealers using automation. However, puppeth only supports user input at the moment. There's no support for command line options such as.

puppeth genesis --protocol clique --chainId 123 --period 2 --sealers 0x123...,0x234...,0x345...  --alloc 0x123...,0x234...,0x345...

Are there any alternative tools for generating the extraData value that's needed in the genesis.conf?

  • Oops, I just realized that the extraData is easily generated by adding 0x0 + 64 zeros + sealers addresses in sorted order + 128 zeros. – Daniel Sarosi Nov 7 '18 at 6:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.