This repository contains a nft smart contract starter project of Chain of Carbon optimization COCO.sol Below is the logic contract and instructions for deploying/upgrading it on the Hedera.
- Edit values for variables in
.env_sampleand save as.env
Try running some of the following tasks:
npx hardhat help
npx hardhat compile
npx hardhat test
npx hardhat run deployment/scripts/deploy.ts #Deploy logic and proxy contracts
npx hardhat run deployment/scripts/upgradeProxy.ts #Upgrade to new implementation- Deploy
COCO.sol(v1 logic contract) andTransparentUpgradeableProxy.sol(proxy contract)
npx hardhat run deployment/scripts/deploy.ts
-
Update
COCO.sol(v2 logic contract) -
Upgrade deployment
npx hardhat run deployment/scripts/upgradeProxy.ts