@glideco/crosschain-bridge
v0.1.0
Published
Cross-chain bridging quote + dispatch shape layer for Glide. Pluggable adapters for Squid Router and Across Protocol — agent on chain A pays service on chain B; bridge transparently. Pure functions, no IO. Actual SDK calls live in apps/web.
Maintainers
Readme
@glideco/crosschain-bridge
Cross-chain bridging quote + dispatch shape layer for Glide. Pluggable adapters for Squid Router and Across Protocol — agent on chain A pays service on chain B; bridge transparently. Includes glide-internal for same-tenant vault hops (free, instant).
Pure functions, no IO. Actual SDK calls live in apps/web.
Install
npm install @glideco/crosschain-bridgeUsage
import { routeCandidates, aggregateQuotes } from '@glideco/crosschain-bridge';
const bridges = routeCandidates('base', 'sol'); // → ['squid']
const result = aggregateQuotes(quotes); // picks cheapest, drops staleLicense
MIT
