add snt config to work across networks
This commit is contained in:
parent
0105e704f9
commit
ddda112419
|
@ -1,5 +1,6 @@
|
||||||
import StandardToken from 'Embark/contracts/StandardToken'
|
import StandardToken from 'Embark/contracts/StandardToken'
|
||||||
import SNT from 'Embark/contracts/SNT'
|
import SNT from 'Embark/contracts/SNT'
|
||||||
|
import sntIco from 'cryptocurrency-icons/svg/color/snt.svg'
|
||||||
|
|
||||||
export const TOKEN_ICON_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/images'
|
export const TOKEN_ICON_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/images'
|
||||||
export const TOKEN_COIN_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/coins'
|
export const TOKEN_COIN_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/coins'
|
||||||
|
@ -12,6 +13,7 @@ export const currencies = [
|
||||||
{
|
{
|
||||||
value: SNT._address,
|
value: SNT._address,
|
||||||
label: 'Status (SNT)',
|
label: 'Status (SNT)',
|
||||||
|
img: sntIco
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359',
|
value: '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359',
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
"async": "^2.4.0",
|
"async": "^2.4.0",
|
||||||
"chai": "^4.1.0",
|
"chai": "^4.1.0",
|
||||||
"chart.js": "^2.7.3",
|
"chart.js": "^2.7.3",
|
||||||
|
"cryptocurrency-icons": "^0.9.3",
|
||||||
"cytoscape": "^3.3.0",
|
"cytoscape": "^3.3.0",
|
||||||
"cytoscape-cose-bilkent": "^4.0.0",
|
"cytoscape-cose-bilkent": "^4.0.0",
|
||||||
"cytoscape-dagre": "^2.2.2",
|
"cytoscape-dagre": "^2.2.2",
|
||||||
|
|
17
yarn.lock
17
yarn.lock
|
@ -1955,6 +1955,11 @@ crypto-js@^3.1.4:
|
||||||
version "3.1.8"
|
version "3.1.8"
|
||||||
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-3.1.8.tgz#715f070bf6014f2ae992a98b3929258b713f08d5"
|
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-3.1.8.tgz#715f070bf6014f2ae992a98b3929258b713f08d5"
|
||||||
|
|
||||||
|
cryptocurrency-icons@^0.9.3:
|
||||||
|
version "0.9.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/cryptocurrency-icons/-/cryptocurrency-icons-0.9.3.tgz#a126ac0f5cb90129fbf15741838e538ead3a670f"
|
||||||
|
integrity sha512-yqGn/uBdP1Kw2GGjh/W17fDc23VC5t7tOl+AtDrcrm1qQrXfQkZKuVFlA+gdhRfKWmsZmuBUzFX9w8WQTxKvLQ==
|
||||||
|
|
||||||
css-vendor@^0.3.8:
|
css-vendor@^0.3.8:
|
||||||
version "0.3.8"
|
version "0.3.8"
|
||||||
resolved "https://registry.yarnpkg.com/css-vendor/-/css-vendor-0.3.8.tgz#6421cfd3034ce664fe7673972fd0119fc28941fa"
|
resolved "https://registry.yarnpkg.com/css-vendor/-/css-vendor-0.3.8.tgz#6421cfd3034ce664fe7673972fd0119fc28941fa"
|
||||||
|
@ -5063,11 +5068,6 @@ ms@^2.1.1:
|
||||||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a"
|
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a"
|
||||||
integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==
|
integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==
|
||||||
|
|
||||||
murmurhash-js@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/murmurhash-js/-/murmurhash-js-1.0.0.tgz#b06278e21fc6c37fa5313732b0412bcb6ae15f51"
|
|
||||||
integrity sha1-sGJ44h/Gw3+lMTcysEEry2rhX1E=
|
|
||||||
|
|
||||||
mute-stream@0.0.7:
|
mute-stream@0.0.7:
|
||||||
version "0.0.7"
|
version "0.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
|
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
|
||||||
|
@ -5722,13 +5722,6 @@ random-bytes@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/random-bytes/-/random-bytes-1.0.0.tgz#4f68a1dc0ae58bd3fb95848c30324db75d64360b"
|
resolved "https://registry.yarnpkg.com/random-bytes/-/random-bytes-1.0.0.tgz#4f68a1dc0ae58bd3fb95848c30324db75d64360b"
|
||||||
|
|
||||||
random-material-color@^1.0.3:
|
|
||||||
version "1.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/random-material-color/-/random-material-color-1.0.3.tgz#14d60d20413b9b46bf02f9a2f2cd4aa21a139a37"
|
|
||||||
integrity sha1-FNYNIEE7m0a/Avmi8s1KohoTmjc=
|
|
||||||
dependencies:
|
|
||||||
murmurhash-js "^1.0.0"
|
|
||||||
|
|
||||||
randomatic@^3.0.0:
|
randomatic@^3.0.0:
|
||||||
version "3.1.1"
|
version "3.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed"
|
resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed"
|
||||||
|
|
Loading…
Reference in New Issue