Keyring Pro
1. Use a test Policy
Use our Keyring Pro Test Policy (ID: 6 see here). It includes standard checks to test individual and business onboardings. Policy setup:
Data sources: using you own compliance desk.
Rule:
Individual users: valid according to the policy owner response.
Business users: valid according to the policy owner response.
Other parameters:
Refresh rate: 1 year
Note that we are not simulating Know-Your-Wallet checks on Sepolia.
🔗 Address of the deployed Sepolia Policy Manager contract.
2. On-chain Permissioning
Hook your chosen functions with permissioning reading from the Keyring contract, for Test Policy 6. The hook uses a view
function on the Cache, which maps wallet addresses to Policy IDs. Here, it will verify that a user wallet has valid credentials for Policy 6.
Given the KeyringCredentialView contract's checkCredential
function is view-only, it can be integrated into state-changing and non-state-changing code blocks.
The Keyring view function checkCredential
will return a boolean value if the given address (in this case the msg.sender
) is authorised or not for the given Policy ID.
Useful links
🔗 Keyring Contract deployed on Sepolia
3. Test User Flow
Test the end-to-end user journey on the Keyring app.
You'll need Sepolia ETH to create your credentials. You can get some here:
🔗 Alchemy
🔗 Infura
🔗 Mining faucet
Navigate to https://sandbox-titan.app.keyring.network/ and test the user journey with your own Sepolia test environment. Complete the mock onboarding for Policy 6.
We are mocking the checks so you don't need to input real data for onboarding, and you can also "skip onboarding" to yield a successful onboarding response and test the flow.
Last updated