Vanitygen for electronContinuing from the blakecoin thread ...
Ok, thanks kramble. Electron should be almost the same as blakecoin, except with using 92 as the address starting instead of 26 for BLC. The hashing part was untouched.
OK, it should just work using ./vanitygen -F compressed -X 92 pattern (using my hacked version at
https://github.com/kramble/FPGA-Blakecoin-Miner/tree/master/vanitygen) EDIT: No it won't work as is, since the blake checksum is only applied to -X 26. You'll need to change util.c (see the previous commit for the file), around line 129. EDIT2: Also vanitygen.c line 397 may need changing. So I've got three variants of the code to check, need to compile an electron wallet first (2 hour job on raspi, quicker on ubuntu, once I sort out a VM for it). EDIT3: That took longer than I expected. Yes, both changes are needed, I'll take this onto your thread now as it's OT here.
Give it a try (check if the electron wallet will import the private key, and that the resulting address is the same as the one generated). Also try sending some coin to the addresss, then import the private key (into an empty wallet) and try spending the coin.
Mogrith: Doing a paper wallet (like bitaddress.org) is beyond my skill set, but a competent web/javascript developer should be able to do it easily. It just needs a javascript version of blake256, 8 round variant (which is the slightly tricky bit) to do the custom checksum.
I've tested this using the electrond daemon on unbuntu 12.04 (
not tested sending any coin yet I have tasted my own dogfood and it's yummy
ELT to eKram and
eKram to eCoin)
You need to start with my hacked version of vanitygen from
https://github.com/kramble/FPGA-Blakecoin-Miner/tree/master/vanitygenYou will need to compile it yourself (works ok on raspi and ubuntu, not tested on windows), but first edit two files:
util.c line 129, change if (blake_flag == 26) to if (1)
vanitygen.c line 397, change if (addrtype == 26) to if (1)
make vanitygen (OK on ubuntu, but raspi needs the top line of Makefile editing to remove -march=native)
Now run it
./vanitygen -F compressed -X 92 eCoin
And annoyingly, it works fine on raspi but takes a while to get going on ubuntu. Perhaps because I ran it in a VM?
As a side issue, you need to make a couple of changes in your git repo to fix the daemon build
mkdir src/obj
chmod +x src/leveldb/build_detect_platform