Module create_accounts_proof

Module create_accounts_proof 

Source
Expand description

Helper for getting validity proofs for creating new rent free accounts. Programs must pass this to light accounts that they initialize.

Structs§

CreateAccountsProof
Proof data for instruction params when creating new compressed accounts. Used in the INIT flow - pass directly to instruction data. All accounts use the same address tree, so only one address_tree_info is needed.
CreateAccountsProofResult
Result of get_create_accounts_proof.

Enums§

CreateAccountsProofError
Error type for create accounts proof operations.
CreateAccountsProofInput
Input for creating new accounts. program_id from main fn is used as default owner for Pda variant.

Functions§

get_create_accounts_proof
Gets validity proof for creating new cold accounts (INIT flow).