Created
October 14, 2022 11:38
-
-
Save Blazing-Mike/32beabb50ff17668501ea398b08c4dfe to your computer and use it in GitHub Desktop.
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 bitcoinlib.wallets import Wallet | |
from bitcoinlib.mnemonic import * | |
passphrase = Mnemonic().generate() | |
print(passphrase) | |
w = Wallet.create("MyFirstWallet", witness_type='segwit', keys=passphrase, network='bitcoin') | |
WalletKeys = (w.get_keys(number_of_keys=10)) | |
for k in WalletKeys: | |
print(k.address) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment