vanitygen
vanitygen copied to clipboard
Arkstone wrong private key
I just tried to generate Arkstone (ARS) address witch vanitygen.
# ./vanitygen -X 23 A
Difficulty: 1
Pattern: A
Address: ARQUSUpDeEAuhMaMoJEYsUYcsukZUB4Uzp
Privkey: 65eW1eWAoehzHfa3hE83cSATkzpQ98Q9A79DUv4jAN6g4bwzSTn
when I try import this key, arkstoned give me error "incorect private key" but validateaddress return "true"
When I dump privatekey from arkstoned all privatekeys start witch "E" not "6"
arkstone chainparams:
base58Prefixes[PUBKEY_ADDRESS] = 23;
base58Prefixes[SCRIPT_ADDRESS] = 83;
base58Prefixes[SECRET_KEY] = 88;
maybe we need add params to set privatekey prefix ?
OK... I found the problem.... when I set (in vanilla.c):
privtype = 128 + addrtype;
to
privtype = 88;
now is generate private key.
There is some option to convert wrong generated privatekey to good one ? or I just lost all my coins ?
Might help #63 Also I need to add this coin to my repo. Let me know if you find a solution.