diff --git a/package.json b/package.json index 690752c2926..278ef294a8b 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "edge-currency-accountbased": "^4.24.6", "edge-currency-monero": "^1.3.1", "edge-currency-plugins": "^3.3.2", - "edge-exchange-plugins": "^2.7.5", + "edge-exchange-plugins": "https://github.com/EdgeApp/edge-exchange-plugins#31e4232", "edge-info-server": "^2.7.0", "edge-login-ui-rn": "^3.22.1", "ethers": "^5.7.2", diff --git a/src/actions/CategoriesActions.ts b/src/actions/CategoriesActions.ts index 95ae91518d3..cc96ce3e776 100644 --- a/src/actions/CategoriesActions.ts +++ b/src/actions/CategoriesActions.ts @@ -524,9 +524,9 @@ export const pluginIdIcons: Record = { rango: EDGE_CONTENT_SERVER_URI + '/rango.png', sideshift: EDGE_CONTENT_SERVER_URI + '/sideshift-logo.png', simplex: EDGE_CONTENT_SERVER_URI + '/simplex.png', + swapkit: EDGE_CONTENT_SERVER_URI + '/thorchain.png', swapuz: EDGE_CONTENT_SERVER_URI + '/swapuz.png', thorchain: EDGE_CONTENT_SERVER_URI + '/thorchain.png', - thorchainda: EDGE_CONTENT_SERVER_URI + '/thorchain.png', tronResources: EDGE_CONTENT_SERVER_URI + '/TRON/TRON.png', velodrome: EDGE_CONTENT_SERVER_URI + '/velodrome.png', xrpdex: EDGE_CONTENT_SERVER_URI + '/xrpdex.png' diff --git a/src/components/scenes/SwapProcessingScene.tsx b/src/components/scenes/SwapProcessingScene.tsx index 7c257a6f645..a15eda580f6 100644 --- a/src/components/scenes/SwapProcessingScene.tsx +++ b/src/components/scenes/SwapProcessingScene.tsx @@ -42,7 +42,12 @@ export function SwapProcessingScene(props: Props) { const toDenomination = useDisplayDenom(swapRequest.toWallet.currencyConfig, swapRequest.toTokenId) const doWork = async (): Promise => { + console.debug('🚀 - doWork - swapRequest:', swapRequest) + console.debug('🚀 - doWork - swapRequestOptions:', swapRequestOptions) const quotes = await account.fetchSwapQuotes(swapRequest, swapRequestOptions) + + console.debug('🚀 - doWork - quotes:', quotes) + return quotes } @@ -144,6 +149,7 @@ function processSwapQuoteError({ } const currencyError = asMaybeSwapCurrencyError(error) + console.debug(currencyError) if (currencyError != null) { const fromCurrencyCode = getCurrencyCode(swapRequest.fromWallet, swapRequest.fromTokenId) const toCurrencyCode = getCurrencyCode(swapRequest.toWallet, swapRequest.toTokenId) diff --git a/src/components/services/ContactsLoader.ts b/src/components/services/ContactsLoader.ts index abda5f99033..882ae5210d1 100644 --- a/src/components/services/ContactsLoader.ts +++ b/src/components/services/ContactsLoader.ts @@ -246,7 +246,7 @@ const merchantPartners = [ recordID: '' }, { - givenName: 'Thorchain DEX Aggregator', + givenName: 'Swap Kit', hasThumbnail: true, thumbnailPath: 'thorchain.png', emailAddresses: [], diff --git a/src/util/corePlugins.ts b/src/util/corePlugins.ts index 5b0fe0b06f4..0ea0dbc0cf5 100644 --- a/src/util/corePlugins.ts +++ b/src/util/corePlugins.ts @@ -89,7 +89,7 @@ export const swapPlugins = { rango: ENV.RANGO_INIT, spookySwap: false, thorchain: ENV.THORCHAIN_INIT, - thorchainda: ENV.THORCHAIN_INIT, + swapkit: ENV.THORCHAIN_INIT, tombSwap: ENV.TOMB_SWAP_INIT, velodrome: true, xrpdex: ENV.XRPDEX_INIT, diff --git a/yarn.lock b/yarn.lock index b490262240a..813fedc255e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9213,10 +9213,9 @@ edge-currency-plugins@^3.3.2: wifgrs "^2.0.6" ws "^7.4.6" -edge-exchange-plugins@^2.7.5: - version "2.7.5" - resolved "https://registry.yarnpkg.com/edge-exchange-plugins/-/edge-exchange-plugins-2.7.5.tgz#adcc53233aff46bcb6dd6df54aa642e3b72b2933" - integrity sha512-nvo2rwA6KSs4dzWd3HblupxSDC2ST/tnyhoRqLO6+IKM3n7sE7b4/UW6taquW57yHqD9+yeL6UwkJwW9gUrGtQ== +"edge-exchange-plugins@https://github.com/EdgeApp/edge-exchange-plugins#31e4232": + version "2.8.0" + resolved "https://github.com/EdgeApp/edge-exchange-plugins#31e423215ff08491459ef576ac837e1b5e92882a" dependencies: "@cosmjs/encoding" "^0.32.2" biggystring "^4.1.3"