1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

feat(common): move out blockbook urls to a separate file

This commit is contained in:
matejcik 2020-11-11 11:11:20 +01:00 committed by Tomas Susanka
parent f709df02d6
commit ac65867771
67 changed files with 301 additions and 325 deletions

View File

@ -32,8 +32,6 @@
"uri_prefix": "actinium",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "axe",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,14 +35,6 @@
"uri_prefix": "bitcoincash",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://bch1.trezor.io",
"https://bch2.trezor.io",
"https://bch3.trezor.io",
"https://bch4.trezor.io",
"https://bch5.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "bitcoincash",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,11 +32,6 @@
"uri_prefix": "bellcoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://bellcoin-blockbook.ilmango.work",
"https://bell.blockbook.ovh"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,14 +35,6 @@
"uri_prefix": "bitcoingold",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://btg1.trezor.io",
"https://btg2.trezor.io",
"https://btg3.trezor.io",
"https://btg4.trezor.io",
"https://btg5.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,8 +35,6 @@
"uri_prefix": "bitcoingold",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,14 +35,6 @@
"uri_prefix": "bitcoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://btc1.trezor.io",
"https://btc2.trezor.io",
"https://btc3.trezor.io",
"https://btc4.trezor.io",
"https://btc5.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "bitcoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,11 +32,6 @@
"uri_prefix": "bitcoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://tbtc1.trezor.io",
"https://tbtc2.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "bitcore",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://insight.bitcore.cc"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,13 +32,6 @@
"uri_prefix": "bitzeny",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://insight.bitzeny.jp",
"https://zeny.insight.monaco-ex.org"
],
"blockbook": [
"https://zny.blockbook.ovh"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "bitcoinprivate",
"min_address_length": 35,
"max_address_length": 95,
"bitcore": [
"https://explorer.btcprivate.org"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,11 +35,6 @@
"uri_prefix": "bitcoin-rhodium",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook1.bitcoinrh.org",
"https://blockbook2.bitcoinrh.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "cpuchain",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook.cpuchain.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,12 +32,6 @@
"uri_prefix": "crown",
"min_address_length": 36,
"max_address_length": 40,
"bitcore": [
"https://insight-01.crownplatform.com",
"https://insight-02.crownplatform.com",
"https://insight-03.crownplatform.com"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,14 +32,6 @@
"uri_prefix": "dash",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://dash1.trezor.io",
"https://dash2.trezor.io",
"https://dash3.trezor.io",
"https://dash4.trezor.io",
"https://dash5.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "dash",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "bitcoin",
"min_address_length": 35,
"max_address_length": 35,
"bitcore": [
"https://mainnet.decred.org"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "bitcoin",
"min_address_length": 35,
"max_address_length": 35,
"bitcore": [
"https://testnet.decred.org"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,11 +35,6 @@
"uri_prefix": "digibyte",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://dgb1.trezor.io",
"https://dgb2.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,14 +32,6 @@
"uri_prefix": "dogecoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://doge1.trezor.io",
"https://doge2.trezor.io",
"https://doge3.trezor.io",
"https://doge4.trezor.io",
"https://doge5.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "elements",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "feathercoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://bitcore.feathercoin.com"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "florincoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://livenet.flocha.in"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,10 +35,6 @@
"uri_prefix": "fujicoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://explorer.fujicoin.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "gamecredits",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook.gamecredits.network"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,13 +32,6 @@
"uri_prefix": "groestlcoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://groestlsight.groestlcoin.org",
"https://grsblocks.com"
],
"blockbook": [
"https://blockbook.groestlcoin.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,12 +32,6 @@
"uri_prefix": "groestlcoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://groestlsight-test.groestlcoin.org"
],
"blockbook": [
"https://blockbook-test.groestlcoin.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "hatch",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "hatch",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "komodo",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://api.kmd.dev"
],
"blockbook": [],
"negative_fee": true,
"cooldown": 100,
"consensus_branch_id": {

View File

@ -32,12 +32,6 @@
"uri_prefix": "koto",
"min_address_length": 35,
"max_address_length": 95,
"bitcore": [
"https://insight.kotocoin.info"
],
"blockbook": [
"https://blockbook.kotocoin.info"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": {

View File

@ -32,14 +32,6 @@
"uri_prefix": "litecoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://ltc1.trezor.io",
"https://ltc2.trezor.io",
"https://ltc3.trezor.io",
"https://ltc4.trezor.io",
"https://ltc5.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "litecoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://testnet.litecore.io"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,13 +32,6 @@
"uri_prefix": "monacoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://mona.chainsight.info",
"https://insight.electrum-mona.org"
],
"blockbook": [
"https://blockbook.electrum-mona.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "monetaryunit",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook.monetaryunit.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,11 +32,6 @@
"uri_prefix": "namecoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://nmc1.trezor.io",
"https://nmc2.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "nix",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://blockchain.nixplatform.io"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,8 +35,6 @@
"uri_prefix": "particl",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "particl",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "peercoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook.peercoin.net"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "peercoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://tblockbook.peercoin.net"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "polis",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook.polispay.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "primecoin",
"min_address_length": 26,
"max_address_length": 35,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,8 +35,6 @@
"uri_prefix": "qtum",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,8 +35,6 @@
"uri_prefix": "qtum",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,12 +32,6 @@
"uri_prefix": "raven",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://ravencoin.network"
],
"blockbook": [
"https://blockbook.ravencoin.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,12 +32,6 @@
"uri_prefix": "rito",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://insight.ritocoin.org"
],
"blockbook": [
"https://blockbook.ritocoin.org"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,10 +35,6 @@
"uri_prefix": "smart",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://insight.smartcash.cc"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,8 +35,6 @@
"uri_prefix": "testsmart",
"min_address_length": 27,
"max_address_length": 35,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,8 +35,6 @@
"uri_prefix": "stakenet",
"min_address_length": 27,
"max_address_length": 47,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,10 +35,6 @@
"uri_prefix": "syscoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://sys1.bcfn.ca"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "terracoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://insight.terracoin.io"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,11 +35,6 @@
"uri_prefix": "unobtanium",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook.flurbo.xyz",
"https://blockbook.unobtanium.uno"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,8 +32,6 @@
"uri_prefix": "verge",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,14 +32,6 @@
"uri_prefix": "vertcoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://vtc1.trezor.io",
"https://vtc2.trezor.io",
"https://vtc3.trezor.io",
"https://vtc4.trezor.io",
"https://vtc5.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,10 +35,6 @@
"uri_prefix": "viacoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://explorer.viacoin.org"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,12 +35,6 @@
"uri_prefix": "vipstarcoin",
"min_address_length": 27,
"max_address_length": 36,
"bitcore": [
"https://insight.vipstarco.in"
],
"blockbook": [
"https://vips.blockbook.japanesecoin-pool.work"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,14 +32,6 @@
"uri_prefix": "zcash",
"min_address_length": 35,
"max_address_length": 95,
"bitcore": [],
"blockbook": [
"https://zec1.trezor.io",
"https://zec2.trezor.io",
"https://zec3.trezor.io",
"https://zec4.trezor.io",
"https://zec5.trezor.io"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": {

View File

@ -32,10 +32,6 @@
"uri_prefix": "zcash",
"min_address_length": 35,
"max_address_length": 95,
"bitcore": [
"https://explorer.testnet.z.cash"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": {

View File

@ -35,10 +35,6 @@
"uri_prefix": "zcoin",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [
"https://insight.zcoin.io"
],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -35,8 +35,6 @@
"uri_prefix": "testzcoin",
"min_address_length": 27,
"max_address_length": 35,
"bitcore": [],
"blockbook": [],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -32,10 +32,6 @@
"uri_prefix": "zcore",
"min_address_length": 34,
"max_address_length": 95,
"bitcore": [],
"blockbook": [
"https://blockbook.zcore.cash"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,

View File

@ -0,0 +1,273 @@
{
"bitcoin:BCH": {
"type": "blockbook",
"url": [
"https://bch1.trezor.io",
"https://bch2.trezor.io",
"https://bch3.trezor.io",
"https://bch4.trezor.io",
"https://bch5.trezor.io"
]
},
"bitcoin:BELL": {
"type": "blockbook",
"url": [
"https://bellcoin-blockbook.ilmango.work",
"https://bell.blockbook.ovh"
]
},
"bitcoin:BTC": {
"type": "blockbook",
"url": [
"https://btc1.trezor.io",
"https://btc2.trezor.io",
"https://btc3.trezor.io",
"https://btc4.trezor.io",
"https://btc5.trezor.io"
]
},
"bitcoin:BTG": {
"type": "blockbook",
"url": [
"https://btg1.trezor.io",
"https://btg2.trezor.io",
"https://btg3.trezor.io",
"https://btg4.trezor.io",
"https://btg5.trezor.io"
]
},
"bitcoin:CPU": {
"type": "blockbook",
"url": [
"https://blockbook.cpuchain.org"
]
},
"bitcoin:DASH": {
"type": "blockbook",
"url": [
"https://dash1.trezor.io",
"https://dash2.trezor.io",
"https://dash3.trezor.io",
"https://dash4.trezor.io",
"https://dash5.trezor.io"
]
},
"bitcoin:DGB": {
"type": "blockbook",
"url": [
"https://dgb1.trezor.io",
"https://dgb2.trezor.io"
]
},
"bitcoin:DOGE": {
"type": "blockbook",
"url": [
"https://doge1.trezor.io",
"https://doge2.trezor.io",
"https://doge3.trezor.io",
"https://doge4.trezor.io",
"https://doge5.trezor.io"
]
},
"bitcoin:FJC": {
"type": "blockbook",
"url": [
"https://explorer.fujicoin.org"
]
},
"bitcoin:GAME": {
"type": "blockbook",
"url": [
"https://blockbook.gamecredits.network"
]
},
"bitcoin:GRS": {
"type": "blockbook",
"url": [
"https://blockbook.groestlcoin.org"
]
},
"bitcoin:KOTO": {
"type": "blockbook",
"url": [
"https://blockbook.kotocoin.info"
]
},
"bitcoin:LTC": {
"type": "blockbook",
"url": [
"https://ltc1.trezor.io",
"https://ltc2.trezor.io",
"https://ltc3.trezor.io",
"https://ltc4.trezor.io",
"https://ltc5.trezor.io"
]
},
"bitcoin:MONA": {
"type": "blockbook",
"url": [
"https://blockbook.electrum-mona.org"
]
},
"bitcoin:MUE": {
"type": "blockbook",
"url": [
"https://blockbook.monetaryunit.org"
]
},
"bitcoin:NMC": {
"type": "blockbook",
"url": [
"https://nmc1.trezor.io",
"https://nmc2.trezor.io"
]
},
"bitcoin:PIVX": {
"type": "blockbook",
"url": [
"https://blockbook.pivx.link"
]
},
"bitcoin:POLIS": {
"type": "blockbook",
"url": [
"https://blockbook.polispay.org"
]
},
"bitcoin:PPC": {
"type": "blockbook",
"url": [
"https://blockbook.peercoin.net"
]
},
"bitcoin:RITO": {
"type": "blockbook",
"url": [
"https://blockbook.ritocoin.org"
]
},
"bitcoin:RVN": {
"type": "blockbook",
"url": [
"https://blockbook.ravencoin.org"
]
},
"bitcoin:SYS": {
"type": "blockbook",
"url": [
"https://sys1.bcfn.ca"
]
},
"bitcoin:TEST": {
"type": "blockbook",
"url": [
"https://tbtc1.trezor.io",
"https://tbtc2.trezor.io"
]
},
"bitcoin:UNO": {
"type": "blockbook",
"url": [
"https://blockbook.flurbo.xyz",
"https://blockbook.unobtanium.uno"
]
},
"bitcoin:VIPS": {
"type": "blockbook",
"url": [
"https://vips.blockbook.japanesecoin-pool.work"
]
},
"bitcoin:VTC": {
"type": "blockbook",
"url": [
"https://vtc1.trezor.io",
"https://vtc2.trezor.io",
"https://vtc3.trezor.io",
"https://vtc4.trezor.io",
"https://vtc5.trezor.io"
]
},
"bitcoin:XRC": {
"type": "blockbook",
"url": [
"https://blockbook1.bitcoinrh.org",
"https://blockbook2.bitcoinrh.org"
]
},
"bitcoin:ZCR": {
"type": "blockbook",
"url": [
"https://blockbook.zcore.cash"
]
},
"bitcoin:ZEC": {
"type": "blockbook",
"url": [
"https://zec1.trezor.io",
"https://zec2.trezor.io",
"https://zec3.trezor.io",
"https://zec4.trezor.io",
"https://zec5.trezor.io"
]
},
"bitcoin:ZNY": {
"type": "blockbook",
"url": [
"https://zny.blockbook.ovh"
]
},
"bitcoin:tGRS": {
"type": "blockbook",
"url": [
"https://blockbook-test.groestlcoin.org"
]
},
"bitcoin:tPIVX": {
"type": "blockbook",
"url": [
"https://blockbook-testnet.pivx.link"
]
},
"bitcoin:tPPC": {
"type": "blockbook",
"url": [
"https://tblockbook.peercoin.net"
]
},
"eth:ETC": {
"type": "blockbook",
"url": [
"https://etc1.trezor.io",
"https://etc2.trezor.io"
]
},
"eth:ETH": {
"type": "blockbook",
"url": [
"https://eth1.trezor.io",
"https://eth2.trezor.io"
]
},
"eth:ROP": {
"type": "blockbook",
"url": [
"https://ropsten1.trezor.io",
"https://ropsten2.trezor.io"
]
},
"misc:XRP": {
"type": "ripple",
"url": [
"wss://s1.ripple.com",
"wss://s-east.ripple.com",
"wss://s-west.ripple.com"
]
},
"misc:tXRP": {
"type": "ripple",
"url": [
"wss://s.altnet.rippletest.net"
]
}
}

View File

@ -11,8 +11,7 @@
},
"wallet": {
"Liskish Wallet": "https://github.com/hirishh/liskish-wallet/releases"
},
"blockchain_link": null
}
},
{
"name": "Stellar",
@ -27,8 +26,7 @@
"wallet": {
"Account Viewer": "https://accountviewer.stellar.org/",
"Exodus": "https://www.exodus.io"
},
"blockchain_link": null
}
},
{
"name": "Monero",
@ -42,8 +40,7 @@
},
"wallet": {
"Monero CLI/GUI": "https://www.getmonero.org/downloads/"
},
"blockchain_link": null
}
},
{
"name": "Ripple",
@ -59,14 +56,6 @@
"Trezor Beta": "https://suite.trezor.io",
"Exodus": "https://www.exodus.io",
"Magnum": "https://magnumwallet.co"
},
"blockchain_link": {
"type": "ripple",
"url": [
"wss://s1.ripple.com",
"wss://s-east.ripple.com",
"wss://s-west.ripple.com"
]
}
},
{
@ -81,10 +70,6 @@
},
"wallet": {
"Trezor Suite": "https://suite.trezor.io"
},
"blockchain_link": {
"type": "ripple",
"url": ["wss://s.altnet.rippletest.net"]
}
},
{
@ -100,8 +85,7 @@
"wallet": {
"AdaLite": "https://adalite.io/app",
"Yoroi": "https://yoroi-wallet.com"
},
"blockchain_link": null
}
},
{
"name": "Tezos",
@ -116,8 +100,7 @@
"wallet": {
"SimpleStaking": "https://simplestaking.com",
"Magnum": "https://magnumwallet.co"
},
"blockchain_link": null
}
},
{
"name": "Ontology",
@ -129,8 +112,7 @@
"Homepage": "https://ont.io",
"Github": "https://github.com/ontio/ontology"
},
"wallet": {},
"blockchain_link": null
"wallet": {}
},
{
"name": "Wanchain",
@ -144,8 +126,7 @@
},
"wallet": {
"Wanchain Wallet": "https://www.wanchain.org/getstarted/"
},
"blockchain_link": null
}
},
{
"name": "EOS",
@ -159,8 +140,7 @@
},
"wallet": {
"Bloks.io": "https://bloks.io/wallet"
},
"blockchain_link": null
}
},
{
"name": "Omni",
@ -172,8 +152,7 @@
"Homepage": "https://www.omnilayer.org",
"Github": "https://github.com/OmniLayer"
},
"wallet": {},
"blockchain_link": null
"wallet": {}
},
{
"name": "MaidSafeCoin",
@ -185,8 +164,7 @@
"Homepage": "https://maidsafe.net",
"Github": "https://github.com/maidsafe"
},
"wallet": {},
"blockchain_link": null
"wallet": {}
},
{
"name": "Binance Chain",
@ -199,8 +177,7 @@
},
"wallet": {
"Binance Wallet": "https://binance.org/unlock"
},
"blockchain_link": null
}
},
{
"name": "Tether",
@ -211,7 +188,6 @@
"links": {
"Homepage": "https://tether.to"
},
"wallet": {},
"blockchain_link": null
"wallet": {}
}
]

View File

@ -147,8 +147,6 @@ BTC_CHECKS = [
check_key("max_address_length", int),
check_key("bech32_prefix", str, regex=r"^[a-z-\.\+]+$", nullable=True),
check_key("cashaddr_prefix", str, regex=r"^[a-z-\.\+]+$", nullable=True),
check_key("bitcore", list, empty=True),
check_key("blockbook", list, empty=True),
]
@ -199,13 +197,6 @@ def validate_btc(coin):
"xpub_magic_segwit_p2sh must not be defined for segwit-disabled coin"
)
for bc in coin["bitcore"] + coin["blockbook"]:
if not bc.startswith("https://"):
errors.append("make sure URLs start with https://")
if bc.endswith("/"):
errors.append("make sure URLs don't end with '/'")
return errors
@ -527,6 +518,19 @@ def deduplicate_keys(all_coins):
coin["dup_key_nontoken"] = True
def fill_blockchain_links(all_coins):
blockchain_links = load_json("blockchain_link.json")
for coins in all_coins.values():
for coin in coins:
link = blockchain_links.get(coin["key"])
coin["blockchain_link"] = link
if link and link["type"] == "blockbook":
coin["blockbook"] = link["url"]
else:
coin["blockbook"] = []
def _btc_sort_key(coin):
if coin["name"] in ("Bitcoin", "Testnet", "Regtest"):
return "000000" + coin["name"]
@ -550,9 +554,11 @@ def collect_coin_info():
misc=_load_misc(),
)
for k, coins in all_coins.items():
for coins in all_coins.values():
_ensure_mandatory_values(coins)
fill_blockchain_links(all_coins)
return all_coins