From 6678df4d8cdf80925972c7bb635fc55bfcab4867 Mon Sep 17 00:00:00 2001 From: Christophe Le Bars Date: Sat, 18 Dec 2021 16:32:15 -0500 Subject: [PATCH] bump deps+update chains --- package-lock.json | 31 +++-- package.json | 7 +- src/chains.js | 316 +++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 306 insertions(+), 48 deletions(-) diff --git a/package-lock.json b/package-lock.json index 287440c..c3913f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,16 +8,19 @@ "name": "svelte-web3", "version": "2.3.4", "license": "MIT", + "dependencies": { + "svelte": "^3.0.0" + }, "devDependencies": { "eslint-plugin-svelte3": "^3.2.1", "release-it": "^14.11.8", - "rollup": "^2.60.2", + "rollup": "^2.61.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-dts": "^4.0.1", "rollup-plugin-livereload": "^2.0.5", "rollup-plugin-svelte": "^7.1.0", "sirv-cli": "^1.0.14", - "svelte": "^3.44.2", + "svelte": "^3.44.3", "web3": "1.6.1" } }, @@ -6490,9 +6493,9 @@ "dev": true }, "node_modules/rollup": { - "version": "2.60.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.60.2.tgz", - "integrity": "sha512-1Bgjpq61sPjgoZzuiDSGvbI1tD91giZABgjCQBKM5aYLnzjq52GoDuWVwT/cm/MCxCMPU8gqQvkj8doQ5C8Oqw==", + "version": "2.61.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.61.1.tgz", + "integrity": "sha512-BbTXlEvB8d+XFbK/7E5doIcRtxWPRiqr0eb5vQ0+2paMM04Ye4PZY5nHOQef2ix24l/L0SpLd5hwcH15QHPdvA==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -7190,9 +7193,9 @@ } }, "node_modules/svelte": { - "version": "3.44.2", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.44.2.tgz", - "integrity": "sha512-jrZhZtmH3ZMweXg1Q15onb8QlWD+a5T5Oca4C1jYvSURp2oD35h4A5TV6t6MEa93K4LlX6BkafZPdQoFjw/ylA==", + "version": "3.44.3", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.44.3.tgz", + "integrity": "sha512-aGgrNCip5PQFNfq9e9tmm7EYxWLVHoFsEsmKrtOeRD8dmoGDdyTQ+21xd7qgFd8MNdKGSYvg7F9dr+Tc0yDymg==", "dev": true, "engines": { "node": ">= 8" @@ -13680,9 +13683,9 @@ } }, "rollup": { - "version": "2.60.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.60.2.tgz", - "integrity": "sha512-1Bgjpq61sPjgoZzuiDSGvbI1tD91giZABgjCQBKM5aYLnzjq52GoDuWVwT/cm/MCxCMPU8gqQvkj8doQ5C8Oqw==", + "version": "2.61.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.61.1.tgz", + "integrity": "sha512-BbTXlEvB8d+XFbK/7E5doIcRtxWPRiqr0eb5vQ0+2paMM04Ye4PZY5nHOQef2ix24l/L0SpLd5hwcH15QHPdvA==", "dev": true, "requires": { "fsevents": "~2.3.2" @@ -14197,9 +14200,9 @@ } }, "svelte": { - "version": "3.44.2", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.44.2.tgz", - "integrity": "sha512-jrZhZtmH3ZMweXg1Q15onb8QlWD+a5T5Oca4C1jYvSURp2oD35h4A5TV6t6MEa93K4LlX6BkafZPdQoFjw/ylA==", + "version": "3.44.3", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.44.3.tgz", + "integrity": "sha512-aGgrNCip5PQFNfq9e9tmm7EYxWLVHoFsEsmKrtOeRD8dmoGDdyTQ+21xd7qgFd8MNdKGSYvg7F9dr+Tc0yDymg==", "dev": true }, "swarm-js": { diff --git a/package.json b/package.json index 6b8a965..403669b 100644 --- a/package.json +++ b/package.json @@ -16,16 +16,19 @@ "update-chains": "node ./scripts/update-chains.js", "build": "rollup -c" }, + "dependencies": { + "svelte": "^3.0.0" + }, "devDependencies": { "eslint-plugin-svelte3": "^3.2.1", "release-it": "^14.11.8", - "rollup": "^2.60.2", + "rollup": "^2.61.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-dts": "^4.0.1", "rollup-plugin-livereload": "^2.0.5", "rollup-plugin-svelte": "^7.1.0", "sirv-cli": "^1.0.14", - "svelte": "^3.44.2", + "svelte": "^3.44.3", "web3": "1.6.1" }, "release-it": { diff --git a/src/chains.js b/src/chains.js index db95438..5447c23 100644 --- a/src/chains.js +++ b/src/chains.js @@ -510,6 +510,19 @@ const chains = [ chainId: 33, networkId: 33 }, + { + name: 'Dithereum Testnet', + chain: 'DTH', + network: 'testnet', + icon: 'dithereum', + rpc: [ 'https://node-testnet.dithereum.io' ], + faucets: [ 'https://faucet.dithereum.org' ], + nativeCurrency: { name: 'Dither', symbol: 'DTH', decimals: 18 }, + infoURL: 'https://dithereum.org', + shortName: 'dth', + chainId: 34, + networkId: 34 + }, { name: 'TBWG Chain', chain: 'TBWG', @@ -591,25 +604,45 @@ const chains = [ name: 'Darwinia Pangolin Testnet', chain: 'pangolin', network: 'free testnet', - rpc: [], - faucets: [], - nativeCurrency: { name: 'Pangolin RING', symbol: 'PRING', decimals: 9 }, + rpc: [ 'http://pangolin-rpc.darwinia.network' ], + faucets: [ + 'https://docs.crab.network/dvm/wallets/dvm-metamask#apply-for-the-test-token' + ], + nativeCurrency: { + name: 'Pangolin Network Native Token”', + symbol: 'PRING', + decimals: 9 + }, infoURL: 'https://darwinia.network/', shortName: 'darwinia', chainId: 43, - networkId: 43 + networkId: 43, + explorers: [ + { + name: 'subscan', + url: 'https://pangolin.subscan.io', + standard: 'none' + } + ] }, { name: 'Darwinia Crab Network', chain: 'crab', network: 'Crab network', - rpc: [], + rpc: [ 'http://crab-rpc.darwinia.network' ], faucets: [], - nativeCurrency: { name: 'Crab Token', symbol: 'CRING', decimals: 9 }, + nativeCurrency: { name: 'Crab Network Native Token', symbol: 'CRAB', decimals: 9 }, infoURL: 'https://crab.network/', shortName: 'crab', chainId: 44, - networkId: 44 + networkId: 44, + explorers: [ + { + name: 'subscan', + url: 'https://crab.subscan.io', + standard: 'none' + } + ] }, { name: 'XinFin Network Mainnet', @@ -639,29 +672,43 @@ const chains = [ name: 'CoinEx Smart Chain Mainnet', chain: 'CSC', network: 'mainnet', - rpc: [ 'https://rpc-mainnet.coinex.net' ], + rpc: [ 'https://rpc.coinex.net' ], faucets: [], nativeCurrency: { name: 'CoinEx Chain Native Token', symbol: 'cet', decimals: 18 }, - infoURL: 'http://www.coinex.org/', + infoURL: 'https://www.coinex.org/', shortName: 'cet', chainId: 52, - networkId: 52 + networkId: 52, + explorers: [ + { + name: 'coinexscan', + url: 'https://www.coinex.net/', + standard: 'none' + } + ] }, { name: 'CoinEx Smart Chain Testnet', chain: 'CSC', network: 'testnet', - rpc: [ 'https://rpc-testnet.coinex.net' ], + rpc: [ 'https://testnet-rpc.coinex.net/' ], faucets: [], nativeCurrency: { name: 'CoinEx Chain Test Native Token', symbol: 'cett', decimals: 18 }, - infoURL: 'http://www.coinex.org/', + infoURL: 'https://www.coinex.org/', shortName: 'tcet', chainId: 53, - networkId: 53 + networkId: 53, + explorers: [ + { + name: 'coinexscan', + url: 'https://testnet.coinex.net/', + standard: 'none' + } + ] }, { name: 'Zyx Mainnet', @@ -723,6 +770,25 @@ const chains = [ } ] }, + { + name: 'Syscoin Mainnet', + chain: 'SYS', + network: 'mainnet', + rpc: [ 'https://rpc.syscoin.org', 'wss://rpc.syscoin.org/wss' ], + faucets: [ 'https://faucet.syscoin.org' ], + nativeCurrency: { name: 'Syscoin', symbol: 'SYS', decimals: 18 }, + infoURL: 'https://www.syscoin.org', + shortName: 'sys', + chainId: 57, + networkId: 57, + explorers: [ + { + name: 'Syscoin Block Explorer', + url: 'https://explorer.syscoin.org', + standard: 'EIP3091' + } + ] + }, { name: 'Ontology Mainnet', chain: 'Ontology', @@ -1488,6 +1554,44 @@ const chains = [ } ] }, + { + name: 'BMC Mainnet', + chain: 'BMC', + network: 'mainnet', + rpc: [ 'https://mainnet.bmcchain.com/' ], + faucets: [], + nativeCurrency: { name: 'BTM', symbol: 'BTM', decimals: 18 }, + infoURL: 'https://bmc.bytom.io/', + shortName: 'BMC', + chainId: 188, + networkId: 188, + explorers: [ + { + name: 'Blockmeta', + url: 'https://bmc.blockmeta.com/', + standard: 'none' + } + ] + }, + { + name: 'BMC Testnet', + chain: 'BMC', + network: 'testnet', + rpc: [ 'https://testnet.bmcchain.com' ], + faucets: [], + nativeCurrency: { name: 'BTM', symbol: 'BTM', decimals: 18 }, + infoURL: 'https://bmc.bytom.io/', + shortName: 'BMCT', + chainId: 189, + networkId: 189, + explorers: [ + { + name: 'Blockmeta', + url: 'https://bmc.blockmeta.com/', + standard: 'none' + } + ] + }, { name: 'BitTorrent Chain Mainnet', chain: 'BTTC', @@ -1656,11 +1760,7 @@ const chains = [ networkId: 269, slip44: 269, explorers: [ - { - name: 'hpbscan', - url: 'https://hpbscan.org/', - standard: 'EIP3091' - } + { name: 'hscan', url: 'https://hscan.org/', standard: 'EIP3091' } ] }, { @@ -2390,7 +2490,10 @@ const chains = [ name: 'Moonbeam', chain: 'MOON', network: 'moonbeam', - rpc: [], + rpc: [ + 'https://rpc.api.moonbeam.network', + 'wss://wss.api.moonbeam.network' + ], faucets: [], nativeCurrency: { name: 'Glimmer', symbol: 'GLMR', decimals: 18 }, infoURL: 'https://moonbeam.network/networks/moonbeam/', @@ -2406,7 +2509,7 @@ const chains = [ 'https://rpc.moonriver.moonbeam.network', 'wss://wss.moonriver.moonbeam.network' ], - faucets: [ 'https://free-online-app.com/faucet-for-eth-evm-chains/' ], + faucets: [], nativeCurrency: { name: 'Moonriver', symbol: 'MOVR', decimals: 18 }, infoURL: 'https://moonbeam.network/networks/moonriver/', shortName: 'mriver', @@ -2414,8 +2517,8 @@ const chains = [ networkId: 1285, explorers: [ { - name: 'blockscout', - url: 'https://blockscout.moonriver.moonbeam.network', + name: 'moonscan', + url: 'https://moonriver.moonscan.io/', standard: 'none' } ] @@ -2445,7 +2548,14 @@ const chains = [ infoURL: 'https://docs.moonbeam.network/networks/testnet/', shortName: 'mbase', chainId: 1287, - networkId: 1287 + networkId: 1287, + explorers: [ + { + name: 'moonscan', + url: 'https://moonbase.moonscan.io/', + standard: 'none' + } + ] }, { name: 'Moonshadow', @@ -2557,6 +2667,26 @@ const chains = [ chainId: 2022, networkId: 2022 }, + { + name: 'Rangers Protocol Mainnet', + chain: 'Rangers', + network: 'mainnet', + rpc: [ 'https://mainnet.rangersprotocol.com/api/jsonrpc' ], + faucets: [], + nativeCurrency: { name: 'Rangers Protocol Gas', symbol: 'RPG', decimals: 18 }, + infoURL: 'https://rangersprotocol.com', + shortName: 'rpg', + chainId: 2025, + networkId: 2025, + slip44: 1008, + explorers: [ + { + name: 'rangersscan', + url: 'https://scan.rangersprotocol.com', + standard: 'none' + } + ] + }, { name: 'Ecoball Mainnet', chain: 'ECO', @@ -2620,6 +2750,27 @@ const chains = [ chainId: 3331, networkId: 3331 }, + { + name: 'Bittex Mainnet', + chain: 'BTTX', + network: 'mainnet', + rpc: [ 'https://rpc1.bittexscan.info', 'https://rpc2.bittexscan.info' ], + faucets: [], + nativeCurrency: { name: 'Bittex', symbol: 'BTTX', decimals: 18 }, + infoURL: 'https://bittexscan.com', + shortName: 'bttx', + chainId: 3690, + networkId: 3690, + icon: 'ethereum', + explorers: [ + { + name: 'bittexscan', + url: 'https://bittexscan.com', + icon: 'etherscan', + standard: 'EIP3091' + } + ] + }, { name: 'Fantom Testnet', chain: 'FTM', @@ -2788,16 +2939,19 @@ const chains = [ name: 'Hazlor Testnet', chain: 'SCAS', network: 'testnet', - rpc: [ 'https://hatlas.rpc.hazlor.com:8545/' ], + rpc: [ + 'https://hatlas.rpc.hazlor.com:8545', + 'wss://hatlas.rpc.hazlor.com:8546' + ], faucets: [ 'https://faucet.hazlor.com' ], nativeCurrency: { name: 'Hazlor Test Coin', symbol: 'TSCAS', decimals: 18 }, infoURL: 'https://hazlor.com', - shortName: 'hazlor-hatlas', + shortName: 'tscas', chainId: 7878, networkId: 7878, explorers: [ { - name: 'Hazlor Explorer ', + name: 'Hazlor Testnet Explorer', url: 'https://explorer.hazlor.com', standard: 'none' } @@ -2838,14 +2992,21 @@ const chains = [ name: 'Klaytn Mainnet Cypress', chain: 'KLAY', network: 'cypress', - rpc: [ 'https://node-api.klaytnapi.com/v1/klaytn' ], + rpc: [ 'https://api.cypress.ozys.net:8651' ], faucets: [], nativeCurrency: { name: 'KLAY', symbol: 'KLAY', decimals: 18 }, infoURL: 'https://www.klaytn.com/', shortName: 'Cypress', chainId: 8217, networkId: 8217, - slip44: 8217 + slip44: 8217, + explorers: [ + { + name: 'Klaytnscope', + url: 'https://scope.klaytn.com', + standard: 'none' + } + ] }, { name: 'KorthoTest', @@ -2947,13 +3108,31 @@ const chains = [ } ] }, + { + name: 'Rangers Protocol Testnet Robin', + chain: 'Rangers', + network: 'robin', + icon: 'rangers', + rpc: [ 'https://robin.rangersprotocol.com/api/jsonrpc' ], + faucets: [ 'https://robin-faucet.rangersprotocol.com' ], + nativeCurrency: { name: 'Rangers Protocol Gas', symbol: 'tRPG', decimals: 18 }, + infoURL: 'https://rangersprotocol.com', + shortName: 'trpg', + chainId: 9527, + networkId: 9527, + explorers: [ + { + name: 'rangersscan-robin', + url: 'https://robin-rangersscan.rangersprotocol.com', + standard: 'none' + } + ] + }, { name: 'myOwn Testnet', chain: 'myOwn', network: 'testnet', - rpc: [ - 'https://fe693b0f-b1c4-45ec-aac1-5c4b913fc51e.cdegswtfk0ji0uq1ym3r3guz6.ep.stage.bccloud.net:8545' - ], + rpc: [ 'https://geth.dev.bccloud.net' ], faucets: [], nativeCurrency: { name: 'MYN', symbol: 'MYN', decimals: 18 }, infoURL: 'https://docs.bccloud.net/', @@ -3072,6 +3251,25 @@ const chains = [ chainId: 16001, networkId: 16001 }, + { + name: 'BTCIX Network', + chain: 'BTCIX', + network: 'mainnet', + rpc: [ 'https://seed.btcix.org/rpc' ], + faucets: [], + nativeCurrency: { name: 'BTCIX Network', symbol: 'BTCIX', decimals: 18 }, + infoURL: 'https://bitcolojix.org', + shortName: 'btcix', + chainId: 19845, + networkId: 19845, + explorers: [ + { + name: 'BTCIXScan', + url: 'https://btcixscan.com', + standard: 'none' + } + ] + }, { name: 'Webchain', chain: 'WEB', @@ -3892,6 +4090,29 @@ const chains = [ networkId: 200625, slip44: 200625 }, + { + name: 'Alaya Mainnet', + chain: 'Alaya', + network: 'mainnet', + rpc: [ + 'https://openapi.alaya.network/rpc', + 'wss://openapi.alaya.network/ws' + ], + faucets: [], + nativeCurrency: { name: 'ATP', symbol: 'atp', decimals: 18 }, + infoURL: 'https://www.alaya.network/', + shortName: 'alaya', + chainId: 201018, + networkId: 1, + icon: 'alaya', + explorers: [ + { + name: 'alaya explorer', + url: 'https://scan.alaya.network/', + standard: 'none' + } + ] + }, { name: 'Alaya Dev Testnet', chain: 'Alaya', @@ -3905,7 +4126,7 @@ const chains = [ ], nativeCurrency: { name: 'ATP', symbol: 'atp', decimals: 18 }, infoURL: 'https://www.alaya.network/', - shortName: 'alaya', + shortName: 'alayadev', chainId: 201030, networkId: 1, icon: 'alaya', @@ -4096,6 +4317,25 @@ const chains = [ chainId: 1313500, networkId: 1313500 }, + { + name: 'Kintsugi merge testnet', + chain: 'ETH', + network: 'testnet', + rpc: [ 'https://rpc.kintsugi.themerge.dev' ], + faucets: [ 'https://faucet.kintsugi.themerge.dev' ], + nativeCurrency: { name: 'kintsugi Ethere', symbol: 'kiETH', decimals: 18 }, + infoURL: 'https://kintsugi.themerge.dev/', + shortName: 'kintsugi', + chainId: 1337702, + networkId: 1337702, + explorers: [ + { + name: 'kintsugi explorer', + url: 'https://explorer.kintsugi.themerge.dev/', + standard: 'EIP3091' + } + ] + }, { name: 'Musicoin', chain: 'MUSIC', @@ -4470,6 +4710,18 @@ const chains = [ chainId: 1666700003, networkId: 1666700003 }, + { + name: 'DataHopper', + chain: 'HOP', + network: 'hopnet', + rpc: [ 'https://23.92.21.121:8545' ], + faucets: [], + nativeCurrency: { name: 'DataHoppers', symbol: 'HOP', decimals: 18 }, + infoURL: 'https://www.DataHopper.com', + shortName: 'hop', + chainId: 2021121117, + networkId: 2021121117 + }, { name: 'Pirl', chain: 'PIRL',