Skip to content

Overview

AI Scaffolding allows you to create a project with various packages to suit your development needs. You can select which packages to include during the project creation process.

Project Creation Process

The CLI will guide you through an interactive setup process:

Project Configuration

Configure your project basics:

  • Project name
  • Package manager selection (npm, yarn, pnpm)
Package Selection

Choose which packages to include in your project:

  • Hardhat (Smart contract development)
  • Vite (Frontend development with React)
  • Next.js (Full-stack React framework)
  • NestJS (Backend development)
Package Configuration

Configure each selected package with specific options based on your project requirements.

Selecting Packages

During the project creation process, you'll be prompted to select which packages to include in your project:

? Select packages to install: (Press <space> to select, <a> to toggle all, <i> to invert selection, and <enter> to proceed)
❯◯ Hardhat
 ◯ Vite
 ◯ Next.js
 ◯ NestJS
 ◯ React Native (soon)

Simply select the packages you want to include and proceed with the configuration of each selected package.

Core Packages

AI Scaffolding offers the following core packages:

Hardhat
Smart contract development environment for Ethereum.
Vite
Frontend development with React and TypeScript.
Next.js
Full-stack React framework with built-in routing.
NestJS
Progressive Node.js framework for building server-side applications.

Package Combinations

AI Scaffolding supports various combinations of packages. Here are some common scenarios:

Standalone Frontend

  • Vite or Next.js only
  • Focus on frontend development without smart contracts
  • Suitable for purely client-side applications

Smart Contract Development

  • Hardhat only
  • Focus on smart contract development without a frontend
  • Suitable for contract development and testing

Full-Stack dApp

  • Hardhat + Vite/Next.js
  • Complete decentralized application with smart contracts and frontend
  • Integrated Web3 connectivity

Full-Stack Web3 Application

  • Hardhat + Vite/Next.js + NestJS
  • Comprehensive setup with smart contracts, frontend, and backend
  • Suitable for complex applications requiring a dedicated backend

Next Steps

Learn more about each package's specific configuration options: