Skip to main content

Module programs

Module programs 

Source
Expand description

Additional Solana program helpers: ATA, Memo, Stake, Durable Nonce.

Modules§

address_lookup_table
Address Lookup Table program helpers.
token_metadata
Metaplex Token Metadata program helpers.

Constants§

ATA_PROGRAM_ID
ATA Program ID: ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL.
CLOCK_SYSVAR
Clock sysvar.
MEMO_PROGRAM_ID
Memo Program ID (v2): MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr.
SPL_TOKEN_PROGRAM_ID
SPL Token Program ID.
STAKE_CONFIG_ID
Stake Config ID.
STAKE_HISTORY_SYSVAR
Stake History sysvar.
STAKE_PROGRAM_ID
Stake Program ID: Stake11111111111111111111111111111111111111.

Functions§

advance_nonce
Create an AdvanceNonceAccount instruction.
create_ata
Create an Associated Token Account instruction.
create_ata_idempotent
Create an ATA instruction with idempotency (CreateIdempotent).
derive_ata_address
Derive the Associated Token Account address.
initialize_nonce
Create a NonceInitialize instruction.
memo
Create a Memo instruction (v2 — supports signer verification).
memo_unsigned
Create a simple memo instruction with no required signers.
stake_deactivate
Create a Deactivate instruction.
stake_delegate
Create a DelegateStake instruction.
stake_withdraw
Create a Withdraw instruction.