z-classic / zclassic

Zclassic is financial freedom. ZK-SNARKs, and no founder's fee.
https://www.reddit.com/r/Zclassic/
Other
189 stars 81 forks source link

How exactly was the genesis block created? #40

Closed johnrrush closed 7 years ago

johnrrush commented 7 years ago

This is a question rather than an issue but I can't seem to find a clear answer anywhere.

Before buying into the coin I'd like to understand exactly how the genesis block was created, I'm hoping the dev who did it has time to answer :) What exact steps were taken?

I understand the same parameters were used for Zclassic as Zcash's ceremony, but what specifically does that mean? (code references greatly appreciated)

Thanks!

jmprcx commented 7 years ago

Hello I'm the dev that mined the Genesis block.. I'm not sure what exactly you are asking but here's an example of the parameters that needed to be changed for the testnet genesis block.

https://github.com/z-classic/zclassic/commit/9ab02577ce503317e6bdb560b1d6f9146b2fe872

RhettCreighton commented 7 years ago

People often confused the "Genesis Block" with the Trusted Parameters required for ZK-SNARKs.

Z-cash had a trusted setup ceremony. Peter Todd goes into his part here: https://petertodd.org/2016/cypherpunk-desert-bus-zcash-trusted-setup-ceremony

Zclassic uses, bit-for-bit, exactly the same Trusted Parameters as Zcash, which is also the same thing Peter Todd suggests: https://www.reddit.com/r/ZClassic/comments/5bbpmr/we_should_invite_petertodd_to_our_trusted_setup/

You can see the file here is unchanged: https://github.com/z-classic/zclassic/blob/master/zcutil/fetch-params.sh

thghdbs commented 6 years ago

How was the Genesis block mined...where did the Nonce and Nsolution values come from?