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
- Convenience macro to define a static
Addressvalue. - declare_
deprecated_ id - Same as
declare_idexcept that it reports that this ID has been deprecated. - declare_
id - Convenience macro to declare a static address and functions to interact with it.
Structs§
- Address
- The address of a Solana account.
- Address
Hasher - A faster, but less collision resistant hasher for addresses.
- Address
Hasher Builder - 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 - Marker used to find program derived addresses (PDAs).
Functions§
- address_
eq - Custom implementation of equality for
Address. - bytes_
are_ curve_ point