trezor / trezor-suite

Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
698 stars 246 forks source link

Add token option should also be available for Solana and Cardano accounts #11141

Closed AdamSchinzel closed 4 months ago

AdamSchinzel commented 7 months ago

Describe the bug Currently we provide users with option to add token just for Ethereum type accounts. It is missing on Solana and Cardano but they have tokens too.

Info:

Expected behavior Option for adding token is also present on Cardano and Solana type account.

Additional context In packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/AddTokenModal.tsx we need to find out why is this code not working out of the box and what we need to change

const response = await TrezorConnect.getAccountInfo({
   coin: acc.symbol,
   descriptor: acc.descriptor,
   details: 'tokenBalances',
   contractFilter: contractAddress,
   suppressBackupWarning: true,
});
tomasklim commented 4 months ago

We removed the feature