Post
Topic
Board Announcements (Altcoins)
Re: [ANN][GRS] Groestlcoin | Upgrade to NEW Groestlcoin Core ASAP | Segwit activated
by
jackielove4u
on 25/05/2017, 14:09:40 UTC
I tried to generate an address with the Groestlcoin paper wallet generator, but the address it gave had a "checksum error". The rivate key also gives me a checksum error too.

Here is the address: Foi3FNkp6f2u1aVyBLpUuQjAtvXvLoQyDz

and the corresponding private key also gives me a checksum error: 5KDcgddMkhPsLFypd1giap5fziz43SazRupaTmLYWvVmcu5YS9g

by any chance did Groestlcoin change the base58 address encoding that bitcoin uses? Why would it give me this error?

Here is the python code I'm using:

>>> from base58 import b58decode_check
>>> b58decode_check("Foi3FNkp6f2u1aVyBLpUuQjAtvXvLoQyDz")
ValueError: Invalid checksum
>>> b58decode_check("5KDcgddMkhPsLFypd1giap5fziz43SazRupaTmLYWvVmcu5YS9g")
ValueError: Invalid checksum


This base58 library works fine for other BTC forked coins like LTC, PPC, Doge, etc...

Chris,

Did you create the Groestlcoin paperwallet generator online or offline (http://groestlcoin.org/forum/index.php?topic=314.0)?

Groestlcoin is not a normal Bitcoin fork, we groestlized all hashes (not only pow). So yes, base58 address encoding uses double groestl512 instead of double sha256. Our privkey starts with a "5" and multisig/segwit addresses starts with a "3" like bitcoin. But the beauty of it is: You cant send accidentally grs to btc address and vice versa. No more mistakes (like sending ltc to a btc multisig) because we changed base58. A grs address (public/priv/segwit/multisig) ONLY works on grs blockchain.

I c you are a python guy so have a look at this commit and you will understand: https://github.com/Groestlcoin/electrumx-grs/commit/b7345bf871f3c9c19674e8b1ec51d644053895cc

I verified your generated public and priv key and they are valid! Dont use it anymore tho since you shared the priv key with us.