onchainkit · bankrbot — Claude Code skill: blockchain apps with React
onchainkit — a skill for building blockchain applications with ready-made React components from Coinbase. Use it to add wallet connections, token swaps, NFT minting, payments, or onchain identity features to your app.
no license 213 installs ★ 1,216 updated 2026-10-24
npx skills add BankrBot/skills --skill onchainkit -a claude-codeWhat onchainkit does
OnchainKit brings production-ready React components and TypeScript utilities from Coinbase for onchain development. It includes components for wallet connection, blockchain identity display with ENS names and avatars, token operations, NFT handling, payment checkout flows, and transaction execution. All components work on Base, require minimal boilerplate, and need no backend infrastructure.
The skill provides setup scripts: create-onchain-app.py for new projects and setup-environment.py for existing ones. You'll need two environment variables: NEXT_PUBLIC_CDP_API_KEY (Coinbase API key) and NEXT_PUBLIC_WC_PROJECT_ID (WalletConnect project ID). Components are composable—mix wallet connection with token swaps, identity display, or payments in any combination.
What it helps with
- connect a crypto wallet to a web app
- build a token swap interface for ERC-20 tokens
- display user blockchain identity with ENS name and avatar
- add NFT minting or gallery functionality
- create a checkout flow for cryptocurrency payments
Example prompts for the agent
- Set up a new token swap app with wallet connection using onchainkit
- Add an Identity component showing ENS name and avatar to a user profile
- Build a Checkout flow to accept crypto payments
How to install onchainkit
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill onchainkit -a claude-code2Manually: put the files in place
~/.claude/skills/onchainkit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/onchainkit/
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill onchainkit -a codex2Manually: put the files in place
.agents/skills/onchainkit/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill onchainkit -a cursor2Manually: put the files in place
.cursor/skills/onchainkit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install BankrBot/skills onchainkit2Manually: put the files in place
.github/skills/onchainkit/SKILL.md1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill onchainkit -a gemini-cli2Platform CLI
gemini skills install https://github.com/BankrBot/skills --path onchainkitManually: put the files in place
.devin/skills/onchainkit/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add BankrBot/skills --skill onchainkit -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about onchainkit
How do I install onchainkit in Claude Code?
Run npx skills add BankrBot/skills --skill onchainkit -a claude-code, then open ~/.claude/skills/onchainkit/SKILL.md to configure it.
What does onchainkit do?
It's a React component library for blockchain apps: wallet connections, token swaps, NFT display, payment processing, and blockchain identity profiles. Works on Base with no backend needed.
What keys and setup do I need?
Set NEXT_PUBLIC_CDP_API_KEY (Coinbase API key) and NEXT_PUBLIC_WC_PROJECT_ID (WalletConnect ID) as environment variables. The skill defaults to Base network. Run setup-environment.py to configure your project.
Similar skills
All skills for Frontend and UI →onchainkit by other authors comes first.