Created
January 20, 2016 19:38
-
-
Save badmofo/9eed0ecf5c3b6d10bb27 to your computer and use it in GitHub Desktop.
Bitcoin Keypair Generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import bitcoin | |
privkey = bitcoin.encode_privkey(bitcoin.random_key(), 'wif_compressed') | |
pubkey = bitcoin.privtopub(privkey) | |
print('Private Key: ', privkey) | |
print('Public Key: ', pubkey) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been looking for this for 5 months [DUH]
2020-07-29 7:57:50.60 GMT +7