Expand description
Solana account addresses.
Macros§
- declare_
deprecated_ id - Same as
declare_id
except that it reports that this ID has been deprecated. - declare_
id - Convenience macro to declare a static public key and functions to interact with it.
- pubkey
- Convenience macro to define a static public key.
Structs§
- Pubkey
- The address of a Solana account.
Enums§
Constants§
- MAX_
SEEDS - Maximum number of seeds
- MAX_
SEED_ LEN - maximum length of derived
Pubkey
seed - PUBKEY_
BYTES - Number of bytes in a pubkey
Functions§
- bytes_
are_ curve_ point target_os="solana"
orcurve25519
- new_
rand rand
and non-target_os="solana"
- New random Pubkey for tests and benchmarks.