Wallet

The class for creating transaction.

class pybtc.Wallet(init_vector=None, passphrase='', language='english', word_list_dir=None, word_list=None)[source]

The class for creating wallet object.

Parameters:
  • init_vector – (optional) initialization vector should be mnemonic phrase, extended public key, extended private key, by default None (generate new wallet).
  • compressed – (optional) if set to True private key corresponding compressed public key, by default set to True. Recommended use only compressed public key.
  • testnet – (optional) if set to True mean that this private key for testnet Bitcoin network.