1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 12:00:59 +00:00

defs: add support.json; add json validators

This commit is contained in:
Pavol Rusnak 2018-05-28 15:11:57 +02:00
parent e95227ef71
commit a0d37a0371
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 55 additions and 1 deletions

View File

@ -12,10 +12,13 @@ python:
- "3.5" - "3.5"
install: install:
- pip install ed25519 Pillow - pip install ed25519 Pillow demjson
- pip install --no-deps trezor - pip install --no-deps trezor
script: script:
- jsonlint coins.json
- jsonlint coins_details.json
- jsonlint defs/support.json
- python coins-check.py - python coins-check.py
- cd defs/coins/tools && python build_coins.py - cd defs/coins/tools && python build_coins.py

51
defs/support.json Normal file
View File

@ -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"
}
}