Skip to main content

Module system

Module system 

Source
Expand description

TEMPORARY: backend facade for System Program CPI builders.

This module keeps Hopper-owned instruction semantics while execution still flows through the active backend substrate. It will be replaced by Hopper-native builders once the system-instruction surface is fully owned.

Semantic CPI facades: the API is Hopper-owned (builder pattern over AccountView / Address / Signer), while execution is delegated to the active backend through Hopper’s checked CPI semantics.

Provides CreateAccount, Transfer, Assign, and Allocate builders.

Modules§

instructions
Compatibility re-exports.

Structs§

Allocate
Builder for the system program’s Allocate instruction.
Assign
Builder for the system program’s Assign instruction.
CreateAccount
Builder for the system program’s CreateAccount instruction.
Transfer
Builder for the system program’s Transfer instruction.

Constants§

SYSTEM_PROGRAM_ID
System program address: 11111111111111111111111111111111