Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ce46ffc
chore: remove unused browser supabase client
Shreyassp002 May 30, 2026
50e031b
chore: remove orphaned wallet store
Shreyassp002 May 30, 2026
38b0a65
chore: remove unused Dither background component
Shreyassp002 May 30, 2026
189305b
chore: remove unused UpdatePaymentLinkInput type
Shreyassp002 May 30, 2026
f4becba
feat(tokens): add collapseTokensBySymbol to dedupe same-symbol variants
Shreyassp002 May 30, 2026
fa5ce84
fix(tokens): collapse duplicate USDC/SOL across live and cache token …
Shreyassp002 May 30, 2026
3af9396
fix(ui): show one canonical row per token symbol in payment selector
Shreyassp002 May 30, 2026
bfb1aaf
test(tokens): cover collapseTokensBySymbol and normalizeSymbolKey
Shreyassp002 May 30, 2026
1c10b26
chore: ignore provider-logs probe output
Shreyassp002 May 30, 2026
f6c3532
chore: ignore docs/ planning folder
Shreyassp002 May 31, 2026
a2a537a
feat(quotes): add decimal-normalized netOutput ranking with consensus…
Shreyassp002 May 31, 2026
8d7adc5
refactor(quotes): use shared ranking module in aggregator
Shreyassp002 May 31, 2026
dfbba43
fix(providers): emit real toTokenDecimals so ranking compares like-fo…
Shreyassp002 May 31, 2026
50b43b4
feat(executor): add deriveChainFamily to classify deposit source chains
Shreyassp002 May 31, 2026
a7faa9d
fix(near): derive real chain family + forward deposit memo to status …
Shreyassp002 May 31, 2026
c17ae0c
fix(executor): block unsupported deposit chains and forward NEAR depo…
Shreyassp002 May 31, 2026
9e28398
fix(types): add depositMemo + 'other' chainType so Phase 2 type-checks
Shreyassp002 May 31, 2026
08d1072
fix(quotes): rank against authoritative destination decimals, not maj…
Shreyassp002 May 31, 2026
fd1911a
fix(near): forward deposit memo through status-poll path end-to-end
Shreyassp002 May 31, 2026
27c604b
fix(quotes): convert on-top fees to token units via price for non-sta…
Shreyassp002 May 31, 2026
ab12dfa
test(quotes): drop stale duplicate ranking tests, keep normalizeChainId
Shreyassp002 May 31, 2026
a6ea47a
fix(ui): send destination token decimals to quote API for fair ranking
Shreyassp002 May 31, 2026
6b75dde
feat(executor): add real Solana execution path for non-NEAR providers
Shreyassp002 May 31, 2026
ac34639
fix(rubic): drop quotes with no executable transaction data
Shreyassp002 May 31, 2026
c102254
fix(quotes): convert on-top fees to dest-token units via price in net…
Shreyassp002 May 31, 2026
2acadb8
feat(quotes): validate chain address-space and reject unsupported cha…
Shreyassp002 May 31, 2026
a284284
feat(pay): surface unsupported-chain reason in payment UI instead of …
Shreyassp002 May 31, 2026
4e123d7
chore(test): apply prettier formatting to chain-address tests
Shreyassp002 May 31, 2026
5bf59a8
fix(symbiosis): use real fee/decimals from response and drop unexecut…
Shreyassp002 May 31, 2026
1dcdc8d
fix(executor): keep cross-chain atomic swaps at submitted and drop CC…
Shreyassp002 May 31, 2026
f8071c8
fix(cctp): fail closed on missing iris fee and label deducted bridge …
Shreyassp002 May 31, 2026
3b32926
chore(symbiosis): apply prettier formatting
Shreyassp002 May 31, 2026
35f6002
fix(rubic): parse deposit-trade route shape and send refundAddress fo…
Shreyassp002 May 31, 2026
91bf7fc
fix(rubic): store deposit amountToSend in raw base units to prevent u…
Shreyassp002 May 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ next-env.d.ts
.agent/
/documentation/
/inspiration/
provider-logs/

# Local planning/specs — never commit
docs/
7 changes: 5 additions & 2 deletions src/app/api/quotes/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const quoteSchema = z.object({
fromAddress: z.string().optional(),
toAddress: z.string().optional(),
fromTokenDecimals: z.number().optional(),
toTokenDecimals: z.number().optional(),
})

export async function POST(request: Request) {
Expand All @@ -31,10 +32,12 @@ export async function POST(request: Request) {
fromTokenDecimals: params.fromTokenDecimals,
})

return NextResponse.json({
success: true,
return NextResponse.json({
success: true,
routes: result.quotes,
bestQuote: result.bestQuote,
unsupported: result.unsupported ?? false,
reason: result.reason,
expiresAt: result.expiresAt,
fetchedAt: result.fetchedAt,
providerStats: result.providerStats,
Expand Down
333 changes: 0 additions & 333 deletions src/components/Dither.tsx

This file was deleted.

Loading
Loading