← ClaudeAtlas

lifi-stablecoin-swaplisted

Build a production 1:1 stablecoin swap with LI.FI Intents — an interface or backend where the amount the user sends equals the amount they receive (no visible gas or solver fees), same-chain or cross-chain, filled by LI.FI's solver network and verifiable on-chain. USE THIS SKILL WHEN USER WANTS TO: - Build a 1:1 stablecoin swap interface ("send 100 USDC, receive 100 USDC"), same- or cross-chain - Add stablecoin transfers with a guaranteed output amount to an app, backend, or bot - Build enterprise/fintech-grade transfers with no visible gas or solver fees for the end user - Implement the LI.FI Intents quote -> approve -> escrow open -> status loop for stablecoins - Move USDC / USDT 1:1 across chains under an onboarded LI.FI integrator - Understand how the LI.FI integrator ID / Partner Portal enables 1:1 quoting - Use the @lifi/intent TypeScript SDK to quote, build, open, and track an intent order This skill is self-contained and covers the integration end to end via the `@lifi/intent` SDK (the primary path),
internet-court/internet-court-skill · ★ 5,854 · AI & Automation · score 78
Install: claude install-skill internet-court/internet-court-skill
# Build a 1:1 Stablecoin Swap with LI.FI Intents A normal crypto transfer leaks value to gas and spreads — send 100 USDC, ~99.8 arrives. For a neobank, payment processor, or regulated fintech, that's a non-starter: their users expect that sending 100 means 100 arrives. LI.FI Intents lets you offer exactly that — **send 100 USDC, receive 100 USDC** (or USDT, or another supported stablecoin), same-chain or cross-chain. A solver from LI.FI's network fronts the destination gas and sources the liquidity, then settles against the user's deposit, so the end user sees one number from start to finish, provable on a public block explorer. The primary integration is the **`@lifi/intent` TypeScript SDK** — it requests the quote, builds the on-chain order, and tracks it. The raw REST API is in §7 for non-TypeScript backends. --- ## 1. Enable 1:1 quoting on your integrator account 1:1 stablecoin quoting is a capability provisioned on your **LI.FI integrator account**: 1. Register an integrator ID on the **LI.FI Partner Portal** — https://portal.li.fi 2. Complete an integration agreement with LI.FI. As part of onboarding, 1:1 stablecoin quoting is enabled for your integrator. 3. Quote requests made **under your integrator key** then return 1:1 amounts for supported stablecoin pairs. The integration code below is identical regardless — what makes the quote come back 1:1 is your onboarded integrator. See https://docs.li.fi/lifi-intents/introduction or contact LI.FI to enable it.