Zondax / ledger-tezos

Apache License 2.0
8 stars 5 forks source link

Known bakers mapping #133

Closed ghost closed 2 years ago

ghost commented 2 years ago

The legacy app had embedded in itself a list of known bakers and delegates addresses, so that instead of displaying the address a friendlier name would appear on screen.

We should be able to support the same functionality.

Rough idea would be to use a proc macro to load the list of known bakers when compiling and generating code that does the mapping and use that mapping when displaying delegation addresses

See legacy generation and legacy json list

ghost commented 2 years ago

Fixed with d029aa520e4f8691541aa9fbb6ef7a9539393b8d