relay-bridge

Installation
SKILL.md

Relay bridge

Produce a route comparison or reconcile a single Relay request. Start recovery from its request ID and source hash, not a replacement quote.

Read a versioned quote

Collect source/destination chains, exact currency identities, raw input or output amount, user, recipient and trade type. Use current /quote/v2 in reads; the old /quote is deprecated. Current /quote/v2 requires a valid x-api-key from private configuration; respect the configured app limits. On 401/403 report missing access without changing account or payment scope.

Preserve top-level requestId and all steps/items. A quote can require signatures, approvals and transactions on different chains; inspect each item kind and exact payer before handoff. Verify returned amount bounds, route, gas, relayer/application fees and expected duration. Keep native gas additional to input separate from fees already included in output.

Review every step

For transaction items decode chainId, sender, target, value and data. For signature items inspect typed domain, spender, amount, nonce and expiry. Verify the ultimate destination recipient rather than only the intermediate depositor. Deposit-address and permit flows have different lifecycle identities; use their current documented request checks instead of inventing a generic transaction.

Quote terms are not signing authority. Return the ordered unsigned steps, expiry and limits. If a changed amount or recipient alters the quote, rebuild the entire bound plan. Do not insert app fees or skip a failed prerequisite.

Track delivery or refund

Query current status v3 with the same requestId. Retain source hashes and destination/refund hashes separately. waiting, depositing, pending, submitted, refund and failure require different evidence; only success and refund are final, and failure can still move to pending or refund; destination submission is not final success. Read actual destination receipt and beneficiary token deltas against the accepted minimum.

Installs
3
GitHub Stars
11
First Seen
Oct 31, 2026