Fabien
6931e61f75
feat(common): Add an exception for eCash to the coin_label regex
...
The regex enforces starting with an uppercase letter, which doesn't work for eCash and for xRhodium. An exception is added to handle this naming, as well as a comment to remind why the regex contains this special case.
This fixes `make defs_check` for eCash.
2024-11-25 12:02:13 +01:00
Martin Milata
7fc226258e
style(common): fix cointool.py
2024-11-15 18:37:33 +01:00
Martin Milata
80dbfc6e6e
fix(common): fetch definitions timestamp from signed branch of trezor/definitions
2024-11-02 18:58:46 +01:00
tychovrahe
e13d4a45a6
chore(core): remove residual support for T1B1 in core
...
[no changelog]
2024-09-25 09:18:01 +02:00
matejcik
1f20b2984f
feat(common/cointool): use support.json as a source of the list of supported models
2024-09-03 10:35:14 +02:00
matejcik
0b2b0d06fb
chore(common): add T3B1 to the list of supported models in support.json
2024-08-28 16:15:35 +02:00
matejcik
eaeb58fb25
chore(python): annotate package with minimum python 3.8
...
also add 3.12 to tox config
2024-06-25 13:43:13 +02:00
Ioan Bizău
269adf4868
chore(core): add coin support info for T3T1
2024-05-24 13:53:05 +02:00
matejcik
67c0cb0bd4
chore(common): drop wallets.json
...
the wallet info is not used by firmware or consumers of trezor-common
and so it moves to the definitions repo
at https://github.com/trezor/definitions
2024-04-02 10:43:06 +02:00
matejcik
9c72c7c99d
feat(common): provide some useful paths for the mako templates
2024-02-12 14:49:32 +01:00
grdddj
b8ea21d24a
feat(all): implement translations into Trezor
...
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
matejcik
1c244648c5
fix(common): set consistent timestamps on template-generated files
...
this helps the build system keep track of whether anything has actually changed
2024-02-01 15:50:07 +01:00
Martin Milata
07027a69e9
Merge branch 'master' into release/23.09
2023-09-15 14:33:20 +02:00
Martin Milata
10b248b18f
feat(common): cointool: add new-definitions command
...
[no changelog]
2023-09-14 19:25:13 +02:00
grdddj
76c6e9cd9d
feat(all): implement support information for T2B1
...
WIP - change trezor{1,2} to their internal names, add support for model R
WIP - add EOS and NEM features Capability only for TT
WIP - not include EOS and NEM into TR
WIP - choose between device models when generating coininfo
WIP - regenerate coininfo.py
WIP - skip NEM, EOS, Dash, BGold and Decred device tests for TR
WIP - fix python support
WIP - fix unit tests
WIP - import bitcoin-like code only when needed
WIP - remove ignored coins for TR in fixtures.json
WIP - make all the external references to models UPPERCASE
WIP - do the model separation in mako script also for tokens and networks
WIP - hot-fixing non-supporting RELEASES_URL for new model names
WIP - support.py releases CLI command takes a list of -r key-value pairs DEVICE=VERSION
WIP - run `python support.py release`
WIP - use utils.MODEL_IS_T2B1 to ignore NEM and EOS
WIP - change all the docs and commands to have UPPERCASE model names
[no changelog]
2023-09-14 13:54:09 +02:00
matejcik
b8e8fcff33
chore(common): set definition timestamp to the current signed definitions
...
[no changelog]
2023-04-06 15:55:26 +02:00
Andrew Kozlik
4cd88e16f7
feat(core): Introduce use_compact option for FIDO2.
...
When use_compact is set to true, Trezor creates smaller credential IDs.
2023-04-05 15:49:27 +02:00
matejcik
168ab2944c
fix(common): deal with duplicity code leftovers
...
also fixes #2759
2023-03-24 13:24:46 +01:00
Martin Novák
f44ef58acb
feat(common): switch to external Ethereum definitions, add generators
2023-03-24 13:24:46 +01:00
Martin Milata
45077b3c3c
fix(common): allow duplicate symbol for Ethereum testnets
...
[no changelog]
2023-02-28 14:46:34 +01:00
matejcik
c2d8623039
fix(common): improve testnet detection for ethereum
2022-08-02 13:57:31 +02:00
matejcik
8c3d3c6548
chore: bump black to 22.3
...
changes:
* exponent operator ** now allows no spaces around itself: https://github.com/psf/black/issues/538
* optional unicode marker u"" is no longer allowed
[no changelog]
2022-06-29 14:35:16 +02:00
grdddj
82622adf6f
fix(tools): modify type-hints to be compatible with older python versions
2022-05-30 14:41:32 +02:00
grdddj
9261f2ffce
feat(common): add wallet info to cointool dump
2022-05-26 12:18:40 +02:00
grdddj
08f463e5e8
chore(common): small improvements to cointool dump
2022-05-26 12:18:40 +02:00
grdddj
519f79f9eb
chore(common): add type hints to some coin tools scripts
...
Type-checking tools are still complaining at some places about inconsistencies.
It would be too much effort to make them completely happy.
2022-05-26 12:18:40 +02:00
Martin Milata
29bab9e8a4
chore(common): update chains and tokens
2022-05-03 23:00:25 +02:00
matejcik
7295d2ee1e
fix(common/tools): coin must be either supported or unsupported
2022-03-25 14:27:30 +01:00
Pavol Rusnak
d48aa2637f
fix(common): fix broken nem urls
2022-03-02 13:15:24 +01:00
grdddj
5d76144ef5
chore(common): always use resolve() when accessing parent of the Path
...
[no changelog]
2022-02-07 14:05:27 +01:00
matejcik
e972839ac7
style(all): fix pylint complaints
...
[no changelog]
2021-10-27 13:13:15 +02:00
Pavol Rusnak
7b2825e68e
fix(common): rebrand brhodium to xrhodium
2021-10-26 12:01:08 +02:00
amadejpapez
85ba7c12ba
style(all): use f-strings for formatting
...
[no changelog]
2021-10-13 11:53:17 +02:00
matejcik
d329052334
feat(common): remove "soon" as support status
2021-09-20 15:49:11 +02:00
matejcik
c65124c320
fix(common): add coins_details to release.sh
...
so that we know if we're delisting something by mistake
2021-08-27 13:38:45 +02:00
matejcik
417b33ba78
feat(common): better checks for delisted tokens
2021-08-27 13:38:45 +02:00
matejcik
2173f6cec7
feat(common): create release script
2021-08-24 13:14:06 +02:00
Andrew Kozlik
3f647f1b7b
chore(common): Ensure that testnet coins use slip44 coin type 1.
2021-06-30 18:25:58 +02:00
matejcik
845a66a7de
chore(common/tools): drop outdated and unused CoinDef generator
2021-06-08 09:55:19 +02:00
matejcik
00d4b0a4a9
fix(common/tools): typo in support.py output
2021-06-04 11:38:18 +02:00
Andrew Kozlik
b0ed553847
style(core): Fix black formatting.
2021-03-23 11:02:04 +01:00
Pavol Rusnak
048205b864
fix(common): magnum wallet is dead
...
https://twitter.com/Magnum_Wallet/status/1333472916588081154
2021-03-20 11:21:09 +01:00
Pavol Rusnak
cc9dd66729
feat(common): let's work with Trezor Suite instead of the web wallet
2021-03-17 16:47:57 +01:00
matejcik
c101754842
fix(common/tools): cast a wider net when looking for CMC match
2021-03-01 12:05:54 +01:00
matejcik
ed0ac98970
fix(common/tools): strip "mainnet" from Ethereum network names
2021-03-01 12:05:54 +01:00
matejcik
090d103382
fix(common/tools): cleaner handling of duplicity overrides
2021-03-01 12:05:54 +01:00
Pavol Rusnak
17fa6ab4ec
chore(common): update chains+tokens
2021-03-01 12:05:54 +01:00
Pavol Rusnak
4ed714ba47
common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins
2021-01-21 23:46:29 +01:00
Pavol Rusnak
a7e7f6fc5f
common/defs: fix typo in cointool; remove icons of already deleted coins
...
[skip_ci]
2021-01-13 19:52:59 +01:00
matejcik
f0ede24bd7
chore(common): refresh coins details
2020-11-20 18:55:35 +01:00