Edge exchange plugin swapter - #455
Open
markovo4 wants to merge 3 commits into
Open
Conversation
j0ntz
added a commit
that referenced
this pull request
Jul 15, 2026
Recreates partner PR #455 (author markovo4) on an EdgeApp branch, rebased onto master, with the integration brought to current plugin conventions: - Route quotes through getMaxSwappable so max swaps resolve, using a quote-only probe order that prices fees against the user's own refund address rather than creating an order that would be abandoned. - Drop the estimate round trip. Its response was fetched and discarded; create returns the authoritative amounts and the probe only needs a spendInfo to price fees. - Correct nine chain mappings against the live /data/coins network list. Swapter has renamed several networks since the partner branch was cut (ARBITRUM to ARB, OPTIMISM to OP, POLYGON to POL, SOLANA to SOL, ETHW to 'ETHEREUM POW'), which silently broke those chains. Bitcoin SV, Coreum, FIO and Telos are no longer offered in a form Edge can use, so they map to null. - Regenerate the partnerJson fixture from /data/coins so it reflects Swapter's real network identifiers and stays a subset of the mapping. The partner branch also added a self-referential edge-exchange-plugins dependency and a TypeScript 6 upgrade; both are dropped as unrelated.
j0ntz
added a commit
that referenced
this pull request
Jul 15, 2026
Recreates partner PR #455 (author markovo4) on an EdgeApp branch, rebased onto master, with the integration brought to current plugin conventions: - Route quotes through getMaxSwappable so max swaps resolve, using a quote-only probe order that prices fees against the user's own refund address rather than creating an order that would be abandoned. - Drop the estimate round trip. Its response was fetched and discarded; create returns the authoritative amounts and the probe only needs a spendInfo to price fees. - Correct nine chain mappings against the live /data/coins network list. Swapter has renamed several networks since the partner branch was cut (ARBITRUM to ARB, OPTIMISM to OP, POLYGON to POL, SOLANA to SOL, ETHW to 'ETHEREUM POW'), which silently broke those chains. Bitcoin SV, Coreum, FIO and Telos are no longer offered in a form Edge can use, so they map to null. - Regenerate the partnerJson fixture from /data/coins so it reflects Swapter's real network identifiers and stays a subset of the mapping. The partner branch also added a self-referential edge-exchange-plugins dependency and a TypeScript 6 upgrade; both are dropped as unrelated.
j0ntz
added a commit
that referenced
this pull request
Jul 15, 2026
Recreates partner PR #455 (author markovo4) on an EdgeApp branch, rebased onto master, with the integration brought to current plugin conventions: - Route quotes through getMaxSwappable so max swaps resolve, using a quote-only probe order that prices fees against the user's own refund address rather than creating an order that would be abandoned. - Drop the estimate round trip. Its response was fetched and discarded; create returns the authoritative amounts and the probe only needs a spendInfo to price fees. - Correct nine chain mappings against the live /data/coins network list. Swapter has renamed several networks since the partner branch was cut (ARBITRUM to ARB, OPTIMISM to OP, POLYGON to POL, SOLANA to SOL, ETHW to 'ETHEREUM POW'), which silently broke those chains. Bitcoin SV, Coreum, FIO and Telos are no longer offered in a form Edge can use, so they map to null. - Regenerate the partnerJson fixture from /data/coins so it reflects Swapter's real network identifiers and stays a subset of the mapping. The partner branch also added a self-referential edge-exchange-plugins dependency and a TypeScript 6 upgrade; both are dropped as unrelated.
j0ntz
added a commit
that referenced
this pull request
Jul 23, 2026
Recreates partner PR #455 (author markovo4) on an EdgeApp branch, rebased onto master, with the integration brought to current plugin conventions: - Route quotes through getMaxSwappable so max swaps resolve, using a quote-only probe order that prices fees against the user's own refund address rather than creating an order that would be abandoned. - Drop the estimate round trip. Its response was fetched and discarded; create returns the authoritative amounts and the probe only needs a spendInfo to price fees. - Correct nine chain mappings against the live /data/coins network list. Swapter has renamed several networks since the partner branch was cut (ARBITRUM to ARB, OPTIMISM to OP, POLYGON to POL, SOLANA to SOL, ETHW to 'ETHEREUM POW'), which silently broke those chains. Bitcoin SV, Coreum, FIO and Telos are no longer offered in a form Edge can use, so they map to null. - Regenerate the partnerJson fixture from /data/coins so it reflects Swapter's real network identifiers and stays a subset of the mapping. The partner branch also added a self-referential edge-exchange-plugins dependency and a TypeScript 6 upgrade; both are dropped as unrelated.
j0ntz
added a commit
that referenced
this pull request
Jul 23, 2026
Recreates partner PR #455 (author markovo4) on an EdgeApp branch, rebased onto master, with the integration brought to current plugin conventions: - Route quotes through getMaxSwappable so max swaps resolve, using a quote-only probe order that prices fees against the user's own refund address rather than creating an order that would be abandoned. - Drop the estimate round trip. Its response was fetched and discarded; create returns the authoritative amounts and the probe only needs a spendInfo to price fees. - Correct nine chain mappings against the live /data/coins network list. Swapter has renamed several networks since the partner branch was cut (ARBITRUM to ARB, OPTIMISM to OP, POLYGON to POL, SOLANA to SOL, ETHW to 'ETHEREUM POW'), which silently broke those chains. Bitcoin SV, Coreum, FIO and Telos are no longer offered in a form Edge can use, so they map to null. - Regenerate the partnerJson fixture from /data/coins so it reflects Swapter's real network identifiers and stays a subset of the mapping. The partner branch also added a self-referential edge-exchange-plugins dependency and a TypeScript 6 upgrade; both are dropped as unrelated.
j0ntz
added a commit
that referenced
this pull request
Jul 28, 2026
Recreates partner PR #455 (author markovo4) on an EdgeApp branch, rebased onto master, with the integration brought to current plugin conventions: - Route quotes through getMaxSwappable so max swaps resolve, using a quote-only probe order that prices fees against the user's own refund address rather than creating an order that would be abandoned. - Drop the estimate round trip. Its response was fetched and discarded; create returns the authoritative amounts and the probe only needs a spendInfo to price fees. - Correct nine chain mappings against the live /data/coins network list. Swapter has renamed several networks since the partner branch was cut (ARBITRUM to ARB, OPTIMISM to OP, POLYGON to POL, SOLANA to SOL, ETHW to 'ETHEREUM POW'), which silently broke those chains. Bitcoin SV, Coreum, FIO and Telos are no longer offered in a form Edge can use, so they map to null. - Regenerate the partnerJson fixture from /data/coins so it reflects Swapter's real network identifiers and stays a subset of the mapping. The partner branch also added a self-referential edge-exchange-plugins dependency and a TypeScript 6 upgrade; both are dropped as unrelated.
j0ntz
added a commit
that referenced
this pull request
Jul 28, 2026
Recreates partner PR #455 (author markovo4) on an EdgeApp branch, rebased onto master, with the integration brought to current plugin conventions: - Route quotes through getMaxSwappable so max swaps resolve, using a quote-only probe order that prices fees against the user's own refund address rather than creating an order that would be abandoned. - Drop the estimate round trip. Its response was fetched and discarded; create returns the authoritative amounts and the probe only needs a spendInfo to price fees. - Correct nine chain mappings against the live /data/coins network list. Swapter has renamed several networks since the partner branch was cut (ARBITRUM to ARB, OPTIMISM to OP, POLYGON to POL, SOLANA to SOL, ETHW to 'ETHEREUM POW'), which silently broke those chains. Bitcoin SV, Coreum, FIO and Telos are no longer offered in a form Edge can use, so they map to null. - Regenerate the partnerJson fixture from /data/coins so it reflects Swapter's real network identifiers and stays a subset of the mapping. The partner branch also added a self-referential edge-exchange-plugins dependency and a TypeScript 6 upgrade; both are dropped as unrelated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
none
Description
Added support for the Swapter swap provider, including asset discovery, quote generation, minimum amount checks, and swap creation for fixed and floating rate exchanges.