Skip to content

Commit

Permalink
feat(sell): add eur/gbp to sidenav
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Jul 16, 2020
1 parent 10e2a05 commit 08f55b4
Show file tree
Hide file tree
Showing 11 changed files with 520 additions and 407 deletions.
224 changes: 128 additions & 96 deletions config/mocks/wallet-options-v4.json
Expand Up @@ -16,29 +16,37 @@
"url": "https://games.bitcoin.com/slots?cma=20190619_blockchainwalletS&utm_source=blockchainwallet_S&utm_medium=banner&utm_campaign=20190619_blockchainwalletS"
},
"coins": {
"ALGO": {
"availability": {
"send": false,
"request": false,
"lockbox": false,
"exchangeTo": false,
"exchangeFrom": false,
"syncToPit": false
"EUR": {
"availability": {},
"coinCode": "EUR",
"coinTicker": "EUR",
"colorCode": "fiat",
"displayName": "Euro",
"icons": {
"default": "eur",
"circle": "eur",
"circleFilled": "eur"
},
"coinCode": "ALGO",
"coinTicker": "ALGO",
"colorCode": "algo",
"displayName": "Algorand",
"hasLockboxSupport": false,
"learnMoreLink": "",
"minConfirmations": 0,
"txExplorerBaseUrl": "",
"txListAppRoute": "/eur/transactions"
},
"GBP": {
"availability": {},
"coinCode": "GBP",
"coinTicker": "GBP",
"colorCode": "fiat",
"displayName": "British Pound",
"icons": {
"default": "algo",
"circle": "algo",
"circleFilled": "algo"
"default": "gbp",
"circle": "gbp",
"circleFilled": "gbp"
},
"learnMoreLink": "",
"minConfirmations": 3,
"minConfirmations": 0,
"txExplorerBaseUrl": "",
"txListAppRoute": "/algo/transactions"
"txListAppRoute": "/gbp/transactions"
},
"BTC": {
"availability": {
Expand Down Expand Up @@ -67,6 +75,34 @@
"txExplorerBaseUrl": "https://blockchain.com/btc/tx",
"txListAppRoute": "/btc/transactions"
},
"ETH": {
"availability": {
"send": true,
"request": true,
"lockbox": true,
"exchangeTo": true,
"exchangeFrom": true,
"syncToPit": true
},
"coinCode": "ETH",
"coinTicker": "ETH",
"colorCode": "eth",
"displayName": "Ether",
"config": {
"network": 1
},
"hasLockboxSupport": true,
"icons": {
"default": "eth",
"circle": "eth-circle",
"circleFilled": "eth-circle-filled"
},
"learnMoreLink": "https://support.blockchain.com/hc/en-us/sections/360000003163-Ethereum-FAQ",
"lastTxFuse": 600,
"minConfirmations": 12,
"txExplorerBaseUrl": "https://www.blockchain.com/eth/tx",
"txListAppRoute": "/eth/transactions"
},
"BCH": {
"availability": {
"send": true,
Expand Down Expand Up @@ -113,84 +149,6 @@
"minConfirmations": 3,
"txExplorerBaseUrl": "https://blockchair.com/bitcoin-sv/transaction"
},
"USDT": {
"availability": {
"send": true,
"request": true,
"lockbox": false,
"exchangeTo": true,
"exchangeFrom": true,
"syncToPit": true
},
"coinCode": "USDT",
"coinTicker": "USDT",
"colorCode": "usdt",
"contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"displayName": "Tether",
"hasLockboxSupport": false,
"icons": {
"default": "usdt",
"circle": "usdt",
"circleFilled": "usdt"
},
"learnMoreLink": " https://support.blockchain.com/hc/en-us/articles/360044952032",
"minConfirmations": 12,
"txExplorerBaseUrl": "https://www.blockchain.com/eth/tx",
"txListAppRoute": "/usdt/transactions"
},
"ETH": {
"availability": {
"send": true,
"request": true,
"lockbox": true,
"exchangeTo": true,
"exchangeFrom": true,
"syncToPit": true
},
"coinCode": "ETH",
"coinTicker": "ETH",
"colorCode": "eth",
"displayName": "Ether",
"config": {
"network": 1
},
"hasLockboxSupport": true,
"icons": {
"default": "eth",
"circle": "eth-circle",
"circleFilled": "eth-circle-filled"
},
"learnMoreLink": "https://support.blockchain.com/hc/en-us/sections/360000003163-Ethereum-FAQ",
"lastTxFuse": 600,
"minConfirmations": 12,
"txExplorerBaseUrl": "https://www.blockchain.com/eth/tx",
"txListAppRoute": "/eth/transactions"
},
"PAX": {
"availability": {
"send": true,
"request": true,
"lockbox": false,
"exchangeTo": true,
"exchangeFrom": true,
"syncToPit": true
},
"coinCode": "PAX",
"coinTicker": "USD-D",
"colorCode": "usd-d",
"contractAddress": "0x8e870d67f660d95d5be530380d0ec0bd388289e1",
"displayName": "USD Digital",
"hasLockboxSupport": false,
"icons": {
"default": "usd-d",
"circle": "usd-d",
"circleFilled": "usd-d"
},
"learnMoreLink": "https://support.blockchain.com/hc/en-us/sections/360004368351-USD-Digital-previously-USD-PAX-FAQ",
"minConfirmations": 12,
"txExplorerBaseUrl": "https://www.blockchain.com/eth/tx",
"txListAppRoute": "/usd-d/transactions"
},
"XLM": {
"airdrop": {
"link": "https://support.blockchain.com/hc/en-us/categories/360001126692-Crypto-Giveaway",
Expand Down Expand Up @@ -260,6 +218,80 @@
"minConfirmations": 1,
"txExplorerBaseUrl": "https://stellarchain.io/tx",
"txListAppRoute": "/xlm/transactions"
},
"ALGO": {
"availability": {
"send": false,
"request": false,
"lockbox": false,
"exchangeTo": false,
"exchangeFrom": false,
"syncToPit": false
},
"coinCode": "ALGO",
"coinTicker": "ALGO",
"colorCode": "algo",
"displayName": "Algorand",
"hasLockboxSupport": false,
"icons": {
"default": "algo",
"circle": "algo",
"circleFilled": "algo"
},
"learnMoreLink": "",
"minConfirmations": 3,
"txExplorerBaseUrl": "",
"txListAppRoute": "/algo/transactions"
},
"PAX": {
"availability": {
"send": true,
"request": true,
"lockbox": false,
"exchangeTo": true,
"exchangeFrom": true,
"syncToPit": true
},
"coinCode": "PAX",
"coinTicker": "USD-D",
"colorCode": "usd-d",
"contractAddress": "0x8e870d67f660d95d5be530380d0ec0bd388289e1",
"displayName": "USD Digital",
"hasLockboxSupport": false,
"icons": {
"default": "usd-d",
"circle": "usd-d",
"circleFilled": "usd-d"
},
"learnMoreLink": "https://support.blockchain.com/hc/en-us/sections/360004368351-USD-Digital-previously-USD-PAX-FAQ",
"minConfirmations": 12,
"txExplorerBaseUrl": "https://www.blockchain.com/eth/tx",
"txListAppRoute": "/usd-d/transactions"
},
"USDT": {
"availability": {
"send": true,
"request": true,
"lockbox": false,
"exchangeTo": true,
"exchangeFrom": true,
"syncToPit": true
},
"coinCode": "USDT",
"coinTicker": "USDT",
"colorCode": "usdt",
"contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"displayName": "Tether",
"hasLockboxSupport": false,
"icons": {
"default": "usdt",
"circle": "usdt",
"circleFilled": "usdt"
},
"learnMoreLink": " https://support.blockchain.com/hc/en-us/articles/360044952032",
"minConfirmations": 12,
"txExplorerBaseUrl": "https://www.blockchain.com/eth/tx",
"txListAppRoute": "/usdt/transactions"
}
},
"thePit": {
Expand Down
1 change: 1 addition & 0 deletions packages/blockchain-info-components/src/Colors/DarkMode.ts
Expand Up @@ -68,6 +68,7 @@ const DarkTheme: DefaultTheme = {
red700: '#B2251B',
red800: '#99180F',
red900: '#800900',
fiat: '#339F7B',
algo: '#000000',
btc: '#FF9B22',
'btc-light': '#FFF2E5',
Expand Down
1 change: 1 addition & 0 deletions packages/blockchain-info-components/src/Colors/Default.ts
Expand Up @@ -65,6 +65,7 @@ const Default = {
red700: '#B2251B',
red800: '#99180F',
red900: '#800900',
fiat: '#339F7B',
algo: '#000000',
btc: '#FF9B22',
'btc-light': 'rgba(255, 155, 34, 0.15)',
Expand Down
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.

0 comments on commit 08f55b4

Please sign in to comment.