Compliant ERC20
Galactica example project for a compliant ERC20 token. It is based on the ERC20 token standard and extends it with compliance through Galactica's zkCertificates.
The token contract has a list of VerificationSBTs that are required to transfer and receive the token.
Smart contract code is available here: https://github.com/Galactica-corp/galactica-monorepo/blob/main/packages/zk-certificates/contracts/CompliantERC20.sol
In the default configuration it requires a AgeCitizenshipKYC proof from users. They have to be at least 18 years old and a citizen from a country other than US or Iran. This is the ZK circuit for it: https://github.com/Galactica-corp/galactica-monorepo/blob/main/packages/zk-certificates/circuits/ageCitizenshipKYC.circom
Last updated