Skip to content

NemFacade

NemAccount ⚓︎

Bases: NemPublicAccount

NemAccount

NEM account.

__init__(facade, key_pair) ⚓︎

NemAccount.__init__

Creates a NEM account.

message_encoder() ⚓︎

NemAccount.message_encoder

Creates a message encoder that can be used for encrypting and encoding messages between two parties.

sign_transaction(transaction) ⚓︎

NemAccount.sign_transaction

Signs a NEM transaction.

NemFacade ⚓︎

NemFacade

Facade used to interact with NEM blockchain.

__init__(network, account_descriptor_repository=None) ⚓︎

NemFacade.__init__

Creates a NEM facade.

bip32_node_to_key_pair(bip32_node) staticmethod ⚓︎

NemFacade.bip32_node_to_key_pair

Derives a NEM KeyPair from a BIP32 node.

bip32_path(account_id) ⚓︎

NemFacade.bip32_path

Creates a network compatible BIP32 path for the specified account.

create_account(private_key) ⚓︎

NemFacade.create_account

Creates a NEM account from a private key.

create_public_account(public_key) ⚓︎

NemFacade.create_public_account

Creates a NEM public account from a public key.

extract_signing_payload(transaction) staticmethod ⚓︎

NemFacade.extract_signing_payload

Gets the payload to sign given a NEM transaction.

hash_transaction(transaction) staticmethod ⚓︎

NemFacade.hash_transaction

Hashes a NEM transaction.

now() ⚓︎

NemFacade.now

Creates a network timestamp representing the current time.

sign_transaction(key_pair, transaction) ⚓︎

NemFacade.sign_transaction

Signs a NEM transaction.

verify_transaction(transaction, signature) ⚓︎

NemFacade.verify_transaction

Verifies a NEM transaction.

NemPublicAccount ⚓︎

NemPublicAccount

NEM public account.

__init__(facade, public_key) ⚓︎

NemPublicAccount.__init__

Creates a NEM public account.