Crate solana_pubkey

Source
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§

ParsePubkeyError
PubkeyError

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_pointtarget_os="solana" or curve25519
new_randrand and non-target_os="solana"
New random Pubkey for tests and benchmarks.