Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt

Use this file to discover all available pages before exploring further.

dApp Launchpad is a CLI tool that scaffolds and runs a fully integrated web3 dApp project. It handles the coordination between a local blockchain, smart contract deployment, and a frontend development server so you can focus on writing application logic rather than configuring tooling.

What it automates

Without dApp Launchpad, a typical dApp development workflow requires you to manually start a local blockchain node, compile and deploy contracts, copy contract addresses and ABIs to your frontend, and restart the frontend server whenever contracts change. dApp Launchpad collapses that into a single command. Specifically, the tool automates:
  • Starting a local Hardhat blockchain and deploying your contracts on startup.
  • Automatically redeploying contracts and updating contract artifacts when source files change.
  • Hot Module Replacement (HMR) for frontend code changes, so the browser updates without a manual reload.

Project structure

A dApp Launchpad project has two parts:
  • Frontend: Runs on Next.js. The entry point is frontend/src/pages/index.
  • Smart contracts: A Hardhat environment. Contracts are in Solidity, tests and scripts are in JavaScript or TypeScript.

When to use it

dApp Launchpad is aimed at developers who want to quickly get a working local dApp environment without manually wiring together a blockchain node, a contract deployment workflow, and a frontend framework. It is not a replacement for understanding how Hardhat and Next.js work independently; it assumes you will eventually edit the generated scripts and components directly. If you need a highly customized setup from the start, configuring Hardhat and Next.js separately gives you more control.

Repository

Source code: https://github.com/0xPolygon/dapp-launchpad
The README in the repository may not be up to date. Use this documentation as the primary reference.