Agent skill · Audited from source
Onchainkit
skill · BankrBot/skillsLicence not declaredAudited 9 Oct 2026 · source 4029e336cef5
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 4029e336cef5 and observed shell access and a hard-coded secret (see the findings). The audit raised 4 findings, 0 critical or high. What it does: Build onchain applications with React components and TypeScript utilities from Coinbase's OnchainKit. Use when users want to create crypto wallets, swap tokens, mint NFTs, build payments, display blockchain identities,…
Cite
Cite this page
ModelsAtlas. “Onchainkit (BankrBot/skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/bankrbot/onchainkit
Trust audit
Audit 0.4.1 · source read 9 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellDeclared1 observation
- DependenciesNot pinnedSome versions float
- SecretsFoundSee the findings; values are never shown
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 1 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | WARN | 3 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (4)
MEDIUMHard-coded secretssecret.generic · references/examples.md:67
token: '…',
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.stripe · references/configuration.md:39
NEXT…
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · assets/templates/basic-app/package.json
@coinbase/onchainkit, @tanstack/react-query, react, react-dom, viem, wagmi, @types/node, @types/react
- Why
- 11 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Audit 0.4.1 · source sha 4029e336cef5 · 9 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherBankrBot GitHub organizationOwner of the repository this skill is read from
- Source folderBankrBot/skills/onchainkitThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdict4029e336cef5A new audit runs when the source changes
- Repository statusNot archivedLast push 3 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Build onchain applications with React components and TypeScript utilities from Coinbase's OnchainKit. Use when users want to create crypto wallets, swap tokens, mint NFTs, build payments, display blockchain identities,…
---
name: onchainkit
description: Build onchain applications with React components and TypeScript utilities from Coinbase's OnchainKit. Use when users want to create crypto wallets, swap tokens, mint NFTs, build payments, display blockchain identities, or develop any onchain app functionality. Supports wallet connection, transaction building, token operations, identity management, and complete onchain app development workflows.
---
# OnchainKit
Build production-ready onchain applications using Coinbase's comprehensive React component library and TypeScript utilities.
## Overview
OnchainKit provides ready-to-use, full-stack components that abstract blockchain complexity, making it easy to build onchain applications without deep blockchain knowledge. It offers AI-friendly components that work automatically on Base, requires no backend infrastructure, and provides cost-effective transactions (< $0.01 fees).
## Quick Start
### New Project Setup
```bash
# Create a new onchain app with all batteries included
scripts/create-onchain-app.py <project-name>
# Verify setup
scripts/validate-setup.py
```
### Add to Existing Project
```bash
npm install @coinbase/onchainkit
# Setup configuration and providers
scripts/setup-environment.py
```
## Core Capabilities
### 1. Wallet Connection & Management
Connect users to their crypto wallets with minimal code:
```tsx
import { Wallet, ConnectWallet } from '@coinbase/onchainkit/wallet';
function WalletConnection() {
return (
<Wallet>
<ConnectWallet />
</Wallet>
);
}
```
**Use cases:**
- Wallet connection flows
- Display wallet status
- Manage connection state
- Handle multiple wallets
**Reference:** [references/wallet-integration.md](references/wallet-integration.md)
### 2. Identity Display
Show blockchain identities with ENS names, avatars, and verification badges:
```tsx
import { Identity, Avatar, Name, Badge } from '@coinbase/onchainkit/identity';
function UserProfile({ address }) {
return (
<Identity address={address}>
<Avatar />
<Name />
<Badge />
</Identity>
);
}
```
**Reference:** [references/identity-components.md](references/identity-components.md)
### 3. Token Operations
Handle token swaps, purchases, and transfers:
```tsx
import { Swap, SwapAmountInput, SwapButton } from '@coinbase/onchainkit/swap';
function TokenSwap() {
return (
<Swap>
<SwapAmountInput />
<SwapButton />
</Swap>
);
}
```
**Supported operations:**
- Token swaps (any ERC-20)
- Token purchases with fiat
- Balance displays
- Price feeds
**Reference:** [references/token-operations.md](references/token-operations.md)
### 4. Transaction Building
Create and execute blockchain transactions:
```tsx
import { Transaction, TransactionButton } from '@coinbase/onchainkit/transaction';
function SendTransaction({ calls }) {
return (
<Transaction calls={calls}>
<TransactionButton />
</Transaction>
);
}
```
**Reference:** [references/transactions.md](references/transactions.md)
### 5. Payment Processing
Build checkout flows and payment processing:
```tsx
import { Checkout, CheckoutButton } from '@coinbase/onchainkit/checkout';
function PaymentFlow() {
return (
<Checkout>
<CheckoutButton />
</Checkout>
);
}
```
**Reference:** [references/payments.md](references/payments.md)
### 6. NFT Integration
Display, mint, and manage NFTs:
```tsx
import { NFTCard } from '@coinbase/onchainkit/nft';
function NFTDisplay({ contract, tokenId }) {
return <NFTCard contract={contract} tokenId={tokenId} />;
}
```
**Reference:** [references/nft-integration.md](references/nft-integration.md)
## Common Workflows
### Setting Up a Complete App
1. **Initialize project** with `create-onchain-app.py`
2. **Configure providers** using setup templates
3. **Add wallet connection** with Wallet components
4. **Implement core features** (swap, buy, identity)
5. **Test and deploy** with validation scripts
### Building a Token Swap App
1. Start with swap app template from `assets/templates/swap-app/`
2. Configure token lists and supported chains
3. Add wallet connection flow
4. Implement swap interface
5. Add transaction confirmations
### Creating an NFT Marketplace
1. Use NFT template from `assets/templates/nft-mint/`
2. Set up NFT contract integration
3. Build minting interface
4. Add payment processing
5. Implement collection browsing
## Configuration & Setup
### Environment Variables
```bash
# Required for API access
NEXT_PUBLIC_CDP_API_KEY="your-api-key"
NEXT_PUBLIC_WC_PROJECT_ID="your-walletconnect-id"
# Optional configurations
NEXT_PUBLIC_CHAIN_ID="8453" # Base mainnet
```
**Reference:** [references/configuration.md](references/configuration.md)
### Provider Setup
OnchainKit requires proper React provider configuration:
```tsx
import { OnchainKitProvider } from '@coinbase/onchainkit';
import { WagmiProvider } from 'wagmi';
function App() {
return (
<WagmiProvider config={wagmiConfig}>
<OnchainKitProvider
apiKey={process.env.NEXT_PUBLIC_CDP_API_KEY}
chain={base}
>
{/* Your app components */}
</OnchainKitProvider>
</WagmiProvider>
);
}
```
## Component Patterns
### Progressive Enhancement
Start simple, add features as needed:
```tsx
// Basic wallet connection
<ConnectWallet />
// Enhanced with custom styling
<ConnectWallet className="custom-wallet-button" />
// Full wallet interface with status
<Wallet>
<ConnectWallet />
<WalletDropdown>
<Identity />
<WalletDropdownDisconnect />
</WalletDropdown>
</Wallet>
```
### Composable Architecture
Mix and match components for custom workflows:
```tsx
function CustomApp() {
return (
<div>
{/* User identity */}
<Identity address={address}>
<Avatar />
<Name />
</Identity>
{/* Token operations */}
<Swap>
<SwapAmountInput />
<SwapButton />
</Swap>
{/* Payment processing */}
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4029e33
npm install @coinbase/onchainkit npm install react@^19 react-dom@^19 viem@^2.27 wagmi@^2.16 npm install --legacy-peer-deps npm install
git clone https://github.com/BankrBot/skills git -C skills checkout 4029e336cef5
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 4029e336cef5 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
4029e336cef5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/bankrbot/onchainkit/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
obra/superpowers
Use when creating new skills, editing existing skills, or verifying skills work before deployment
obra/superpowers
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions…
obra/superpowers
Use when you have a spec or requirements for a multi-step task, before touching code
obra/superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
obra/superpowers
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
obra/superpowers
Use when implementing any feature or bugfix, before writing implementation code
Add this badge to your README
[](https://modelsatlas.com/skills/bankrbot/onchainkit/)
<a href="https://modelsatlas.com/skills/bankrbot/onchainkit/"><img src="https://modelsatlas.com/skills/bankrbot/onchainkit/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Onchainkit
What does the Onchainkit skill do?
Is Onchainkit safe to install?
What can Onchainkit access on my machine?
How current is this page?
Sources
- github.com/BankrBot/skills/tree/main/onchainkit — the audited source at commit 4029e336cef5 and every finding aboveObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Onchainkit skill do?
- Is Onchainkit safe to install?
- What can Onchainkit access on my machine?