An interactive CLI tool to quickly scaffold a modern Web3 frontend. Generate a ready-to-use Next.js project with wagmi, Tailwind CSS, and a powerful, ABI-driven contract dashboard in seconds.
- Interactive Setup: A friendly command-line interface asks you everything it needs.
- Next.js Foundation: Built on the latest Next.js with the App Router.
- Wagmi Powered: Comes pre-configured with wagmi for all your wallet and contract interactions.
- Dynamic Contract Dashboard: Provide your contract ABI and get an instant, fully interactive UI to test every
read,write, andpayablefunction. - Secure by Default: Automatically configures API keys using environment variables (
.env.local). - Styled with Tailwind CSS: Includes a clean, modern design system ready for customization.
- TypeScript Ready: Strongly typed from the start for a better developer experience.
To create a new project, run the following command in your terminal:
npm init dapp-starteror npx create-dapp-starter
This will kick off the interactive CLI, which will guide you through the setup process:
- Project Name: Name your new dApp folder.
- Framework & Language: Choose Next.js & TypeScript.
- API Keys: Provide your WalletConnect and Alchemy keys.
- Chains: Select the blockchain networks you want to support.
- Contract Details: Optionally, provide your contract address and ABI to auto-generate the contract dashboard.
After the setup is complete, you will have a new project directory with everything you need:
- β A fully configured Next.js + wagmi application.
- β
API keys secured in a
.env.localfile. - β A stunning, responsive UI built with Tailwind CSS.
- β
A
/devpage that acts as a live dashboard for your smart contract. - β A simple, clean, and extensible project structure.
To contribute to this CLI tool itself:
-
Clone the repository:
git clone https://github.com/Rohan-droid7341/create-dapp-starter.git cd create-dapp-starter -
Install dependencies:
npm install
-
Run for testing: Create a separate, empty folder and run the CLI from there to test your changes.
# From inside your test folder: node /path/to/create-dapp-starter/index.js
This project is licensed under the MIT License.