Skip to content

Latest commit

 

History

History
83 lines (59 loc) · 1.67 KB

README.md

File metadata and controls

83 lines (59 loc) · 1.67 KB
# Template for dApp built in Next.js Template for a decentralized application (dApp) built in [Next](https://nextjs.org). - [TypeScript](https://www.typescriptlang.org) - [Next 14](https://nextjs.org/blog/next-14) - [TanStack Query](https://tanstack.com/query/latest) - [Sass](https://sass-lang.com) - [Tailwind CSS](https://tailwindcss.com) ### Web3 Packages ### Deployment Commands - npx hardhat run scripts/deploy_tokensale.js --network mumbai - npx hardhat verify --network mumbai DEPLOYED_CONTRACT_ADDRESS "Argument1" "Argument2" - [ethers](https://docs.ethers.org/v5/) - [rainbowkit](https://www.rainbowkit.com) - [wagmi](https://wagmi.sh) --- ## Available Scripts ### Development Mode #### Start the Development Server These commands start the application in development mode. Open [http://localhost:3000](http://localhost:3000) in your browser to see the result. The page auto-updates as you edit the file. ```bash npm run dev # or yarn dev # or pnpm dev ``` ### Production Build #### Build the App for Production These commands build an optimized version of the application for production, saved in the `.next` folder. ```bash npm run build # or yarn build # or pnpm build ``` ### Production Server #### Start the Production Server After building the application, use these commands to start the server in production mode. ```bash npm run start # or yarn start # or pnpm start ``` ### Code Quality #### Run the Linter Run these commands to start the linter, which helps maintain code quality and find any issues. ```bash npm run lint # or yarn lint # or pnpm lint ``` # dapprepo