Installation & Setup

This guide walks you through setting up the Kai-Sign Builder development environment for local development, testing, and contributing to the codebase.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v18 or higher) - Download

  • Python 3.12 or higher - Download

  • npm or yarn package manager

Quick Start

1. Clone the Repository

git clone https://github.com/Kai-Sign/Kai-Sign-Builder.git
cd Kai-Sign-Builder

2. Install Dependencies

npm install

3. Set Up Python Environment

The backend uses Python with FastAPI. Set up the virtual environment:

This script:

  • Creates a Python virtual environment in backend/venv/

  • Installs required Python packages

  • Configures the development environment

4. Configure Environment Variables

Create a .env file in the project root:

Edit the .env file with your configuration:

5. Start Development Server

Launch both frontend and backend:

This starts:

  • Frontend: Next.js app at http://localhost:3000

  • Backend: FastAPI server at http://localhost:8000

Configuration Options

Local Development (Default)

For most development work, use the local setup:

Both frontend and backend run locally with hot reload enabled.

Using Remote Backend

To use a deployed backend instead of running locally:

  1. Update your .env file:

  2. Start only the frontend:

Test the API endpoints:

Test ERC7730 Generation

Try creating metadata for a simple ERC20 contract:

Last updated