Why OnchainKit?
OnchainKit streamlines app development by providing a comprehensive toolkit that combines powerful onchain features with developer-friendly design:- Ergonomic design: Full-stack tools that make complex onchain interactions intuitive
- Battle-tested patterns: Industry best practices packaged into ready-to-use solutions
- Purpose-built components: Pre-built modules for common onchain workflows
- Framework agnostic: Compatible with any React-supporting framework
- Supercharged by Base: Deep integration with Base’s protocol features and ecosystem
Automatic Installation

create onchain
, which sets up everything automatically for you. To create a project, run:
Terminal
create onchain
will create a folder with your project name and install the required dependencies.
You can also checkout our pre-built templates:
These docs are LLM-friendly—reference OnchainKit AI Prompting Guide in your code editor to streamline builds and prompt smarter.
Manual Installation
Add OnchainKit to your existing project manually.Testing Your OnchainKit App
Build reliable applications with comprehensive end-to-end testing using OnchainTestKit. Test wallet connections, transactions, and complex user flows with automated browser testing.Start building!
Explore our ready-to-use onchain components:Identity
– Show Basenames, avatars, badges, and addresses.Wallet
– Create or connect wallets with Connect Wallet.Transaction
– Handle transactions using EOAs or Smart Wallets.Checkout
– Integrate USDC checkout flows with ease.Fund
– Create a funding flow to onboard users.Tokens
– Search and display tokens with various components.Swap
– Enable token swaps in your app.Mint
– View and Mint NFTs in your app.