aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorVimal <vtiwari@coinswitch.co>2018-10-22 19:14:21 +0800
committerVimal <vtiwari@coinswitch.co>2018-10-22 19:14:21 +0800
commit82b11b69a5dea38a4a036096528354a5a291a447 (patch)
tree307832bdb1f8e07b941157901f86ebdd0d9aa560 /app/scripts
parent5504c8b9659f9345bb6d1b38d4d5ff91db1b6611 (diff)
downloadtangerine-wallet-browser-82b11b69a5dea38a4a036096528354a5a291a447.tar.gz
tangerine-wallet-browser-82b11b69a5dea38a4a036096528354a5a291a447.tar.zst
tangerine-wallet-browser-82b11b69a5dea38a4a036096528354a5a291a447.zip
Adding CoinSwitch exchange
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/lib/buy-eth-url.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/scripts/lib/buy-eth-url.js b/app/scripts/lib/buy-eth-url.js
index 4e2d0bc79..4b1572959 100644
--- a/app/scripts/lib/buy-eth-url.js
+++ b/app/scripts/lib/buy-eth-url.js
@@ -29,6 +29,10 @@ function getBuyEthUrl ({ network, amount, address }) {
case '42':
url = 'https://github.com/kovan-testnet/faucet'
break
+
+ case '5':
+ url = `https://metamask.coinswitch.co/?address=${address}&to=eth`
+ break
}
return url
}