August 2018
Intermediate to advanced
90 pages
1h 57m
English
A multisignature address is an address that is associated with more than one private key; therefore, we need to create three private keys.
Go through the following steps to create a multisignature bitcoin address:
#!/usr/bin/env python'''Title - Create multi-signature addressThis program demonstrates the creation ofMulti-signature bitcoin address.'''# import bitcoinfrom bitcoin import *# Create Private Keysmy_private_key1 = random_key()my_private_key2 = random_key()my_private_key3 = random_key()print("Private Key1: %s" % my_private_key1)print("Private Key2: %s" % my_private_key2)print("Private Key3: %s" % my_private_key3)print('\n')
Read now
Unlock full access