MetacoSA / NBitcoin.Litecoin

Litecoin extensions for NBitcoin
MIT License
21 stars 24 forks source link

SetGenesis #10

Open omarbaruzzo opened 5 years ago

omarbaruzzo commented 5 years ago

I created a new Crypto for an ICO that will be launched soon. I'm implementing the NBitcoin with the new crypto, Unfortunately I am stuck to SetGenesis, as I do not re-compute how to calculate the string SetGenesis ("??????"). Thank you

NicolasDorier commented 5 years ago

Sorry I can't help you, check what I did for other coins.

omarbaruzzo commented 5 years ago

My question is this: How this string is created from the Dash: "010000000000000000000000000000000000000000000000000000000000000000000000c762a6567f3cc092f0684bb62b7e00a84890b990f07cc71a6bb58d64b98e02e0022ddb52f0ff0f1ec23fb9010101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff6204ffff001d01044c59 57697265642030392f4a616e2f3230313420546865204772616e64204578706572696d656e7420476f6573204c6976653a204f76657273746f636b2e636f6d204973204e6f7720416363657074696e6720426974636f696e73 ffffffff0100f2052a010000004341040184710fa689ad5023690c80f3a49c8f13f8d45b8c857fbcbc8bc4a8e4d3eb4b10f4d4604fa08dce601aaf0f470216fe1b51850b4acf21b179c45070ac7b03a9ac00000000"

SetGenesis() Tnk's

NicolasDorier commented 5 years ago

no idea, I have not done it