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.Live batch endpoint
error set rather than failing the whole batch.
Script-tag path
Reorder helper
Pure. Never mutates the input. Never auto-applied.- Higher tier first.
VERIFIEDandELITErise.LOWandBLOCKEDsink, still present. - Same tier:
graduatedoutranksmining. - Then higher raw score.
- Unscored or
errorentries sink below all scored ones, keeping their relative order.
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.
