Skip to content

A Dapp developed by Hardhat, Ethers.js, Next.js and TailwindCSS

Notifications You must be signed in to change notification settings

wenyangliu/Whitelist-Dapp

Repository files navigation

Hardhat+Ethers.js+Next.js+TailwindCSS 开发Dapp

运行项目

根目录创建 .env 文件

ALCHEMY_API_KEY_URL = "xxxx"
SEPOLIA_PRIVATE_KEY = "xxxx"

安装

npm i
npx hardhat run scripts/deploy.js --network sepolia

// 如果没有测试网的ETH 领取地址: https://sepoliafaucet.com

得到合约地址 修改constant.jsWHITELIST_CONTRACT_ADDRESS

cd client
yarn
yarn dev

访问 localhost:3000

About

A Dapp developed by Hardhat, Ethers.js, Next.js and TailwindCSS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published