Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hairyf avatar

Anchor

  • 4 installs
  • 4 repo stars
  • Updated February 25, 2026
  • hairyf/blockchain-master

Build Solana programs with the Anchor framework: program structure, PDAs, CPI, IDL, custom errors, events, zero-copy, and account constraints.

About

A concise Anchor reference covering macros, accounts, PDAs, cross-program invocation, IDL, and the Anchor CLI. A developer uses it when writing or tooling Solana programs with Anchor v0.32.

  • Program structure via declare_id, #[program], #[derive(Accounts)], and Context
  • PDA seeds/bump, CPI signer patterns, zero-copy AccountLoader, and account constraints

Anchor by the numbers

  • 4 all-time installs (skills.sh)
  • Ranked #347 of 479 Web3 & Blockchain skills by installs in the Skillselion catalog
  • Data as of Jul 13, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hairyf/blockchain-master --skill anchor

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4
repo stars4
Last updatedFebruary 25, 2026
Repositoryhairyf/blockchain-master

What it does

Build Solana programs with the Anchor framework: program structure, PDAs, CPI, IDL, custom errors, events, zero-copy, and account constraints.

Files

SKILL.mdMarkdownGitHub ↗
Skill is based on Anchor v0.32.1, generated 2026-02-09.

Concise reference for building Solana programs with Anchor: macros, accounts, PDAs, CPI, IDL, custom errors, events, zero-copy, constraints, account types, and CLI.

Core References

TopicDescriptionReference
Program Structuredeclare_id, #[program], #[derive(Accounts)], #[account], Contextcore-program-structure
PDAseeds, bump, init, IDL/client resolution, PDA signercore-pda
CPICpiContext, transfer, PDA signer, invoke/invoke_signedcore-cpi
IDLInstructions, accounts, discriminators, client usagecore-idl

Features

TopicDescriptionReference
Custom Errorserror_code, err!, require! macros, client handlingfeatures-errors
Eventsemit!, emit_cpi!, #[event], addEventListener, event-cpifeatures-events
Zero-CopyAccountLoader, #[account(zero_copy)], load/load_mut/load_initfeatures-zero-copy

References

TopicDescriptionReference
Account Constraintssigner, mut, init, seeds/bump, has_one, address, ownerreferences-account-constraints
Account TypesAccount, Signer, Program, AccountLoader, Interface typesreferences-account-types
CLIbuild, deploy, test, idl, keys, account, expand, upgrade, verifyreferences-cli

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.