React components and TypeScript utilities to help you build top-tier onchain apps.
See the code[!WARNING]
OnchainKit and the packages in this repository are deprecated and no longer maintained. They will not receive further updates, bug fixes, or security patches. Do not use them for new projects. For wallet connectivity and Ethereum interactions, consider building directly with wagmi and viem.
Run npm create onchain to bootstrap an example onchain app with all the batteries included.
For documentation and guides, visit onchainkit.xyz.
This project is set up as a monorepo with pnpm workspaces.
git clone https://github.com/coinbase/onchainkit.git
pnpm install
To run a script in a single package, use the following command:
pnpm [-F | --filter] <package-name> <script-name>
To run a script in all packages, use the following command:
pnpm run <script-name>
We provide shorthands to filter by project in the root package.json.
The following shorthands are available:
pnpm f:ock: pnpm --filter @coinbase/onchainkitpnpm f:play: pnpm --filter playgroundpnpm f:create: pnpm --filter create-onchainpnpm f:manifest: pnpm --filter miniapp-manifest-generatorWhen working on components, you can build OnchainKit in watch mode and start the playground to view your components with the following command:
pnpm f:play dev:watch
Then, you can view the playground at http://localhost:3000.
This project is licensed under the MIT License - see the LICENSE.md file for details
2,461 followers · starred Oct 2024
704 followers · starred Jun 2024
634 followers · starred Feb 2024
50 followers · starred Nov 2024
React components and TypeScript utilities to help you build top-tier onchain apps.
See the code[!WARNING]
OnchainKit and the packages in this repository are deprecated and no longer maintained. They will not receive further updates, bug fixes, or security patches. Do not use them for new projects. For wallet connectivity and Ethereum interactions, consider building directly with wagmi and viem.
Run npm create onchain to bootstrap an example onchain app with all the batteries included.
For documentation and guides, visit onchainkit.xyz.
This project is set up as a monorepo with pnpm workspaces.
git clone https://github.com/coinbase/onchainkit.git
pnpm install
To run a script in a single package, use the following command:
pnpm [-F | --filter] <package-name> <script-name>
To run a script in all packages, use the following command:
pnpm run <script-name>
We provide shorthands to filter by project in the root package.json.
The following shorthands are available:
pnpm f:ock: pnpm --filter @coinbase/onchainkitpnpm f:play: pnpm --filter playgroundpnpm f:create: pnpm --filter create-onchainpnpm f:manifest: pnpm --filter miniapp-manifest-generatorWhen working on components, you can build OnchainKit in watch mode and start the playground to view your components with the following command:
pnpm f:play dev:watch
Then, you can view the playground at http://localhost:3000.
This project is licensed under the MIT License - see the LICENSE.md file for details
2,461 followers · starred Oct 2024
704 followers · starred Jun 2024
634 followers · starred Feb 2024
50 followers · starred Nov 2024