Making the frontend part of my project ICO smart contract!
# Clone this project
$ git clone https://github.com/catherinee24/LW3-ICO-
# Access
$ cd LW3-ICO-
# Install dependencies
$ npm install
- $
npx create-next-app@latest
- $
npm run dev
Now go tohttp://localhost:3000
, your app should be running 🤘
Open up a terminal pointing at my-app directory
and execute this command:
- $
npm install web3modal
Note🚨 ➡ to interact with your smart contract in the folder constants/index.js
write:
export const NFT_CONTRACT_ADDRESS = "YOUR_NFT_CONTRACT_ADDRESS";
export const NFT_CONTRACT_ABI = YOUR_NFT_ABI;
export const TOKEN_CONTRACT_ADDRESS = "YOUR_TOKEN_CONTRACT_ADDRESS"
export const TOKEN_CONTRACT_ABI = YOUR_TOKEN_ABI;
- Next.js
- Ethers.js
- Web3Modal
Hope you enjoy making this.
Made with ❤️ by catellaTech.