Expand description
Address representation for Solana.
An address is a sequence of 32 bytes, often shown as a base58 encoded string (e.g. 14grJpemFaf88c8tiVb77W7TYg2W3ir6pfkKz3YjhhZ5).
Modules§
Macros§
- address
decode - Convenience macro to define a static
Addressvalue. - declare_
deprecated_ id decode - Same as
declare_idexcept that it reports that this ID has been deprecated. - declare_
id decode - Convenience macro to declare a static address and functions to interact with it.
Structs§
- Address
- The address of a Solana account.
- Address
Hasher randand neithertarget_os=solananortarget_arch=bpf - A faster, but less collision resistant hasher for addresses.
- Address
Hasher Builder randand neithertarget_os=solananortarget_arch=bpf - A builder for faster, but less collision resistant hasher for addresses.
Constants§
- ADDRESS_
BYTES - Number of bytes in an address.
- MAX_
SEEDS - Maximum number of seeds
- MAX_
SEED_ LEN - maximum length of derived
Addressseed - PDA_
MARKER Non- target_arch=bpf - Marker used to find program derived addresses (PDAs).
Functions§
- address_
eq - Custom implementation of equality for
Address. - bytes_
are_ curve_ point target_os=solanaortarget_arch=bpforcurve25519