Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

bitcoin wallet python

#pip install bitcoin
from bitcoin import *
#Generate new private key
PrivateKey = random_key()
#Generate new public key from private key
PublicKey = privtopub(PrivateKey)
#Create new address from public key
addr = pubtoaddr(PublicKey)

print("My Public Address: " + addr)
print("My Private Address: " + PrivateKey)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #bitcoin #wallet #python
ADD COMMENT
Topic
Name
3+3 =