transparency
and traceability
.Carbon Credit Tokens (CCTs)
are used for representing amount of carbon credits. (The Carbon Credit Tokens is created as ERC20 token)Green NFT
is used for a proof of audit
of CO2 reductions for a projectPolygon
(previously Matic Network
) in order to save cost of transaction and realize faster transactions.
① A project owner (e.g. organizations, corporations, etc...) register themself on this dApp.
② A auditor (e.g. the institutions to issue carbon credit) is registered on this dApp.
③ A project owner claim CO2 reductions to a auditor.
④ Auditor audit (=approve) a claim from a project owner.
Green NFT
and the Carbon Credit Tokens (CCTs) are given (=charged) into a project owner's wallet.Green NFT
represents a proof of audit
of CO2 reductions for a project that is claimed.⑤ A project owner put a Green NFT (=proof of audit) and the Carbon Credit Tokens (CCTs) on sale.
⑥ A buyer can buy the Carbon Credit Tokens (CCTs) based on GreenNFT in the carbon credit marketplace.
1 CCT = 1 MATIC
Download Ganache-CLI from link below https://www.trufflesuite.com/ganache
Execute Ganache
$ ganache-cli -d
※ -d
option is the option in order to be able to use same address on Ganache-CLI every time.
Add MetaMask to browser (Chrome or FireFox or Opera or Brave) https://metamask.io/
Adjust appropriate newwork below (In case of deploying smart contract on local)
http://127.0.0.1:8545
https://rpc-mumbai.maticvigil.com/
(More configuration detail is here: https://docs.matic.network/docs/develop/metamask/config-matic/ )
$ npm run migrate:local
Matic's Mumbai testnet
$ npm run migrate:polygon_testnet
$ cd frontend
$ npm install
$ npm run start
http://127.0.0.1:3000
Mumbai testnet (with Truffle) https://docs.matic.network/docs/develop/truffle
Matic Fancet (include for Mumbai testnet) https://faucet.matic.network/
Set up MetaMask for Mumbai testnet: https://docs.matic.network/docs/develop/metamask/config-matic/
Workshop https://youtu.be/BT-UZBInh7w?t=697
Deposit ETH into Matic https://docs.matic.network/docs/develop/ethereum-matic/plasma/eth