English | 中文
A generator for Next.js Sui dApp projects. This tool helps you quickly set up a new Sui dApp project using Next.js.
You can use this template generator without installing it locally by using npx:
npx create-nextjs-sui-dapp-templateFollow the prompts to set up your project:
- Enter your project name
- Choose the Sui network you want to use (testnet, mainnet),you can change the network later in the
.envfile
The tool will create a new directory with your project name, set up the initial project structure, and configure it based on your choices.
After creating your project, navigate to the project directory and install dependencies:
cd your-project-name
npm installhigly recommend using bun.js to install dependencies.
bun installThen, start the development server:
npm run devor
bun run devYour Sui dApp will be available at http://localhost:3000.
- Next.js setup optimized for Sui dApp development
- Pre-configured for the selected Sui network
- Basic project structure and components to get you started quickly
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.