A live trust badge sitting wherever you place it, showing the tier and flags for a token or a wallet, updating itself, with no backend on your side and no wallet popup for your users. This is the fastest way to ship TrustGate.
1
Load the script once
Add this anywhere on the page. One include covers every badge on it.
Drop an element where you want the badge, and tell it what to score. The widget hydrates it on load.
<!-- score a token --><div data-trustgate-token="0xTOKEN_ADDRESS"></div><!-- score a wallet --><div data-trustgate-wallet="0xWALLET_ADDRESS"></div>
3
Pick a style
Choose how much the badge shows, based on the space you have.
<!-- fuller badge with the score and detail --><div data-trustgate-token="0x..." data-trustgate-mode="full"></div><!-- compact, tier only --><div data-trustgate-token="0x..." data-trustgate-mode="minimal"></div><!-- inline, sits in a row or a line of text --><div data-trustgate-token="0x..." data-trustgate-mode="inline"></div>
The attribute names above show the intended shape, not a verified contract. Confirm the exact attribute names against your live widget.js before publishing, or send me a working embed from the Arc or Sui site and I will document the real ones here. The script tag itself is correct as written.
It loads asynchronously, so it will not block your page. It needs no wallet connection, the badge reads a public score, it does not ask your users to sign anything. It is framework-agnostic, the same element works in plain HTML, React, Vue, or anything that renders markup. And during testnet it is free and open to embed.
The badge is non-invasive by design. It reports a signal in the spot you choose and never touches your wallet flow or the rest of your interface.