Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Codama

Framework for building standardized Solana programs with IDL generation.

Crypto and web3 npm MIT

Used in agent projects
42
0.3% of 12,697 public repos built with AI coding agents
Rank in crypto and web3
#41 of 89
by use in those projects
Downloads
46K
npm, last 7 days, codama
GitHub stars
473
last push Oct 9, 2026

How Codama is used

Codama is a dependency in 42 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #41 of 89 in crypto and web3. The most used alternative there is Solana Web3.js. Projects that use it most often also use @codama/nodes-from-anchor (92.9%), @codama/renderers-js (90.5%), Prettier (78.6%).

Often used with Codama

@codama/nodes-from-anchor92.9% of Codama projects · 274.2× more than average
@codama/renderers-js90.5% of Codama projects · 280.2× more than average
Prettier78.6% of Codama projects · 4.5× more than average
Solana Kit73.8% of Codama projects · 42.2× more than average
ws52.4% of Codama projects · 23.2× more than average
TypeScript100.0% of Codama projects · 1.8× more than average
Sonner35.7% of Codama projects · 4.4× more than average
tsx35.7% of Codama projects · 3.6× more than average

Install

Packagenpm install codama
Main stacksNext.js (17), Rust (15), TypeScript / JavaScript (9), Python (1)
Example projectsHongThaiPham/solana-pinocchio-examples, quiknode-labs/arcium-election, dwallet-labs/encrypt-pre-alpha, AlexRubik/adrena-sdk-ts, sendaifun/fraction

Alternatives to Codama

All crypto and web3

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Solana Web3.js npm
Official JavaScript SDK for interacting with the Solana blockchain.
2,099 (16.5%) 2.6M 2,767 MIT
viem npm
TypeScript interface for Ethereum with type-safe interactions.
1,566 (12.3%) 6.5M 3,577 MIT
Solana SPL Token npm
JavaScript API for interacting with Solana's SPL Token program.
924 (7.3%) 1.2M 223 Apache-2.0
wagmi npm
React hooks library for Ethereum interactions and wallet connections.
650 (5.1%) 1M 6,759 MIT
ethers.js npm
Complete Ethereum library for building dapps, wallets and blockchain tools.
574 (4.5%) 3.6M 8,710 MIT
Solana Wallet Adapter npm
React hooks and UI for connecting Solana wallets to dapps with state management.
547 (4.3%) 1M 2,030 Apache-2.0
Anchor npm
Framework for developing Solana smart contracts with TypeScript and Rust.
438 (3.4%) 851K 5,142 (MIT OR Apache-2.0)
solders pypi
Python bindings for Solana Rust tools enabling efficient blockchain interaction.
423 (3.3%) 388K 449 —
Is Codama right for your project? Ask AgentGid →