solana-development
Installation
SKILL.md
Solana Development
Comprehensive skill for building on-chain programs and client applications on Solana.
Core Concepts
Account Model
Solana uses an account-based model where all state is stored in accounts:
- Programs are stateless, executable accounts (marked
executable: true) - Data accounts store state; every data account has an owner program
- Only the owner program can modify an account's data or debit its lamports
- Accounts must be rent-exempt (hold ≥ 2 years rent in lamports) or be garbage-collected
Key account fields: pubkey, lamports, data, owner, executable, rent_epoch.