Skip to content
Back to skills

Onchainkit

ASecurity

Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments

  • 2,496 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 10, 2026
blockchainbashreactgitapibackend

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add alsk1992/CloddsBot --skill onchainkit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Onchainkit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Onchainkit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alsk1992-onchainkit/badge)](https://www.skillsdirectory.com/skills/alsk1992-onchainkit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: onchainkit
description: "Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments"
command: onchainkit
emoji: "🔗"
---

# OnchainKit - Build Onchain Apps

Build production-ready onchain applications using Coinbase's React component library.

## Overview

OnchainKit provides ready-to-use components that abstract blockchain complexity:
- No backend infrastructure required
- Works automatically on Base
- Cost-effective transactions (< $0.01 fees)

## Commands

### Project Setup
```
/onchainkit create <project-name>    Create new onchain app
/onchainkit add <component>          Add component to project
```

### Templates
```
/onchainkit template wallet          Wallet connection template
/onchainkit template swap            Token swap app template
/onchainkit template nft             NFT minting template
/onchainkit template checkout        Payment processing template
```

### Docs
```
/onchainkit docs wallet              Wallet integration docs
/onchainkit docs identity            Identity components docs
/onchainkit docs swap                Token swap docs
/onchainkit docs transaction         Transaction building docs
```

## Core Components

### Wallet Connection
```tsx
import { Wallet, ConnectWallet } from '@coinbase/onchainkit/wallet';
<Wallet><ConnectWallet /></Wallet>
```

### Identity Display
```tsx
import { Identity, Avatar, Name } from '@coinbase/onchainkit/identity';
<Identity address={address}><Avatar /><Name /></Identity>
```

### Token Swap
```tsx
import { Swap, SwapButton } from '@coinbase/onchainkit/swap';
<Swap><SwapButton /></Swap>
```

## Quick Start

```bash
# Create new app
npm create onchain@latest

# Or add to existing project
npm install @coinbase/onchainkit
```

## Configuration

```bash
export NEXT_PUBLIC_CDP_API_KEY="..."        # Coinbase API key
export NEXT_PUBLIC_WC_PROJECT_ID="..."      # WalletConnect ID
```

## Resources

- Docs: https://onchainkit.xyz
- GitHub: https://github.com/coinbase/onchainkit

Files in this skill

  • SKILL.md2 KB
  • index.ts10.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in blockchain →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.