Expand description
On-chain token metadata program for the Arch runtime.
This crate provides:
- deterministic PDA helpers for metadata and attribute accounts
- instruction and processor logic for create/update/finalize flows
- state definitions for metadata payloads stored on chain
Package details:
- Cargo package:
apl-token-metadata - Library crate:
apl_token_metadata - Program ID and PDA helpers live in this file
- Instruction, state, and processor logic live in sibling modules
Modules§
- error
- Error types
- instruction
- Instruction types
- processor
- Program state processor
- state
- State types and serialization sizes
Constants§
- ATTRIBUTES_
SEED - PDA seed for attributes account
- ID
- The const program ID.
- METADATA_
SEED - PDA seed for metadata account
Functions§
- check_
id - Returns
trueif given pubkey is the program ID. - check_
program_ account - Checks that the supplied program ID is the correct one for Arch Token Metadata
- find_
attributes_ pda_ with_ program - Helper to derive the
TokenMetadataAttributesPDA for a given mint - find_
metadata_ pda_ with_ program - Helper to derive the
TokenMetadataPDA for a given mint - id
- Returns the program ID.