mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-13 12:33:15 +02:00
10 lines
345 B
Python
10 lines
345 B
Python
|
|
##PyBLOCK Vanity Generator##
|
||
|
|
|
||
|
|
from vanity_address.vanity_address import VanityAddressGenerator
|
||
|
|
from pprint import pprint
|
||
|
|
|
||
|
|
def callback(address):
|
||
|
|
return address.startswith(b'1X')
|
||
|
|
address = VanityAddressGenerator.generate_one(callback=callback)
|
||
|
|
print("Address:\t{address.address}\nPrivate key:\t{address.private_key}".format(address=address))
|