Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove currencies and update Electrums #599

Merged
merged 19 commits into from Apr 18, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
184 changes: 45 additions & 139 deletions app/marketmaker/supported-currencies.js
Expand Up @@ -46,12 +46,6 @@ const supportedCurrencies = [
etomic: '0x5ca9a71b1d01849c0a95490cc00559717fcf0d1d',
rpcport: 80,
},
{
coin: 'AION',
name: 'Aion',
etomic: '0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466',
rpcport: 80,
},
{
coin: 'AMB',
name: 'Ambrosus',
Expand Down Expand Up @@ -103,7 +97,7 @@ const supportedCurrencies = [
txfee: 1000,
electrumServers: [
{
host: 'bch.imaginary.cash',
host: 'electron.coinucopia.io',
port: 50001,
},
{
Expand All @@ -115,7 +109,11 @@ const supportedCurrencies = [
port: 50001,
},
{
host: 'abc1.hsmiths.com',
host: 'electron-cash.dragon.zone',
port: 60001,
},
{
host: 'wallet.satoshiscoffeehouse.com',
port: 60001,
},
],
Expand Down Expand Up @@ -339,16 +337,20 @@ const supportedCurrencies = [
txfee: 50000,
electrumServers: [
{
host: 'electrum1.cipig.net',
port: 10057,
host: 'ele1.bitcore.cc',
port: 50001,
},
{
host: 'electrum2.cipig.net',
port: 10057,
host: 'ele2.bitcore.cc',
port: 50001,
},
{
host: 'electrum3.cipig.net',
port: 10057,
host: 'ele3.bitcore.cc',
port: 50001,
},
{
host: 'ele4.bitcore.cc',
port: 50001,
},
],
},
Expand Down Expand Up @@ -420,13 +422,7 @@ const supportedCurrencies = [
rpcport: 80,
},
{
coin: 'CMT',
name: 'CyberMiles',
etomic: '0xf85feea2fdd81d51177f6b8f35f0e6734ce45f5f',
rpcport: 80,
},
{
coin: 'CC',
coin: 'CCL',
name: 'CoinCollect',
asset: 'CCL',
rpcport: 20849,
Expand Down Expand Up @@ -772,12 +768,6 @@ const supportedCurrencies = [
etomic: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c',
rpcport: 80,
},
{
coin: 'EOS',
name: 'EOS',
etomic: '0x86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0',
rpcport: 80,
},
{
coin: 'EQLI',
name: 'Equaliser',
Expand Down Expand Up @@ -837,7 +827,7 @@ const supportedCurrencies = [
pubtype: 95,
p2shtype: 36,
wiftype: 223,
txfee: 1000000,
txfee: 2000000,
electrumServers: [
{
host: 'electrum1.cipig.net',
Expand Down Expand Up @@ -896,16 +886,20 @@ const supportedCurrencies = [
txfee: 1000000,
electrumServers: [
{
host: 'electrum1.cipig.net',
port: 10074,
host: 'electrumx-gb-1.feathercoin.network',
port: 50001,
},
{
host: 'electrum2.cipig.net',
port: 10074,
host: 'electrumx-gb-2.feathercoin.network',
port: 50001,
},
{
host: 'electrum3.cipig.net',
port: 10074,
host: 'electrumx-ch-1.feathercoin.ch',
port: 50001,
},
{
host: 'electrumx-de-2.feathercoin.ch',
port: 50001,
},
],
},
Expand Down Expand Up @@ -943,28 +937,6 @@ const supportedCurrencies = [
},
],
},
{
coin: 'GBX',
rpcport: 12454,
pubtype: 38,
p2shtype: 10,
wiftype: 198,
txfee: 10000,
electrumServers: [
{
host: 'electrum1.cipig.net',
port: 10073,
},
{
host: 'electrum2.cipig.net',
port: 10073,
},
{
host: 'electrum3.cipig.net',
port: 10073,
},
],
},
{
coin: 'GLXT',
name: 'GLX Token',
Expand Down Expand Up @@ -1125,13 +1097,6 @@ const supportedCurrencies = [
etomic: '0x888666CA69E0f178DED6D75b5726Cee99A87D698',
rpcport: 80,
},
{
coin: 'ICX',
name: 'ICON',
etomic: '0xb5a5f22694352c15b00323844ad545abb2b11028',
decimals: 18,
rpcport: 80,
},
{
coin: 'IND',
name: 'Indorse Token',
Expand Down Expand Up @@ -1270,15 +1235,15 @@ const supportedCurrencies = [
port: 50001,
},
{
host: 'ltc01.knas.systems',
host: 'node.ispol.sk',
port: 50003,
},
{
host: 'electrum-ltc.wilv.in',
port: 50001,
},
{
host: 'electrum.ltc.xurious.com',
host: 'backup.electrum-ltc.org',
port: 50001,
},
],
Expand All @@ -1295,12 +1260,6 @@ const supportedCurrencies = [
etomic: '0xdd41fbd1ae95c5d9b198174a28e04be6b3d1aa27',
rpcport: 80,
},
{
coin: 'MAN',
name: 'Matrix AI Network',
etomic: '0xe25bcec5d3801ce3a794079bf94adf1b8ccd802d',
rpcport: 80,
},
{
coin: 'MANA',
name: 'Decentraland',
Expand Down Expand Up @@ -1470,12 +1429,6 @@ const supportedCurrencies = [
etomic: '0x58a4884182d9e835597f405e5f258290e46ae7c2',
rpcport: 80,
},
{
coin: 'NULS',
name: 'Nuls',
etomic: '0xb91318f35bdb262e9423bc7c7c2a3a93dd93c92c',
rpcport: 80,
},
{
coin: 'OCC',
name: 'Original Crypto Coin',
Expand Down Expand Up @@ -1555,17 +1508,17 @@ const supportedCurrencies = [
rpcport: 80,
},
{
coin: 'PGT',
coin: 'PUNGO',
name: 'Pungo Token',
asset: 'PGT',
rpcport: 46705,
electrumServers: [
{
host: 'agama.komodo.build',
host: 'electrum1.pungo.cloud',
port: 10002,
},
{
host: 'agama2.komodo.build',
host: 'electrum2.pungo.cloud',
port: 10002,
},
],
Expand Down Expand Up @@ -1596,28 +1549,6 @@ const supportedCurrencies = [
etomic: '0xD8912C10681D8B21Fd3742244f44658dBA12264E',
rpcport: 80,
},
{
coin: 'POLIS',
rpcport: 24127,
pubtype: 55,
p2shtype: 56,
wiftype: 60,
txfee: 10000,
electrumServers: [
{
host: 'electrum1.cipig.net',
port: 10075,
},
{
host: 'electrum2.cipig.net',
port: 10075,
},
{
host: 'electrum3.cipig.net',
port: 10075,
},
],
},
{
coin: 'POLY',
name: 'Polymath',
Expand Down Expand Up @@ -1663,7 +1594,7 @@ const supportedCurrencies = [
{
coin: 'QBIT',
name: 'Qubitica',
etomic: '0xcb5ea3c190d8f82deadf7ce5af855ddbf33e3962',
etomic: '0x1602af2C782cC03F9241992E243290Fccf73Bb13',
rpcport: 80,
},
{
Expand Down Expand Up @@ -1930,7 +1861,7 @@ const supportedCurrencies = [
{
coin: 'SUB',
name: 'Substratum',
etomic: '0x12480e24eb5bec1a9d4369cab6a80cad3c0a377a',
etomic: '0x8D75959f1E61EC2571aa72798237101F084DE63a',
rpcport: 80,
},
{
Expand Down Expand Up @@ -1965,12 +1896,6 @@ const supportedCurrencies = [
etomic: '0xE7775A6e9Bcf904eb39DA2b68c5efb4F9360e08C',
rpcport: 80,
},
{
coin: 'THETA',
name: 'Theta Token',
etomic: '0x3883f5e181fccaF8410FA61e12b59BAd963fb645',
rpcport: 80,
},
{
coin: 'TIME',
name: 'Chronobank',
Expand All @@ -1992,7 +1917,7 @@ const supportedCurrencies = [
{
coin: 'TUSD',
name: 'TrueUSD',
etomic: '0x8dd5fbce2f6a956c3022ba3663759011dd51e73e',
etomic: '0x0000000000085d4780B73119b644AE5ecd22b376',
rpcport: 80,
},
{
Expand All @@ -2007,12 +1932,6 @@ const supportedCurrencies = [
etomic: '0xdac17f958d2ee523a2206206994597c13d831ec7',
rpcport: 80,
},
{
coin: 'VEN',
name: 'VeChain',
etomic: '0xd850942ef8811f2a866692a623011bde52a462c1',
rpcport: 80,
},
{
coin: 'VIA',
rpcport: 5222,
Expand All @@ -2021,6 +1940,14 @@ const supportedCurrencies = [
wiftype: 199,
txfee: 100000,
electrumServers: [
{
host: 'server.vialectrum.org',
port: 50001,
},
{
host: 'server2.vialectrum.org',
port: 50001,
},
{
host: 'viax1.bitops.me',
port: 50001,
Expand Down Expand Up @@ -2133,28 +2060,6 @@ const supportedCurrencies = [
etomic: '0x4DF812F6064def1e5e029f1ca858777CC98D2D81',
rpcport: 80,
},
{
coin: 'XMCC',
rpcport: 24156,
pubtype: 50,
p2shtype: 73,
wiftype: 77,
txfee: 10000,
electrumServers: [
{
host: 'electrum1.cipig.net',
port: 10076,
},
{
host: 'electrum2.cipig.net',
port: 10076,
},
{
host: 'electrum3.cipig.net',
port: 10076,
},
],
},
{
coin: 'XOV',
name: 'XOVBank',
Expand All @@ -2169,6 +2074,7 @@ const supportedCurrencies = [
pubtype: 40,
p2shtype: 45,
wiftype: 128,
txversion: 4,
txfee: 10000,
electrumServers: [
{
Expand Down
13 changes: 13 additions & 0 deletions app/portfolio-util.js
Expand Up @@ -32,6 +32,19 @@ const removedCurrencies = [
'BCBC',
'QMC',
'MNZ',
'GBX',
'XMCC',
'POLIS',
'PGT',
'CC',
'THETA',
'MAN',
'CMT',
'NULS',
'ICX',
'AION',
'VEN',
'EOS',
];

const createPortfolio = async ({name, seedPhrase, password}) => {
Expand Down