Module test_utils

Source
Expand description

Test utils for seismic node

Functionsยง

client_decrypt
Decrypt ciphertext using network public key and client private key
client_encrypt
Encrypt plaintext using network public key and client private key
get_ciphertext
Encrypt plaintext using network public key and client private key
get_encryption_nonce
Get the encryption nonce
get_encryption_private_key
Get the encryption private key
get_network_public_key
Get the network public key
get_nonce
Get the nonce from the client
get_plaintext
Get the plaintext for a seismic transaction
get_seismic_elements
Get the seismic elements
get_seismic_tx
Get a seismic transaction
get_signed_seismic_tx
Get a signed seismic transaction
get_signed_seismic_tx_bytes
Create a seismic transaction
get_signed_seismic_tx_encoding
Get the encoding of a signed seismic transaction
get_signed_seismic_tx_typed_data
Create a seismic transaction with typed data
get_signing_private_key
Get the signing private key
get_unsigned_seismic_tx_request
Get an unsigned seismic transaction request
get_unsigned_seismic_tx_typed_data
Get an unsigned seismic transaction typed data
get_wrong_private_key
Get a wrong private key
sign_seismic_tx
Sign a seismic transaction