A live sandbox of the drop-in modal you can wire into any DApp with five lines of React. Pick an agent, set your minimum bond and score, then click the swap button as if you were a user. The modal shows the agent’s on-chain trust profile and blocks delegations that miss your threshold. Nothing here transacts on chain. The integration snippet you’d ship is at the bottom of the page.
A typical user click that would normally fire a swap. With Telaro wired in, the pre-sign modal intercepts and renders the agent’s on-chain trust profile first. Click as many times as you want. Nothing transacts on-chain.
import { usePresignGate } from "@telaro/react-presign";
const gate = usePresignGate({
agentPubkey: "<agent pda>",
minBond: 100_000_000n,
minScore: 700,
delegationLabel: "Swap via Jupiter",
delegationAmount: 1_000_000_000n,
onConfirm: () => actualSwap(),
});
<button onClick={gate.open}>Swap</button>
{gate.ConfirmModal()}The on-chain equivalent for fully programmatic gating isview_bond(min_bond, min_score)via CPI. Same threshold, but the program enforces it instead of the DApp UI.