Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- added: "Force Light Account Creation" developer mode setting
- added: Allow promoCards to send promoCodes to fiat partners for special pricing
- added: Allow promoCard URLs to specify a currency pluginId to have replaced with a public address
- added: Rango Exchange DEX aggregator support
- changed: Prefer DEX estimate quotes over CEX fixed rate quotes if the DEX quote has a better rate
- changed: Light account backup notification card now persists no matter what while logged in to a light account
- changed: Replaced 'react-native-camera' with 'react-native-vision-camera'
Expand Down
12 changes: 12 additions & 0 deletions src/components/services/ContactsLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}` }))

Expand Down
8 changes: 8 additions & 0 deletions src/envConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ export const asEnvConfig = asObject({

POLYGON_INIT: asCorePluginInit(asEvmApiKeys),
MUMBAI_INIT: asCorePluginInit(asEvmApiKeys),
RANGO_INIT: asCorePluginInit(
asObject({
appId: asOptional(asString, 'edge'),
rangoApiKey: asOptional(asString, ''),
referrerAddress: asOptional(asString, ''),
referrerFee: asOptional(asString, '0.75')
}).withRest
),
SIDESHIFT_INIT: asCorePluginInit(
asObject({
affiliateId: asOptional(asString, '')
Expand Down
3 changes: 2 additions & 1 deletion src/util/corePlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ export const swapPlugins = {
swapuz: ENV.SWAPUZ_INIT,

// Defi Swaps
tombSwap: ENV.TOMB_SWAP_INIT,
rango: ENV.RANGO_INIT,
spookySwap: false,
thorchain: ENV.THORCHAIN_INIT,
thorchainda: ENV.THORCHAIN_INIT,
tombSwap: ENV.TOMB_SWAP_INIT,
velodrome: true,
xrpdex: ENV.XRPDEX_INIT,

Expand Down