Skip to content

Wire swaps.xyz swap provider - #6128

Draft
j0ntz wants to merge 1 commit into
developfrom
jon/1217036054017879
Draft

Wire swaps.xyz swap provider#6128
j0ntz wants to merge 1 commit into
developfrom
jon/1217036054017879

Conversation

@j0ntz

@j0ntz j0ntz commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

Depends on EdgeApp/edge-exchange-plugins#480 (the swaps.xyz plugin). This PR is a draft until that PR merges, edge-exchange-plugins publishes a version containing the swapsxyz plugin, and this branch bumps edge-exchange-plugins to it.

Requirements

No visual changes (env/config wiring only).

Description

Wire the new swaps.xyz swap provider so the app initializes it:

  • src/envConfig.ts — add SWAPSXYZ_INIT core plugin init (apiKey).
  • src/util/corePlugins.ts — register swapsxyz: ENV.SWAPSXYZ_INIT in swapPlugins.

The runtime key is supplied via env.json SWAPSXYZ_INIT.apiKey. With a published edge-exchange-plugins containing the plugin, the app then offers swaps.xyz quotes.

Verified in-app on the iOS sim (with the plugin linked via updot and the key in env.json): a real Base ETH → USDC swap executed through swaps.xyz to the success scene. Evidence is attached to the plugin PR EdgeApp/edge-exchange-plugins#480.

Asana: https://app.asana.com/0/1215088146871429/1217036054017879

Add SWAPSXYZ_INIT core plugin init (envConfig) and register the swapsxyz
swap plugin in corePlugins so the app initializes the new
edge-exchange-plugins swaps.xyz provider from env.json SWAPSXYZ_INIT.apiKey.
Requires a published edge-exchange-plugins containing the swapsxyz plugin
plus a dependency bump before it is functional.
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