Skip to content

【World ID-gated Food Voucher🎫🆔 for food rations for refugees】- This smart contract utilize World ID as a verification gate for checking qualification who can claim food voucher and verifying it.

License

Notifications You must be signed in to change notification settings

masaun/world-id-gated-food-voucher

Repository files navigation

World ID-gated Food Voucher🎫🆔 for food rations for refugees

Overview

  • There has been the problem of food crisis for refugees.

  • This smart contract is used for supporting to solve the problem of food ration for refugees like above (that is related to the Zero Hunger of SDGs 2).
    • This smart contract utilize World ID as a gate for checking qualification who can claim food voucher and verifying it.
      • World ID genarate a proof based on the zero knowledge proof (ZKP) technology.
      • Only refugees who are registered with World ID and has a proof generated can claim food voucher.
        • Once a refugee who has a proof claim food voucher, they receive a Food Voucher NFT .
        • Then, refugees show the Food Voucher NFT received for organizations (such as NPOs, NGOs, etc) that is responsible of food rations in the physical places where food rations is conducted.
      • By using World ID-gated voucher via this smart contract, organizations (such as NPOs, NGOs, etc) that is resposible for food rations for refugees verify thier qualifications more efficient and more secure and more transparent.
    • World ID-based verification that is used in this smart contract might be a good alternative verification solution instead of the way based on biometric verification.

  • Remarks:
    • World ID is a protocol that lets you prove a human is doing an action only once without revealing any personal data. Stop bots, stop abuse.
      • World ID uses a device called the Orb which takes a picture of a person's iris to verify they are a unique and alive human. The protocol uses Zero-knowledge proofs (ZKPs) so no traceable information is ever public.
      • World ID is meant for on-chain web3 apps, traditional cloud applications, and even IRL verifications.
        (Source from: https://github.com/worldcoin/world-id-starter#-about-world-id )

Diagram of workflow

  • Diagram of entire workflow of this smart contract diagram_20220913

Test

  • Scenario test of the WorldIdGatedVoucher.sol (<=This scenario test show entire workflow of this smart contract)
npm run test-scenario:WorldIdGatedVoucher

  • Unit test of the WorldIdGatedVoucher.sol
npm run test-unit:WorldIdGatedVoucher

Demo

  • This link of video demo is for showing entire workflow of this smart contract by executing the Scenario test of the WorldIdGatedVoucher.sol
    https://youtu.be/9GfcEO4l-JI

Resources


About

【World ID-gated Food Voucher🎫🆔 for food rations for refugees】- This smart contract utilize World ID as a verification gate for checking qualification who can claim food voucher and verifying it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published