Skip to main content

The idea

This is the discovery path made hands-on. You hand TrustGate a list, you get a read per item, and then you decide how far to take it. The default is to show trust without touching your order. Reordering is a separate, deliberate step you opt into.
1

Score the list

POST /api/batch with up to 40 addresses. Free. Open CORS. No x402.
2

Badge and flag, in your order

The default and least invasive move. Render a trust badge and any flags next to each item, in the exact order your feed already has.
3

Reorder, only if you choose

Optional and explicit. Pass the scored list to reorderByTrust, or set data-trustgate-reorder="on" on the discovery script.
Reordering is never automatic. TrustGate will not rearrange your feed on its own. The helper hands you a reordered list and stops there. Applying it is your call, every time.

Live batch endpoint

Limits: max 40 addresses, 30 requests per minute per IP. Duplicates are collapsed server-side. Invalid or non-token addresses come back with error set rather than failing the whole batch.

Script-tag path

Search list with optional reorder:
After an SPA re-render:

Reorder helper

Pure. Never mutates the input. Never auto-applied.
Ranking:
  1. Higher tier first. VERIFIED and ELITE rise. LOW and BLOCKED sink, still present.
  2. Same tier: graduated outranks mining.
  3. Then higher raw score.
  4. Unscored or error entries sink below all scored ones, keeping their relative order.
Same-ticker helper: rankSameTickerTokens / rankGroupsByTrust ranks within a ticker so rugs sink while staying visible.

Why it is built this way

A discovery feed is a product decision, and it belongs to you. A trust layer that quietly reshuffled it would be taking over the very thing that makes your feed yours. So TrustGate draws the line hard: it will badge, it will flag, it will offer you a trust-ranked version of the list, and it will never impose one.
Badging and flagging are safe to ship as the default everywhere. Reach for reordering when you have decided trust should shape the order, not before.

Next

The discovery product page

The overview and the opt-in ladder in full.

Widget attributes

Both script tags in one guide.