Expand description
Hopper-owned address type for Solana programs.
Address is a 32-byte public key with #[repr(transparent)] layout
over [u8; 32]. This enables zero-cost reference casting from any
backend address type that shares the same representation.
Hopper owns the canonical type. Backend-specific conversions live in compatibility modules so the core identity remains framework-owned.
Structs§
- Address
- A Solana address (public key): 32 bytes, transparent layout.
Constants§
- ADDRESS_
BYTES - Number of bytes in an address.
- MAX_
SEEDS - Maximum number of seeds for PDA derivation.
- MAX_
SEED_ LEN - Maximum length of a single PDA seed.
- PDA_
MARKER - Marker appended to PDA hash inputs:
"ProgramDerivedAddress".
Functions§
- address_
eq - Fast address equality using 4 x u64 comparison.