- The 17 Sustainable Development Goals (SDGs) are defined by UN (United Nations) in 2015.
https://www.un.org/development/desa/disabilities/envision2030.html ↓- There is
external auditor
calledthe Supreme Audit Institutions ("SAIs")
- SAIs investigate whether organizations is quarified for target SDGs or not.
- Once a SAI audit an organization, that SAI publish an audit report for the organization. (it's called
"SAI report"
)
https://www.un.org/en/desa/some-considerations-external-audits-sdg-implementation
- There is
- This is a smart contract allow organizations to show
a proof of SDGs audit
in the form ofNFT
(on-chain
) that is associated withSAI reports
.- The 17 Sustainable Development Goals (SDGs) are defined in
DataTypes.sol
as an enum:
https://github.com/masaun/proof-of-SDGs-audit-with-NFT/blob/develop/contracts/libraries/DataTypes.sol#L23-L44
- The 17 Sustainable Development Goals (SDGs) are defined in
- ① Install modules
npm install
- ② Compile smart contracts
npm run compile
- Run all of tests. (NOTE: At the moment, only
./test/SAIReportRegistry.test.ts
is executed)
npm run test
( npx hardhat test --network hardhat
)
- This is a demo of test of the SAIReportRegistry contract (
./test/SAIReportRegistry.test.ts
) above.
https://youtu.be/rFSO96llCps