Skip to content

Commit e83ffad

Browse files
authored
Merge pull request #6023 from EdgeApp/jon/nym-swap
Enable NYM swap provider
2 parents 1e5c6ee + 9db3df5 commit e83ffad

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased (develop)
44

5+
- added: NYM swap provider (`nymswap`)
56
- changed: Route maestro test builds to a dedicated Zealot channel so they no longer appear in the production release list.
67
- changed: Hide the wallet "Get Raw Keys" option behind Developer Mode, while still showing it for wallets that fail to load.
78
- removed: SideShift `privateKey` from env config; the swap integration no longer sends the affiliate secret header.

src/envConfig.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,11 @@ export const asEnvConfig = asObject({
355355
}).withRest
356356
),
357357
NYM_INIT: asCorePluginInit(asBoolean),
358+
NYM_SWAP_INIT: asCorePluginInit(
359+
asObject({
360+
apiKey: asOptional(asString, '')
361+
}).withRest
362+
),
358363
OPBNB_INIT: asCorePluginInit(asEvmApiKeys),
359364
OPTIMISM_INIT: asCorePluginInit(asEvmApiKeys),
360365
OSMOSIS_INIT: asCorePluginInit(asEvmApiKeys),

src/util/corePlugins.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export const swapPlugins = {
100100
sideshift: ENV.SIDESHIFT_INIT,
101101
swapuz: ENV.SWAPUZ_INIT,
102102
xgram: ENV.XGRAM_INIT,
103+
nymswap: ENV.NYM_SWAP_INIT,
103104

104105
// Defi Swaps
105106
bridgeless: true,

0 commit comments

Comments
 (0)