From bf89da6d234350da6326131af7d8cfb960ced4e3 Mon Sep 17 00:00:00 2001 From: bludnic Date: Fri, 3 Nov 2023 20:31:36 +0000 Subject: [PATCH 1/2] feat(adamant-wallets): list FLUX and BZZ tokens --- src/components/icons/cryptos/BzzIcon.vue | 9 + src/components/icons/cryptos/FluxIcon.vue | 11 + src/components/icons/cryptos/SklIcon.vue | 14 + src/config/production.json | 15 +- src/lib/constants/cryptos/data.json | 359 ++++++++++++---------- 5 files changed, 246 insertions(+), 162 deletions(-) create mode 100644 src/components/icons/cryptos/BzzIcon.vue create mode 100644 src/components/icons/cryptos/FluxIcon.vue create mode 100644 src/components/icons/cryptos/SklIcon.vue diff --git a/src/components/icons/cryptos/BzzIcon.vue b/src/components/icons/cryptos/BzzIcon.vue new file mode 100644 index 000000000..e02dce657 --- /dev/null +++ b/src/components/icons/cryptos/BzzIcon.vue @@ -0,0 +1,9 @@ + diff --git a/src/components/icons/cryptos/FluxIcon.vue b/src/components/icons/cryptos/FluxIcon.vue new file mode 100644 index 000000000..c3e266813 --- /dev/null +++ b/src/components/icons/cryptos/FluxIcon.vue @@ -0,0 +1,11 @@ + diff --git a/src/components/icons/cryptos/SklIcon.vue b/src/components/icons/cryptos/SklIcon.vue new file mode 100644 index 000000000..b96194421 --- /dev/null +++ b/src/components/icons/cryptos/SklIcon.vue @@ -0,0 +1,14 @@ + diff --git a/src/config/production.json b/src/config/production.json index 4aa1b7719..fe4d42067 100644 --- a/src/config/production.json +++ b/src/config/production.json @@ -40,10 +40,12 @@ ], "btc": [ { - "url": "https://btcnode1.adamant.im" + "url": "https://btcnode1.adamant.im", + "alt_ip": "http://176.9.38.204:44099" }, { - "url": "https://btcnode2.adamant.im" + "url": "https://btcnode2.adamant.im", + "alt_ip": "http://176.9.32.126:44099" } ], "dash": [ @@ -56,12 +58,19 @@ "url": "https://dogenode1.adamant.im" }, { - "url": "https://dogenode2.adamant.im" + "url": "https://dogenode2.adamant.im", + "alt_ip": "http://176.9.32.126:44098" } ], "eth": [ { "url": "https://ethnode1.adamant.im", + "alt_ip": "http://95.216.41.106:44099", + "hasIndex": true + }, + { + "url": "https://ethnode2.adamant.im", + "alt_ip": "http://95.216.114.252:44099", "hasIndex": true } ], diff --git a/src/lib/constants/cryptos/data.json b/src/lib/constants/cryptos/data.json index 5e568a5f2..b125870cd 100644 --- a/src/lib/constants/cryptos/data.json +++ b/src/lib/constants/cryptos/data.json @@ -55,60 +55,6 @@ "defaultOrdinalLevel": 0, "explorerTx": "https://explorer.adamant.im/tx/${ID}" }, - "BNB": { - "symbol": "BNB", - "name": "Binance Coin", - "decimals": 18, - "contractId": "0xB8c77482e45F1F44dE1745F52C74426C631bDD52", - "createCoin": false, - "cryptoTransferDecimals": 6, - "defaultGasLimit": 58000, - "status": "active", - "mainCoin": "ETH", - "type": "ERC20", - "fees": "ethereum" - }, - "BUSD": { - "symbol": "BUSD", - "name": "Binance USD", - "decimals": 18, - "contractId": "0x4fabb145d64652a948d72533023f6e7a623c7c53", - "createCoin": false, - "cryptoTransferDecimals": 6, - "defaultGasLimit": 58000, - "status": "active", - "mainCoin": "ETH", - "type": "ERC20", - "fees": "ethereum" - }, - "DASH": { - "symbol": "DASH", - "name": "Dash", - "qrPrefix": "dash", - "minBalance": 0.0001, - "regexAddress": "^[7X][1-9A-HJ-NP-Za-km-z]{33,}$", - "decimals": 8, - "minTransferAmount": 0.00002, - "nodes": [ - { - "url": "https://dashnode1.adamant.im" - } - ], - "createCoin": true, - "cryptoTransferDecimals": 8, - "fixedFee": 0.0001, - "defaultVisibility": true, - "txFetchInfo": { - "newPendingInterval": 5000, - "oldPendingInterval": 3000, - "registeredInterval": 30000, - "newPendingAttempts": 20, - "oldPendingAttempts": 4 - }, - "txConsistencyMaxTime": 800000, - "defaultOrdinalLevel": 80, - "explorerTx": "https://dashblockexplorer.com/tx/${ID}" - }, "BTC": { "symbol": "BTC", "name": "Bitcoin", @@ -119,10 +65,12 @@ "minTransferAmount": 0.00000546, "nodes": [ { - "url": "https://btcnode1.adamant.im" + "url": "https://btcnode1.adamant.im", + "alt_ip": "http://176.9.38.204:44099" }, { - "url": "https://btcnode2.adamant.im" + "url": "https://btcnode2.adamant.im", + "alt_ip": "http://176.9.32.126:44099" } ], "createCoin": true, @@ -140,16 +88,42 @@ "defaultOrdinalLevel": 10, "explorerTx": "https://explorer.btc.com/btc/transaction/${ID}" }, - "DAI": { - "symbol": "DAI", - "name": "Dai", - "decimals": 18, - "contractId": "0x6b175474e89094c44da98b954eedeac495271d0f", + "BZZ": { + "symbol": "BZZ", + "name": "Swarm", + "decimals": 16, + "contractId": "0x19062190B1925b5b6689D7073fDfC8c2976EF8Cb", "createCoin": false, "cryptoTransferDecimals": 6, "defaultVisibility": true, "defaultGasLimit": 58000, - "defaultOrdinalLevel": 50, + "defaultOrdinalLevel": 95, + "status": "active", + "mainCoin": "ETH", + "type": "ERC20", + "fees": "ethereum" + }, + "BUSD": { + "symbol": "BUSD", + "name": "Binance USD", + "decimals": 18, + "contractId": "0x4fabb145d64652a948d72533023f6e7a623c7c53", + "createCoin": false, + "cryptoTransferDecimals": 6, + "defaultGasLimit": 58000, + "status": "active", + "mainCoin": "ETH", + "type": "ERC20", + "fees": "ethereum" + }, + "BNB": { + "symbol": "BNB", + "name": "Binance Coin", + "decimals": 18, + "contractId": "0xB8c77482e45F1F44dE1745F52C74426C631bDD52", + "createCoin": false, + "cryptoTransferDecimals": 6, + "defaultGasLimit": 58000, "status": "active", "mainCoin": "ETH", "type": "ERC20", @@ -167,7 +141,8 @@ "url": "https://dogenode1.adamant.im" }, { - "url": "https://dogenode2.adamant.im" + "url": "https://dogenode2.adamant.im", + "alt_ip": "http://176.9.32.126:44098" } ], "createCoin": true, @@ -185,65 +160,41 @@ "defaultOrdinalLevel": 70, "explorerTx": "https://dogechain.info/tx/${ID}" }, - "ENS": { - "symbol": "ENS", - "name": "Ethereum Name Service", + "DAI": { + "symbol": "DAI", + "name": "Dai", "decimals": 18, - "contractId": "0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72", + "contractId": "0x6b175474e89094c44da98b954eedeac495271d0f", "createCoin": false, "cryptoTransferDecimals": 6, + "defaultVisibility": true, "defaultGasLimit": 58000, + "defaultOrdinalLevel": 50, "status": "active", "mainCoin": "ETH", "type": "ERC20", "fees": "ethereum" }, - "HOT": { - "symbol": "HOT", - "name": "Holo", - "decimals": 18, - "contractId": "0x6c6ee5e31d828de241282b9606c8e98ea48526e2", + "FLUX": { + "symbol": "FLUX", + "name": "Flux", + "decimals": 8, + "contractId": "0x720CD16b011b987Da3518fbf38c3071d4F0D1495", "createCoin": false, "cryptoTransferDecimals": 6, + "defaultVisibility": true, "defaultGasLimit": 58000, + "defaultOrdinalLevel": 90, "status": "active", "mainCoin": "ETH", "type": "ERC20", "fees": "ethereum" }, - "ETH": { - "symbol": "ETH", - "name": "Ethereum", - "qrPrefix": "ethereum", - "regexAddress": "^0x[0-9a-fA-F]{40}$", - "decimals": 18, - "nodes": [ - { - "url": "https://ethnode1.adamant.im", - "hasIndex": true - } - ], - "createCoin": true, - "cryptoTransferDecimals": 6, - "defaultVisibility": true, - "defaultGasLimit": 22000, - "defaultGasPriceGwei": 30, - "txFetchInfo": { - "newPendingInterval": 4000, - "oldPendingInterval": 3000, - "registeredInterval": 5000, - "newPendingAttempts": 20, - "oldPendingAttempts": 4 - }, - "txConsistencyMaxTime": 1200000, - "defaultOrdinalLevel": 20, - "explorerTx": "https://etherscan.io/tx/${ID}" - }, - "LINK": { - "symbol": "LINK", - "name": "Chainlink", + "ENS": { + "symbol": "ENS", + "name": "Ethereum Name Service", "decimals": 18, - "contractId": "0x514910771af9ca656af840dff83e8264ecf986ca", + "contractId": "0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72", "createCoin": false, "cryptoTransferDecimals": 6, "defaultGasLimit": 58000, @@ -267,6 +218,32 @@ "type": "ERC20", "fees": "ethereum" }, + "HOT": { + "symbol": "HOT", + "name": "Holo", + "decimals": 18, + "contractId": "0x6c6ee5e31d828de241282b9606c8e98ea48526e2", + "createCoin": false, + "cryptoTransferDecimals": 6, + "defaultGasLimit": 58000, + "status": "active", + "mainCoin": "ETH", + "type": "ERC20", + "fees": "ethereum" + }, + "LINK": { + "symbol": "LINK", + "name": "Chainlink", + "decimals": 18, + "contractId": "0x514910771af9ca656af840dff83e8264ecf986ca", + "createCoin": false, + "cryptoTransferDecimals": 6, + "defaultGasLimit": 58000, + "status": "active", + "mainCoin": "ETH", + "type": "ERC20", + "fees": "ethereum" + }, "LSK": { "symbol": "LSK", "name": "Lisk", @@ -310,18 +287,67 @@ "type": "ERC20", "fees": "ethereum" }, - "PAXG": { - "symbol": "PAXG", - "name": "PAX Gold", + "ETH": { + "symbol": "ETH", + "name": "Ethereum", + "qrPrefix": "ethereum", + "regexAddress": "^0x[0-9a-fA-F]{40}$", "decimals": 18, - "contractId": "0x45804880de22913dafe09f4980848ece6ecbaf78", - "createCoin": false, + "nodes": [ + { + "url": "https://ethnode1.adamant.im", + "alt_ip": "http://95.216.41.106:44099", + "hasIndex": true + }, + { + "url": "https://ethnode2.adamant.im", + "alt_ip": "http://95.216.114.252:44099", + "hasIndex": true + } + ], + "createCoin": true, "cryptoTransferDecimals": 6, - "defaultGasLimit": 58000, - "status": "active", - "mainCoin": "ETH", - "type": "ERC20", - "fees": "ethereum" + "defaultVisibility": true, + "defaultGasLimit": 22000, + "defaultGasPriceGwei": 30, + "txFetchInfo": { + "newPendingInterval": 4000, + "oldPendingInterval": 3000, + "registeredInterval": 5000, + "newPendingAttempts": 20, + "oldPendingAttempts": 4 + }, + "txConsistencyMaxTime": 1200000, + "defaultOrdinalLevel": 20, + "explorerTx": "https://etherscan.io/tx/${ID}" + }, + "DASH": { + "symbol": "DASH", + "name": "Dash", + "qrPrefix": "dash", + "minBalance": 0.0001, + "regexAddress": "^[7X][1-9A-HJ-NP-Za-km-z]{33,}$", + "decimals": 8, + "minTransferAmount": 0.00002, + "nodes": [ + { + "url": "https://dashnode1.adamant.im" + } + ], + "createCoin": true, + "cryptoTransferDecimals": 8, + "fixedFee": 0.0001, + "defaultVisibility": true, + "txFetchInfo": { + "newPendingInterval": 5000, + "oldPendingInterval": 3000, + "registeredInterval": 30000, + "newPendingAttempts": 20, + "oldPendingAttempts": 4 + }, + "txConsistencyMaxTime": 800000, + "defaultOrdinalLevel": 80, + "explorerTx": "https://dashblockexplorer.com/tx/${ID}" }, "MATIC": { "symbol": "MATIC", @@ -351,6 +377,19 @@ "type": "ERC20", "fees": "ethereum" }, + "PAXG": { + "symbol": "PAXG", + "name": "PAX Gold", + "decimals": 18, + "contractId": "0x45804880de22913dafe09f4980848ece6ecbaf78", + "createCoin": false, + "cryptoTransferDecimals": 6, + "defaultGasLimit": 58000, + "status": "active", + "mainCoin": "ETH", + "type": "ERC20", + "fees": "ethereum" + }, "REN": { "symbol": "REN", "name": "Ren", @@ -377,11 +416,11 @@ "type": "ERC20", "fees": "ethereum" }, - "TUSD": { - "symbol": "TUSD", - "name": "TrueUSD", + "SNX": { + "symbol": "SNX", + "name": "Synthetix Network", "decimals": 18, - "contractId": "0x0000000000085d4780b73119b644ae5ecd22b376", + "contractId": "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f", "createCoin": false, "cryptoTransferDecimals": 6, "defaultGasLimit": 58000, @@ -390,24 +429,39 @@ "type": "ERC20", "fees": "ethereum" }, - "UNI": { - "symbol": "UNI", - "name": "Uniswap", + "SKL": { + "symbol": "SKL", + "name": "SKALE", "decimals": 18, - "contractId": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", + "contractId": "0x00c83aecc790e8a4453e5dd3b0b4b3680501a7a7", "createCoin": false, "cryptoTransferDecimals": 6, + "defaultVisibility": true, "defaultGasLimit": 58000, + "defaultOrdinalLevel": 85, "status": "active", "mainCoin": "ETH", "type": "ERC20", "fees": "ethereum" }, - "SKL": { - "symbol": "SKL", - "name": "SKALE", + "TUSD": { + "symbol": "TUSD", + "name": "TrueUSD", "decimals": 18, - "contractId": "0x00c83aecc790e8a4453e5dd3b0b4b3680501a7a7", + "contractId": "0x0000000000085d4780b73119b644ae5ecd22b376", + "createCoin": false, + "cryptoTransferDecimals": 6, + "defaultGasLimit": 58000, + "status": "active", + "mainCoin": "ETH", + "type": "ERC20", + "fees": "ethereum" + }, + "UNI": { + "symbol": "UNI", + "name": "Uniswap", + "decimals": 18, + "contractId": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", "createCoin": false, "cryptoTransferDecimals": 6, "defaultGasLimit": 58000, @@ -444,11 +498,11 @@ "type": "ERC20", "fees": "ethereum" }, - "WOO": { - "symbol": "WOO", - "name": "WOO Network", - "decimals": 18, - "contractId": "0x4691937a7508860f876c9c0a2a617e7d9e945d4b", + "USDS": { + "symbol": "USDS", + "name": "Stably USD", + "decimals": 6, + "contractId": "0xa4bdb11dc0a2bec88d24a3aa1e6bb17201112ebe", "createCoin": false, "cryptoTransferDecimals": 6, "defaultGasLimit": 58000, @@ -472,54 +526,41 @@ "type": "ERC20", "fees": "ethereum" }, - "XCN": { - "symbol": "XCN", - "name": "Onyxcoin", + "VERSE": { + "symbol": "VERSE", + "name": "Verse", "decimals": 18, - "contractId": "0xa2cd3d43c775978a96bdbf12d733d5a1ed94fb18", + "contractId": "0x249cA82617eC3DfB2589c4c17ab7EC9765350a18", "createCoin": false, "cryptoTransferDecimals": 6, "defaultVisibility": true, "defaultGasLimit": 58000, - "defaultOrdinalLevel": 100, - "status": "active", - "mainCoin": "ETH", - "type": "ERC20", - "fees": "ethereum" - }, - "SNX": { - "symbol": "SNX", - "name": "Synthetix Network", - "decimals": 18, - "contractId": "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f", - "createCoin": false, - "cryptoTransferDecimals": 6, - "defaultGasLimit": 58000, + "defaultOrdinalLevel": 95, "status": "active", "mainCoin": "ETH", "type": "ERC20", "fees": "ethereum" }, - "VERSE": { - "symbol": "VERSE", - "name": "Verse", + "XCN": { + "symbol": "XCN", + "name": "Onyxcoin", "decimals": 18, - "contractId": "0x249cA82617eC3DfB2589c4c17ab7EC9765350a18", + "contractId": "0xa2cd3d43c775978a96bdbf12d733d5a1ed94fb18", "createCoin": false, "cryptoTransferDecimals": 6, "defaultVisibility": true, "defaultGasLimit": 58000, - "defaultOrdinalLevel": 95, + "defaultOrdinalLevel": 100, "status": "active", "mainCoin": "ETH", "type": "ERC20", "fees": "ethereum" }, - "USDS": { - "symbol": "USDS", - "name": "Stably USD", - "decimals": 6, - "contractId": "0xa4bdb11dc0a2bec88d24a3aa1e6bb17201112ebe", + "WOO": { + "symbol": "WOO", + "name": "WOO Network", + "decimals": 18, + "contractId": "0x4691937a7508860f876c9c0a2a617e7d9e945d4b", "createCoin": false, "cryptoTransferDecimals": 6, "defaultGasLimit": 58000, From 874f5979216602f53600b374df9c25bee03b3d94 Mon Sep 17 00:00:00 2001 From: bludnic Date: Fri, 3 Nov 2023 20:32:56 +0000 Subject: [PATCH 2/2] chore: bump version to 4.2.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 40f8459fb..c9e4de94e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "adamant-im", - "version": "4.2.1", + "version": "4.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "adamant-im", - "version": "4.2.1", + "version": "4.2.2", "hasInstallScript": true, "license": "GPLv3", "dependencies": { diff --git a/package.json b/package.json index 259e6b845..d5620a2d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adamant-im", - "version": "4.2.1", + "version": "4.2.2", "author": "ADAMANT Foundation ", "license": "GPLv3", "description": "Decentralized Messenger",