Expected Outcome

At the end of this guide, you will have a basic next.js app with basic onchain functionalities:

  • Wallet authentication
  • Swap
  • Onramp

Prerequisites

You will need:

Guide

npm create onchain@latest

After the prompts, create onchain will create a folder with your project name and install the required dependencies.

Build with AI

Below is a ready-to-use prompt to help you build your app with AI.

I'm working on a onchainkit project using [frameworks/libraries]. I need your help with:

1. Problem: [describe specific issue]
2. Current approach: [explain what you've tried]
3. Constraints: [mention any technical limitations]
4. Expected outcome: [describe what success looks like]

Here's the relevant documentation @https://docs.base.org/builderkits/onchainkit/llms.txt