AlphaWallet / AlphaWallet/alpha-wallet-android

Fix / Improve "Add Custom Token"

Aperta
#2,877 0 commenti 0 reazioni 1 assegnatario Rivendicata da @keval-finimble Vedi su GitHub
Lingua principale
Java
Stelle
646
Fork
579
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Two issues for this dialog:

1. Reproduce: Add first token eg USDT 0xdAC17F958D2ee523a2206206994597C13D831ec7 and scan, you should see USDT token. Now paste USDC from Polygon in: 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174

You should see:

![photo_6231229417821157136_y](https://user-images.githubusercontent.com/12689544/196499494-490c2bea-d5c6-44da-96cc-562535e8d0cd.jpg)

Notice how the original USDT result didn't get cleared.

2. After 'save' is clicked: If the discovered tokens are on mainnet, and we are currently in testnet mode, ask the user to swap using the standard testnet swap dialog. If the user selects a token that is on an unselected chain, on save being clicked ask user if they want to enable all unselected chains.

If mainnet is selected and user selects multiple tokens on testnet and mainnet, stay on mainnet and vice-versa.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.