What it is
Protocol Guard is the monitoring surface. You tell it what a wallet is about to do — borrow, vote, hit an API, touch the treasury — and it returns whether that action clears a contextual floor, plus any alerts worth firing. It does not replace your risk engine. It is one input, with a recommended default threshold per context that you can override. Live UI: trustgated.xyz/protocol-guard Pricing: free. Registration exists only to save alert channels and rules. Checks work anonymously without it.Check
context is one of: borrow, vote, governance_vote, dex_swap, api_execution, treasury_control, generic.
The response includes allowed, walletScore, walletTier, confidence, flags, a contextualThreshold, a trustSurfaceArea (monitor / review / immediate), and any alerts.
Recommended defaults
These are defaults, not TrustGate policy. Override them per request or per registration.Trust Surface Area
When you passeconomicReachUsd, capitalAccess, and (when relevant) a vote cluster, Guard computes a surface-area number used only to prioritize alerts:
monitor— low potential damagereview— look before the window closesimmediate— low trust × high reach
Registration and alerts
protocolName, optional contactEmail, channels (Discord webhook, Telegram, email, onchain event flag), and rules:
lending_low_trust_borrowdao_coordinated_votewallet_score_floortoken_flag_watch
manageToken is shown once at create. You need it to GET-by-id or PATCH.
Build it
Protocol Guard integration
Check body, contexts, registration, and the free-anonymous path.
Gating instead
If you need a signed attestation, not an alert.
