Loading…
Loading…
Select a real-world use case and run a live compliance check against the selected AVALANCHE® network — Mainnet or Fuji. No wallets required.
Every DeFi protocol, RWA platform, or AI marketplace can add one modifier to their Solidity contract that gates access by KYC tier. The check is instant, gasless for reads, and fully on-chain — no APIs, no servers, no trust required.
A lending protocol requires Tier 2 (Standard KYC) to deposit funds. The seeded demo wallet holds a real on-chain credential; the second wallet has none.
Enter any wallet address and select the required compliance tier. The check reads directly from the KUMPLY contract on the selected network.
Copy this pattern into your contract. Replace the constructor arguments with the live KUMPLY addresses.
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.28;
interface IAttestationStore {
function verify(address subject) external view returns (
bool verified,
uint32 tier,
uint64 timestamp,
uint64 expiry
);
}
contract MyProtocol {
IAttestationStore public immutable kumply;
uint32 public immutable requiredTier;
constructor(address _kumply, uint32 _requiredTier) {
kumply = IAttestationStore(_kumply);
requiredTier = _requiredTier;
}
modifier onlyCompliant() {
(bool verified, uint32 tier, , uint64 expiry) =
kumply.verify(msg.sender);
require(
verified && tier >= requiredTier && expiry > block.timestamp,
"KUMPLY: insufficient compliance tier"
);
_;
}
// Add onlyCompliant to any function you want to gate
function deposit(uint256 amount) external onlyCompliant {
// only verified users reach here
}
}