Skip to content

Dark-Brain07/onchainkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,930 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnchainKit logo vibes

OnchainKit

React components and TypeScript utilities to help you build top-tier onchain apps.

Version last update Downloads per month Code coverage MIT License

Follow @OnchainKit Chat on Discord stars forks


🚀 Quickstart

Run npm create onchain to bootstrap an example onchain app with all the batteries included.

✨ Documentation

For documentation and guides, visit onchainkit.xyz.

🛠️ Contributing

Overview

This project is set up as a monorepo with pnpm workspaces.

Requirements

  • Node.js v20
  • pnpm v10

Getting Started

  1. Clone the repository
git clone https://github.com/coinbase/onchainkit.git
  1. Install dependencies
pnpm install

Running packages

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>

Shorthands

We provide shorthands to filter by project in the root package.json.

The following shorthands are available:

  • pnpm f:ock: pnpm --filter @coinbase/onchainkit
  • pnpm f:play: pnpm --filter playground
  • pnpm f:create: pnpm --filter create-onchain
  • pnpm f:manifest: pnpm --filter miniapp-manifest-generator

Development

When 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.

🌁 Team and Community

💫 Contributors

🌊 License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

React components and TypeScript utilities to help you build top-tier onchain apps.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 97.7%
  • JavaScript 1.3%
  • Other 1.0%