Pavol Rusnak
23b07f975d
tools: drop binascii usage
2018-09-13 00:15:08 +02:00
matejcik
67ca76ab16
cointool: add options controlling size of coins.json output
2018-09-12 18:09:01 +02:00
matejcik
cfbe5a5dd1
defs: add 'chain' key to Ethereum networks, tooling support
...
'chain' is a "slug"-like string that matches the 'chain' field in token
definitions. It is also unique so it can be used as a URL slug in
Connect / webwallet
2018-09-07 13:19:04 +02:00
Pavol Rusnak
22b18046c1
use implicit encoding in encode/decode
2018-09-06 16:16:52 +02:00
matejcik
9342b52c6b
cointool: replace 'coins_json' with 'dump'
...
`cointool.py coins_json` generated an old-style `coins.json` file with
entries on bitcoin-like coins. This is no longe really doing what we
need.
Instead, the new command `dump` will output _all available data_ in the
same format as Python sees it. Much more useful for other kinds of
consumers.
2018-09-04 15:30:48 +02:00
matejcik
50a619e12d
coin_info: do not use f-strings in the library
...
to make it python3.3 compatible
2018-09-04 15:30:48 +02:00
matejcik
297c05c48d
tools: another fix to cache handling (set default to auto)
2018-08-30 18:38:57 +02:00
matejcik
d54978bd28
new README for tools, improved README for defs
2018-08-30 18:21:24 +02:00
matejcik
9f51d58f30
tools: finish release flow
2018-08-30 17:02:00 +02:00
leoreinaux
31b8e872ba
change smartcash curve ( #202 )
2018-08-30 12:04:06 +02:00
matejcik
0a2f9bb10c
tools: add a simple tool to compare live t.io/coins with current json
2018-08-28 16:36:13 +02:00
matejcik
5afe3500d4
coins_details: hide coins that are not supported on either device
...
also better logging and fixed a cache handling bug
2018-08-28 16:36:13 +02:00
matejcik
bc5530e503
coin_info: when support status is unknown, only presume "soon" for tokens
2018-08-28 16:36:13 +02:00
matejcik
4c36e33425
tools: make duplicate detection case-insensitive
2018-08-27 20:07:35 +02:00
matejcik
334c5eed32
support: fix duplicate checking bug, update data after merge
2018-08-24 17:11:00 +02:00
matejcik
a80a3ac6f2
coins_details: update to new CMC API, improve script, refresh data
2018-08-24 17:01:54 +02:00
matejcik
467b41efda
defs/tools: rename "coins" to "bitcoin"
2018-08-24 17:01:44 +02:00
matejcik
a903b996c8
support: fix bug in support.py show
2018-08-24 15:29:48 +02:00
matejcik
15a971764a
support: finish support.py release
flow
2018-08-24 15:21:11 +02:00
matejcik
0abfb6cd91
coin_info: tweak API for less repetition
2018-08-24 15:20:25 +02:00
matejcik
98c2fdc6df
cointool: improve and document some more intricate parts of checks
2018-08-23 19:32:28 +02:00
matejcik
f152ca9b79
cointool: check non-uniform keys (e.g. someone adding a "description"
...
field to the defs json)
2018-08-23 19:09:54 +02:00
matejcik
4dbfc220b4
cointool: explain and improve address collision check
2018-08-23 19:09:35 +02:00
matejcik
70d1ae268d
support: move some responsibility away from support.py check
2018-08-23 18:10:06 +02:00
matejcik
e070b22aa3
coins_details: update tool, overrides, generated files and upstream
...
token source
2018-08-23 17:54:27 +02:00
matejcik
a3240380c6
tools: ERC20 duplicate management
2018-08-23 17:32:50 +02:00
matejcik
5ad2eb74a0
coin_info: shuffle knowledge about duplicates, validation
...
and support information
2018-08-23 13:05:41 +02:00
matejcik
1f6a15430c
Merge branch 'master' into matejcik/coin-defs
2018-08-15 19:28:52 +02:00
matejcik
4726d3259e
tools: update coin_info to new support method and duplicate checking
2018-08-15 19:24:23 +02:00
matejcik
6cbc2a94ee
tools: add better duplicate checking
2018-08-15 19:20:15 +02:00
matejcik
81513f47b6
tools: rewrite support.py
2018-08-15 19:00:42 +02:00
matejcik
a090388c5f
tools: rename coin_gen.py to cointool.py
2018-08-15 18:46:00 +02:00
matejcik
962178fbeb
tools/coin_info.py: use f-strings where appropriate
2018-08-15 17:36:24 +02:00
matejcik
f64a090517
tools: update coin_gen.py to new support format
2018-08-15 17:34:20 +02:00
matejcik
3cfca58c6a
tools: drop support check from coin_gen, moved to support.py
2018-08-15 17:34:04 +02:00
matejcik
7ab69b18cd
tools: support Black-compatible repr format
2018-08-15 17:33:33 +02:00
matejcik
25a706f042
tools: coin_gen can render into a given filename
...
before, it could only render from `foo.bar.mako` to `foo.bar`
2018-08-07 13:00:30 +02:00
matejcik
11a386fed4
tools: require python 3.6
2018-07-30 18:10:00 +02:00
matejcik
36469fc898
tools: better filtering by support for mako code generators
2018-07-30 17:30:59 +02:00
matejcik
d608294a14
tools: don't be noisy when support info is missing
...
because we have other tools for that
2018-07-30 16:38:39 +02:00
matejcik
eed6c0fa43
tools: add README
2018-07-30 15:59:14 +02:00
matejcik
e4d99939de
tools: drop obsolete tools
...
`build_coins.py` is replaced by `coin_gen.py coins_json`
`gen_ethereum_tokens.py` is replaced by Mako generators in core/mcu
2018-07-30 15:06:38 +02:00
matejcik
1680eb1cfa
tools: improve logging in coins_details.py
2018-07-30 15:05:19 +02:00
matejcik
7cb9bd9c78
tools: clean up imports in coin_gen
2018-07-30 14:45:01 +02:00
matejcik
b5443af4c5
tools: coin_defs renamed to coin_info and interface
...
improved a little
2018-07-30 14:25:53 +02:00
Pavol Rusnak
b6549f22cf
defs: fix coindef.py
2018-07-30 12:09:27 +02:00
matejcik
1e032d4da5
tools: clean up and update coins_details.py, regenerate json
2018-07-27 14:53:49 +02:00
matejcik
44240c9503
tools: add support tool and coin_gen tool
...
support.py - query and modify info in support.json
coin_gen.py - generate coins_json, render mako templates, run checks
2018-07-27 14:53:49 +02:00
matejcik
3630571a0a
tools: add support data and validation to coin_defs
...
also add checks that were not brought over from build_coins.py
2018-07-27 12:33:00 +02:00
matejcik
9e6b3dba5f
tools: coin_defs cleanup
...
* btc-like coins are now called `coins`, with key type `coin`,
for consistency with names in other tools
* `others` are renamed to `misc` and placed in a separate subdir
* added many docstrings that explain the behavior
* renamed and privatized many functions
2018-07-27 12:33:00 +02:00