Skip to content
package

neo3.wallet

Wallet & account base classes. Utilities to validate and convert from/to addresses.

module

neo3.wallet.account

Classes to work with account key material.

Classes
  • Account Container class for handling key material. Can be used to sign transactions.
  • AccountContract Generic contract.
  • MultiSigContext Signing context for use with multi signature accounts.
module

neo3.wallet.utils

NEO address utilities.

Functions
  • address_to_script_hash(address) (UInt160) Convert the specified address to a script hash.
  • is_valid_address(address) (bool) Test if the provided address is a valid address.
  • public_key_to_script_hash(public_key) (UInt160) Convert the specified public key to a script hash.
  • script_hash_to_address(script_hash, address_version) (str) Convert the specified script hash to an address.
  • validate_address(address, address_version) Validate a given address. If address is not valid an exception will be raised.
module

neo3.wallet.wallet

Containers following the NEP-6 wallet standard.

Classes
  • DiskWallet Specialised wallet for persisting to media.
  • Wallet Base container.