AlphaWallet / AlphaWallet/alpha-wallet-android

Fix / Improve "Add Custom Token"

オープン
#2,877 コメント 0 件 リアクション 0 件 担当者 1 名 @keval-finimble が担当を希望しています GitHub で見る
主要言語
Java
スター
646
フォーク
579
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。