Skip to content

walterwhite81/gener8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gener8

Cryptocurrency key generation

Private key, Public key, WIF, Address generator for cryptocurrencies.

Cryptocurrencies use a 256-bit random key which is converted in a WIF (Wallet Interchange Format key), where there is a 256-bit private key and a 512-bit public key. It uses Elliptic Curve Ciphers (ECC) to sign for transactions.

Can be used for generating (amongst other uses): vAlertPubKey ScriptPubKey strSporkKey

Imgur Edit base58.py

replace the hex code, 0x38 in this case, with your secret key decimal from base58Prefixes SECRET_KEY (chainparams) return base58CheckEncode(0x38, key_hex.decode('hex'))

Replace the symbol, Z in this case, with your address decimal from base58Prefixes PUBKEY_ADDRESS (chainparams) return 'Z' * leadingZeros + base58encode(base256decode(result))

Install depencies:
sudo apt-get install python-setuptools
sudo easy_install pip
pip install ecdsa

Generate keys:
python gener8.py

Releases

No releases published

Packages

No packages published

Languages