This example project demonstrates an NFT mint which costs $1 worth of Ether.
Fetching ETH/USD price is powered by the native oracle using the gelato-native-oracle-sdk
.
Tip
A minimum of ~0.02 ETH is required for the following steps.
- Install dependencies
yarn install
- Edit
.env
cp .env.example .env
- Deploy NFT contract
yarn hardhat deploy --network testnet
- Mint NFT
yarn hardhat run scripts/mint-nft.ts --network testnet