vanitygen icon indicating copy to clipboard operation
vanitygen copied to clipboard

Arkstone wrong private key

Open piotr-sikora-v opened this issue 11 years ago • 2 comments

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 ?

piotr-sikora-v avatar May 26 '14 03:05 piotr-sikora-v

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 ?

piotr-sikora-v avatar May 26 '14 09:05 piotr-sikora-v

Might help #63 Also I need to add this coin to my repo. Let me know if you find a solution.

exploitagency avatar Feb 02 '17 03:02 exploitagency