TweetNaCl.js
JavaScript implementation of NaCl cryptography for Solana wallet signing.
Crypto and web3 npm Unlicense
Used in agent projects
196
1.5% of 12,697 public repos built with AI coding agents
Rank in crypto and web3
#15 of 89
by use in those projects
Downloads
36.8M
npm, last 7 days, tweetnacl
GitHub stars
1,923
last push Aug 15, 2025
How TweetNaCl.js is used
TweetNaCl.js is a dependency in 196 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.5%), #15 of 89 in crypto and web3. The most used alternative there is Solana Web3.js. Projects that use it most often also use Solana Web3.js (94.9%), Solana SPL Token (33.2%), bip39 (31.1%).
Often used with TweetNaCl.js
| Solana Web3.js | 94.9% of TweetNaCl.js projects · 5.7× more than average |
|---|---|
| Solana SPL Token | 33.2% of TweetNaCl.js projects · 4.6× more than average |
| bip39 | 31.1% of TweetNaCl.js projects · 30.9× more than average |
| ed25519-hd-key | 27.0% of TweetNaCl.js projects · 41.9× more than average |
| ethers.js | 25.0% of TweetNaCl.js projects · 5.5× more than average |
| Solana Wallet Adapter | 24.5% of TweetNaCl.js projects · 5.7× more than average |
| Axios | 30.6% of TweetNaCl.js projects · 3.1× more than average |
| TypeScript | 70.9% of TweetNaCl.js projects |
By coding agent
| Claude Code | 0.6% of projects set up for it |
|---|---|
| GitHub Copilot | 0.3% of projects set up for it |
| Cursor | 0.3% of projects set up for it |
Share of public repos configured for each agent that list TweetNaCl.js as a dependency.
Install
| Package | npm install tweetnacl |
|---|---|
| Main stacks | TypeScript / JavaScript (97), Next.js (72), Rust (15), Python (7) |
| Example projects | raydium-io/raydium-sdk-V2-demo, blockworks-foundation/mango-v4, aeminium-labs/nextjs-solana-starter-kit, keshav-exe/projekt-kosh, kr8tiv-ai/Jarvis |
Alternatives to TweetNaCl.js
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| 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 | — |