1.1.8 • Published 1 year ago
create-nextjs-sui-dapp-template v1.1.8
create-nextjs-sui-dapp-template
English | 中文
A generator for Next.js Sui dApp projects. This tool helps you quickly set up a new Sui dApp project using Next.js.
Installation
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.
Getting Started
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.
Features
- 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
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.