Add SimpleSwap swap provider - #6144
Closed
j0ntz wants to merge 1 commit into
Closed
Conversation
Contributor
Author
Registers the SimpleSwap swap plugin from edge-exchange-plugins: the SIMPLESWAP_INIT env config, the core plugin entry, the provider icon and merchant contact, and the terms/privacy/AML links the swap terms modal shows before the first quote.
j0ntz
marked this pull request as ready for review
August 7, 2026 00:00
j0ntz
force-pushed
the
jon/1217205278669378
branch
from
August 7, 2026 00:00
7ec4c0f to
2138216
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Author
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
EdgeApp/edge-exchange-plugins#481 — the SimpleSwap plugin itself. This PR only registers it, so it is inert until that lands and publishes.
Requirements
If you have made any visual changes to the GUI. Make sure you have:
Description
Asana: https://app.asana.com/0/1215088146871429/1217205278669378
Registers SimpleSwap, the swap provider added in
EdgeApp/edge-exchange-plugins#481,
so the plugin the partner wrote actually loads in the app.
src/envConfig.ts—SIMPLESWAP_INITwith anapiKey, matching the othercentralized providers. An empty key makes the plugin factory throw, so builds
without the key skip SimpleSwap entirely.
src/util/corePlugins.ts— theswapPluginsentry.src/components/modals/SwapVerifyTermsModal.tsx— the terms, privacy andAML/KYC links shown before the first SimpleSwap quote.
src/actions/CategoriesActions.tsandsrc/constants/MerchantContacts.ts—the provider icon and merchant contact.
The icon path
exchangeIcons/simpleswap/icon.pngis not on the content serveryet; the asset upload is an ops step outside this repo.
Testing
Driven on the iOS simulator against the real SimpleSwap API, with every other
swap provider disabled locally so the engine had to route through SimpleSwap:
a live XLM to XMR swap from
My Stellarexecuted to the success scene, and theStellar send carried SimpleSwap's numeric deposit memo. Screenshots below.
Note
Low Risk
Registration-only GUI changes with no auth or payment logic; provider stays inactive without an API key and depends on the separate exchange-plugins release.
Overview
Adds SimpleSwap as a centralized swap provider in the app shell, aligned with other partners like SideShift and Swapuz. The live swap logic ships in
edge-exchange-plugins; this change only wires the provider into Edge.Configuration:
SIMPLESWAP_INITin env config accepts an optionalapiKey(same pattern as other centralized providers). An empty key means the plugin factory does not load SimpleSwap.User-facing: First-quote terms, privacy, and AML/KYC links in
SwapVerifyTermsModal, plus exchange icon mapping and a MerchantContacts entry for history/details branding.CHANGELOG notes SimpleSwap as a new swap provider.
Reviewed by Cursor Bugbot for commit 2138216. Bugbot is set up for automated code reviews on this repo. Configure here.