From dafb71718c3f7ac07061a1483b20472982e79fc6 Mon Sep 17 00:00:00 2001 From: Jon Tzeng Date: Fri, 13 Feb 2026 13:11:01 -0800 Subject: [PATCH] Register n.exchange (nexchange) swap plugin --- CHANGELOG.md | 1 + src/envConfig.ts | 6 ++++++ src/util/corePlugins.ts | 1 + 3 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90dcc78c628..e74aa0c7cd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ - changed: Distinguish network vs service errors in gift card scenes - changed: Lock network fee to high priority for gift card purchases - changed: Pad gift card purchase quantity by 0.00000002 to mitigate underpayments +- added: Register n.exchange (nexchange) swap plugin - changed: Manage tokens scene saves changes on explicit save instead of live toggling - changed: Unify split wallet scene titles and add chain-specific descriptions for EVM and UTXO splits - changed: ramps: Infinite buy support enabled diff --git a/src/envConfig.ts b/src/envConfig.ts index dc64a02c998..01b8a8a85af 100644 --- a/src/envConfig.ts +++ b/src/envConfig.ts @@ -350,6 +350,12 @@ export const asEnvConfig = asObject({ edgeApiKey: asOptional(asString, '') }).withRest ), + NEXCHANGE_INIT: asCorePluginInit( + asObject({ + apiKey: asOptional(asString, ''), + referralCode: asOptional(asString, '') + }).withRest + ), NYM_INIT: asCorePluginInit(asBoolean), OPBNB_INIT: asCorePluginInit(asEvmApiKeys), OPTIMISM_INIT: asCorePluginInit(asEvmApiKeys), diff --git a/src/util/corePlugins.ts b/src/util/corePlugins.ts index c35f336cb29..92157971f0c 100644 --- a/src/util/corePlugins.ts +++ b/src/util/corePlugins.ts @@ -97,6 +97,7 @@ export const swapPlugins = { godex: ENV.GODEX_INIT, lifi: ENV.LIFI_INIT, letsexchange: ENV.LETSEXCHANGE_INIT, + nexchange: ENV.NEXCHANGE_INIT, sideshift: ENV.SIDESHIFT_INIT, swapuz: ENV.SWAPUZ_INIT,