
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@coinbase/onchainkit
Advanced tools
<source media="(prefers-color-scheme: dark)" srcset="./site/docs/public/logo/v0-14.png"> <img alt="OnchainKit logo vibes" src="./site/docs/public/logo/v0-14.png" width="auto"
React components and TypeScript utilities for top-tier onchain apps.
For documentation and guides, visit onchainkit.xyz.
OnchainKit offers four themes packed with React components and TypeScript utilities ready for action.
To integrate OnchainKit into your project, begin by installing the necessary packages.
# Yarn: Add library
yarn add @coinbase/onchainkit
# Yarn: Depending on the components or utilities you choose,
# you may end up utilizing any of those libraries.
yarn add viem@2.x react@18 react-dom@18
# or
# Use NPM
npm install @coinbase/onchainkit
npm install viem@2.x react@18 react-dom@18
# Use PNPM
pnpm add @coinbase/onchainkit
npm install viem@2.x react@18 react-dom@18
Then, feel free to utilize any of the components or utilities, such as FrameMetadata.
import { FrameMetadata } from '@coinbase/onchainkit';
export default function HomePage() {
return (
...
<FrameMetadata
buttons={[
{
label: 'Tell me the story',
},
{
action: 'link',
label: 'Link to Google',
target: 'https://www.google.com'
},
{
action: 'post_redirect',
label: 'Redirect to cute pictures',
},
]}
image={{
src: 'https://zizzamia.xyz/park-3.png',
aspectRatio: '1:1'
}}
input={{
text: 'Tell me a boat story',
}}
postUrl="https://zizzamia.xyz/api/frame"
/>
...
);
}
Check out the following places for more OnchainKit-related content:
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
Unknown package
We found that @coinbase/onchainkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.