๐ ๏ธAdvanced Integration
Advanced Integration steps example overview:
Import and definition
Add the Micapass interfaces contracts to your codebase
IMicapassBaseVerifier.sol
- interface of Micapass main smart contract
Import
IMicapassBaseVerifier.sol
interface to your smart contractDefine variable within your smart contract responsible for Micapass smart contract instance
Initialization
Pass actual address of Micapass to you smart contract during initialization, or through the setter method. Use the Micapass address of the chain you are going to deploy your smart contracts
Declare needed claim topic IDโs upon initialization
Prepare methods and requirements
Define your functions that are going to be protected by Micapass
Define which user should be checked for Micapass proofs (sender, receiver, etc)
Protection implementation
In each of the defined functions add the check or required statement for a user(s) verification check
Last updated