Crate miden_client_tools

Crate miden_client_tools 

Source

Functionsยง

create_basic_account
Creates a basic account with a random key and adds it to the client.
create_basic_faucet
Creates a basic faucet account with a fungible asset.
create_exact_p2id_note
Creates a public-to-ID (p2id) note for a specified sender and target account.
create_library
Creates a Miden library from the provided account code and library path.
create_public_note
Creates a public note in the blockchain.
create_tx_script
Creates a transaction script based on the provided code and optional library.
delete_keystore_and_store
Deletes the keystore and store files.
generate_advice_stack_from_signature
Generates an advice stack from a signature using two polynomials h and s2.
instantiate_client
Helper to instantiate a Client for interacting with Miden.
mint_from_faucet_for_account
Mints tokens from a faucet to an account.
setup_accounts_and_faucets
Sets up a specified number of accounts and faucets, and mints tokens for each account.
wait_for_note
Waits for the exact note to be available and committed.