helium_py.crypto.address.Address¶
- class helium_py.crypto.address.Address(version: int, net_type: int, key_type: int, public_key: bytes)[source]¶
Bases:
object
Address class for cryptography.
- __init__(version: int, net_type: int, key_type: int, public_key: bytes)[source]¶
Instantiate an address class.
Methods
__init__
(version, net_type, key_type, public_key)Instantiate an address class.
from_b58
(b58)Return Address instance created from provided b58.
from_bin
([value])Return Address instance created from provided binary.
Attributes
DEFAULT_VERSION
Return b58 representation of address.
Return binary representation of address.
version
net_type
key_type
public_key
- property b58: bytes¶
Return b58 representation of address.
- property bin: bytes¶
Return binary representation of address.