diff --git a/src/components/services/ContactsLoader.ts b/src/components/services/ContactsLoader.ts index 021ccb0fd2e..2b8e88fc13e 100644 --- a/src/components/services/ContactsLoader.ts +++ b/src/components/services/ContactsLoader.ts @@ -304,6 +304,18 @@ const merchantPartners = [ jobTitle: '', familyName: '', recordID: '' + }, + { + givenName: 'Rango Exchange', + hasThumbnail: true, + thumbnailPath: 'rango.png', + emailAddresses: [], + postalAddresses: [], + middleName: '', + company: '', + jobTitle: '', + familyName: '', + recordID: '' } ].map(({ thumbnailPath, ...rest }) => ({ ...rest, thumbnailPath: `${EDGE_CONTENT_SERVER_URI}/${thumbnailPath}` })) diff --git a/src/envConfig.ts b/src/envConfig.ts index eec9a4826a2..0a00c08c79d 100644 --- a/src/envConfig.ts +++ b/src/envConfig.ts @@ -235,6 +235,14 @@ export const asEnvConfig = asObject({ appId: asOptional(asString, 'edge') }).withRest ), + RANGO_INIT: asCorePluginInit( + asObject({ + appId: asOptional(asString, 'edge'), + rangoApiKey: asOptional(asString, ''), + referrerAddress: asOptional(asString, ''), + referrerFee: asOptional(asString, '0.5') + }).withRest + ), // App options: APP_CONFIG: asOptional(asString, 'edge'), diff --git a/src/util/corePlugins.ts b/src/util/corePlugins.ts index 49189ff8d32..d9f282ee4a2 100644 --- a/src/util/corePlugins.ts +++ b/src/util/corePlugins.ts @@ -90,6 +90,7 @@ export const swapPlugins = { thorchainda: ENV.THORCHAIN_INIT, velodrome: true, xrpdex: ENV.XRPDEX_INIT, + rango: ENV.RANGO_INIT, cosmosibc: true, transfer: true