It is stupid that we called it eth-definitions and did not use 0x in the address for EVMs
https://data.trezor.io/firmware/eth-definitions/chain-id/${chainId}/token-${contractAddress without 0x}.dat
Let's do Solana/Cardano this way?
https://data.trezor.io/firmware/token-definitions/${symbol}/token-${contractAddress}.dat
Spec:
Prerequisite for https://github.com/trezor/trezor-suite/issues/10912
Data for
Solana
has to containsymbol
andname
, we will fetch it, parse it and use in our UI.https://www.coingecko.com/en/chains/solana https://www.coingecko.com/en/chains/cardano
https://api.coingecko.com/api/v3/coins/list?include_platform=true
Example
It is stupid that we called it
eth-definitions
and did not use0x
in the address for EVMshttps://data.trezor.io/firmware/eth-definitions/chain-id/${chainId}/token-${contractAddress without 0x}.dat
Let's do Solana/Cardano this way?
https://data.trezor.io/firmware/token-definitions/${symbol}/token-${contractAddress}.dat
symbol:
sol
,ada