From a0d37a0371aba597d3e0f3f1055adf1a9683a5e4 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 28 May 2018 15:11:57 +0200 Subject: [PATCH] defs: add support.json; add json validators --- .travis.yml | 5 ++++- defs/support.json | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 defs/support.json diff --git a/.travis.yml b/.travis.yml index 2ce7951f26..24d9bc5188 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,10 +12,13 @@ python: - "3.5" install: - - pip install ed25519 Pillow + - pip install ed25519 Pillow demjson - pip install --no-deps trezor script: + - jsonlint coins.json + - jsonlint coins_details.json + - jsonlint defs/support.json - python coins-check.py - cd defs/coins/tools && python build_coins.py diff --git a/defs/support.json b/defs/support.json new file mode 100644 index 0000000000..78f7b68929 --- /dev/null +++ b/defs/support.json @@ -0,0 +1,51 @@ +{ + "trezor1": { + "Bitcoin": "1.5.2", + "Testnet": "1.5.2", + "Bcash": "1.5.2", + "Namecoin": "1.5.2", + "Litecoin": "1.5.2", + "Dogecoin": "1.5.2", + "Dash": "1.5.2", + "Zcash": "1.5.2", + "Bgold": "1.6.0", + "DigiByte": "1.6.0", + "Monacoin": "1.6.0", + "Fujicoin": "1.6.1", + "Vertcoin": "1.6.1", + "Bcash Testnet": "1.5.2", + "Zcash Testnet": "1.5.2", + "Decred Testnet": "1.6.1" + }, + "trezor2": { + "Bitcoin": "2.0.5", + "Testnet": "2.0.5", + "Bcash": "2.0.5", + "Bcash Testnet": "2.0.5", + "Namecoin": "2.0.5", + "Litecoin": "2.0.5", + "Dogecoin": "2.0.5", + "Dash": "2.0.5", + "Zcash": "2.0.5", + "Zcash Testnet": "2.0.5", + "Bgold": "2.0.5", + "DigiByte": "2.0.5", + "Monacoin": "2.0.5", + "Fujicoin": "2.0.5", + "Vertcoin": "2.0.5" + }, + "webwallet": { + "Bitcoin": true, + "Bcash": true, + "Bgold": true, + "Dash": true, + "Litecoin": true, + "Zcash": true + }, + "electrum": { + "Bitcoin": "https://electrum.org/", + "Litecoin": "https://electrum-ltc.org", + "Bcash": "https://electroncash.org", + "Dash": "https://electrum.dash.org" + } +}