5-minute integration

Integrate
in five minutes.

Three steps. Pick your stack, drop in one call, deploy. Every score you receive is on-chain, slashable, and challengeable for 72 hours.

01

Install

// 1. No install — just import the interface
interface ITrustGate {
  function isTrusted(uint256 agentId)
    external view returns (bool);
}
02

Use

// 2. Add the modifier to any function
contract MyAgentMarketplace {
  ITrustGate public gate =
    ITrustGate(0xE3b6069f632ab439ef5B084C769F21b4beeE3506);

  modifier onlyTrusted(uint256 agentId) {
    require(gate.isTrusted(agentId), "untrusted agent");
    _;
  }

  function listService(uint256 agentId, string calldata desc)
    external onlyTrusted(agentId)
  { /* ... */ }
}
03

Verify

// 3. That's it. The next call from a REJECT-rated
// agent will revert. Live on Base mainnet.

Ready?

Try a real trust query against the live API right now, or open the full docs to see every endpoint, schema, and SDK method.