Skip to content

feat(dapp): send avalanche naira off-ramps to linq - #199

Merged
0xDeon merged 1 commit into
mainfrom
feat/linq-avalanche
Nov 16, 2026
Merged

0xDeon merged 1 commit into
mainfrom
feat/linq-avalanche

Conversation

@0xDeon

@0xDeon 0xDeon commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Linq now takes USDC on the Avalanche C-Chain. Avalanche naira off-ramps go to Linq the same way Sui and Solana already do.

What changes

  • Order: every Avalanche NGN off-ramp is placed with Linq first. Weave takes it only when Linq can't: a bank Linq doesn't list, a failed account lookup, a different holder name, or an order Linq refuses or answers wrongly. Each fallback is reported as linq_<reason>.
  • Quote: Avalanche NGN shows Linq's locked rate at 0% cost.
  • Order check: Linq's answer must name chain avalanche, native USDC's contract (0xB97E…a6E) as coinType, a C-Chain deposit address that isn't zero or the USDC contract, and exactly the USDC asked. Bridged USDC.e, USDT, or any other contract is refused before an address is shown.
  • Refund address: sent checksummed, because Linq rejects a bad checksum with a 400.
  • Support assistant: its facts now say Linq pays Avalanche naira.

Unchanged

  • NEAR stays on Weave. Linq has no NEAR.
  • Non-naira currencies on Avalanche stay on Weave.
  • Deposit build, deposit check, status and webhook were already chain-generic for Linq rows.

Checks

  • Typecheck and lint are clean.
  • 385 of 385 unit test files pass.
  • New tests cover the Avalanche order (good answer, wrong chain, USDC.e, USDT, wrong address, wrong amount), Avalanche placement, the fallback to Weave, and the quote.

Not run

No real Avalanche Linq order has been made yet, funded or unfunded. The first real off-ramp should be small: about $1.

…inq can't take one

Linq now takes Circle's native USDC on the Avalanche C-Chain. An Avalanche naira off-ramp is
placed with Linq the way Sui and Solana are, and falls back to Weave only for a bank Linq doesn't
know or an order it refuses. The order Linq returns must name the avalanche chain, native USDC's
contract, a C-Chain deposit address and exactly the USDC asked; the refund address goes checksummed.
@netlify

netlify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for useintentadapp ready!

Name Link
🔨 Latest commit 104f5f2
🔍 Latest deploy log https://app.netlify.com/projects/useintentadapp/deploys/6afb10bede53732bb4d29981
😎 Deploy Preview https://deploy-preview-199--useintentadapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for useintent ready!

Name Link
🔨 Latest commit 104f5f2
🔍 Latest deploy log https://app.netlify.com/projects/useintent/deploys/6afb10bef985d37f164e1337
😎 Deploy Preview https://deploy-preview-199--useintent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@0xDeon
0xDeon merged commit 16b0520 into main Nov 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant