Expand description
Hopper-native System Program CPI builders.
The API is Hopper-owned (builder pattern over AccountView / Address /
Signer) and execution flows through Hopper’s checked native CPI semantics.
Provides the full System program surface: CreateAccount, Transfer,
Assign, Allocate, the *WithSeed variants, and the durable-nonce
family, plus a typed NonceState reader.
Modules§
- instructions
- Legacy module-path re-exports.
Structs§
- Advance
Nonce Account - Builder for
AdvanceNonceAccount. - Allocate
- Builder for the system program’s Allocate instruction.
- Allocate
With Seed - Builder for
AllocateWithSeed. - Assign
- Builder for the system program’s Assign instruction.
- Assign
With Seed - Builder for
AssignWithSeed. - Authorize
Nonce Account - Builder for
AuthorizeNonceAccount. - Create
Account - Builder for the system program’s CreateAccount instruction.
- Create
Account Allow Prefund - Builder for the system program’s
CreateAccountAllowPrefundinstruction (tag 13). - Create
Account With Seed - Builder for
CreateAccountWithSeed. - Initialize
Nonce Account - Builder for
InitializeNonceAccount. - Nonce
State - Typed, zero-copy view over an initialized durable-nonce account.
- Transfer
- Builder for the system program’s Transfer instruction.
- Transfer
With Seed - Builder for
TransferWithSeed. - Upgrade
Nonce Account - Builder for
UpgradeNonceAccount. - Withdraw
Nonce Account - Builder for
WithdrawNonceAccount.
Constants§
- MAX_
SEED_ LEN - Maximum byte length of a System-program seed string (Solana
MAX_SEED_LEN).*WithSeedbuilders reject longer seeds. - NONCE_
ACCOUNT_ LEN - Minimum byte length of an initialized durable-nonce account.
- NONCE_
STATE_ INITIALIZED - Nonce state tag for the initialized form.
- NONCE_
VERSION_ CURRENT - Nonce account version tag for the current format.
- RECENT_
BLOCKHASHES_ ID - Recent blockhashes sysvar address (
SysvarRecentB1ockHashes...), required by the nonce instructions. - RENT_
SYSVAR_ ID - Rent sysvar address, required by some nonce instructions.
- SYSTEM_
PROGRAM_ ID - System program address: 11111111111111111111111111111111