Post
Topic
Board Development & Technical Discussion
Re: Windows or Linux for Wallet Software?
by
python_fan89
on 19/05/2017, 21:24:06 UTC
Here's a small snippet in Python, which creates you Private key, Public key and address. Especially for those, who don't believe anyone, cause using this code, literally only you can know your private key Smiley

1. install Linux
2. Use pip to install pybitcoin tools - https://github.com/vbuterin/pybitcointools (written by Vitalik Buterin BTW!)
3. Generate all the stuff:

>>> from bitcoin import *
>>> private_key = "28da5896199b85a7d49b0736597dd8c0d0c0293f130bf3e3e1d102e0041b1293"
>>> public_key = privtopub(private_key)
>>> public_key
'0497e922cac2c9065a0cac998c0735d9995ff42fb6641d29300e8c0071277eb5b4e770fcc086f32 2339bdefef4d5b51a23d88755969d28e965dacaaa5d0d2a0e09'
>>> address = pubtoaddr(public_key)
>>> address
'1LwPhYQi4BRBuuyWSGVeb6kPrTqpSVmoYz'

That's it Smiley