cd alathia-web3
npx hardhat
-> y → typescript → enter → enteryarn add
- Install Metamask, a browser extension for using Ethereum and other dApps
- Create a
.env
file and specify a PRIVATE_KEY variable. - Add a
METADATA_URI
variable to the.env
file with a url likehttps://example.com/metadata.json
- Compile the contract by running the
npx hardhat compile
command - Deploy the smart contract on the Fuji test network by running the
npx hardhat run scripts/deploy.ts --network mantleSepolia