Lineagei
Frameworki
What's Anchor?
Batteries-included Rust framework. Ships account-validation codegen, 8-byte instruction discriminators, and an on-chain IDL — the program describes itself.
Bigger binary and higher rent in exchange for safety rails, introspection, and dev speed. The choice of a team optimizing for correctness over on-chain footprint.
Originally Coral (Armani Ferrante); now community-maintained.
What it is
The de facto standard. Rust macros (#[program], #[derive(Accounts)]) eliminate boilerplate: it auto-generates 8-byte account and instruction discriminators — SHA256("account:<Name>")[..8] and SHA256("global:<ix>")[..8] — handles Borsh (de)serialization, enforces account constraints declaratively (mut, has_one, seeds, init), and emits a JSON IDL that client libraries consume directly. The cost: Borsh copies data on every deserialize (not zero-copy), and the macro machinery adds binary bloat and compute overhead — irrelevant for ~99% of programs.
When to pick it
Building a new protocol, moving fast, or wanting maximum ecosystem compatibility. It's the beginner default and stays the right call for most production programs.
How it looks on-chain
The most recognizable framework. Every account it owns begins with an 8-byte discriminator, and the IDL is often published on-chain at a PDA derived from the program id. Both are strong, reliable fingerprints — this is the only framework we can label with confidence.
Others in the wild: Steel (Ore team — near-native performance on solana-program), Seahorse (Python → Anchor), and Poseidon & Quasar (TypeScript → Rust). Transpilers inherit their lowering target's fingerprint: a Quasar or Poseidon program that compiles down to Anchor will look like Anchor on-chain — discriminators and all.
Anchor docsFootprinti
Recovered architecturei
Reachi
Controli
What's upgrade authority?
The upgrade authority is the account allowed to replace a program's code after it's deployed.
If it's set (mutable), that key can push new bytecode at any time — including malicious code, the classic "rug" vector. If it's null (immutable / frozen), the code can never change; what 's on-chain is final. A Squads multisig sits in between — upgrades are possible but need M-of-N signers, not one hot wallet. So mutable + single hot-wallet = highest risk; immutable or multisig = stronger guarantees.
What's a verified build?
A verified build proves the program running on-chain was compiled from the public source you can read — nothing hidden.
Someone re-compiles the source in a deterministic (Docker) environment and checks the resulting bytecode is byte-for-byte identical to what's deployed; tools like solana-verify do this and record it with a verification service. "Not verified" isn't a red flag by itself — most programs simply never submit one. It just means you're trusting the deployed bytecode as-is, with no source cross-check.
Convictioni
Interface — the on-chain IDLi
2 of 6 instructions used · 4 never called in this window
Meridian x402 payment facilitator for Solana
Instructions 6
initialize
One-time setup of the global config PDA.
- authoritysignerwritable
- configwritable
- usdc_mint
- system_program
- backend_signerpubkey
- treasurypubkey
- treasury_fee_bpsu16
set_backend_signer
Update the backend signer allowed to submit settlements. Authority only.
- authoritysigner
- configwritable
- new_backend_signerpubkey
set_paused
Pause/unpause the payment entrypoint. Authority only.
- authoritysigner
- configwritable
- pausedbool
set_treasury
Update the treasury wallet. Authority only.
- authoritysigner
- configwritable
- new_treasurypubkey
set_treasury_fee_bps
Update the treasury fee (in basis points). Authority only.
- authoritysigner
- configwritable
- new_treasury_fee_bpsu16
transfer_with_authorization
Settle an x402 payment: split `value` from the payer's USDC account into platform fee, treasury fee and the recipient's net amount. Mirrors the EVM `transferWithAuthorization` semantics: - `valid_after` / `valid_before` bound the settlement window - `nonce` identifies the x402 payment in the event; replay protection is transaction-level (see module docs), not a burned on-chain nonce - platform fee is taken from gross, treasury fee from the remainder - treasury fee is skipped when the platform is the treasury itself
- payersignerwritable
- fromsigner
- config
- usdc_mint
- from_tokenwritable
- recipient_tokenwritable
- platform_tokenwritableoptional
- treasury_tokenwritable
- token_program
- valueu64
- valid_afteri64
- valid_beforei64
- nonce[u8; 32]
- platform_fee_bpsu16
Accounts 1
Config
no fields
Types 2
Configstruct
- authoritypubkey
- backend_signerpubkey
- treasurypubkey
- usdc_mintpubkey
- treasury_fee_bpsu16
- pausedbool
- bumpu8
InstantSettlementstruct
- frompubkey
- recipientpubkey
- platformOption<pubkey>
- nonce[u8; 32]
- gross_amountu64
- platform_feeu64
- treasury_feeu64
- net_amountu64
Events 1
InstantSettlement
no fields
Errors 8
- 6000Pausedprogram is paused
- 6001Unauthorizedcaller is not the config authority
- 6002FeeTooHighfee exceeds MAX_FEE_BPS
- 6003InvalidValuevalue must be greater than zero after fees
- 6004AuthorizationNotYetValidauthorization is not yet valid
- 6005AuthorizationExpiredauthorization has expired
- 6006InvalidMintmint does not match configured USDC mint
- 6007InvalidTreasuryAccounttreasury token account is not owned by the treasury
What's an IDL?
An IDL — Interface Description Language — is a JSON spec that describes how to talk to a program: its instructions, the accounts each one needs, argument and account types, events, and errors.
Anchor auto-generates it at build time. A program can publish it on-chain at a PDA derived from its id, so any client or explorer can decode the program's transactions without its source code.
Why it's often missing
Publishing is opt-in — a courtesy, not a requirement. Many programs never do, and non-Anchor frameworks (Pinocchio, native, Steel) don't produce one at all; their interface lives in an off-chain Shank/Codama artifact, or nowhere public. Absence means you can't auto-decode it — not that anything is wrong.
2 of 6 instructions used · 4 never called in this window
Tractioni
The recordi
| Event | When | Detail | Receipt |
|---|---|---|---|
| DEPLOY | 4d ago | slot 431,810,652 | back…0652 |