AlphaWallet / AlphaWallet/alpha-wallet-android

Fix / Improve "Add Custom Token"

Đang mở
#2,877 0 bình luận 0 reaction 1 người được giao Được @keval-finimble nhận Xem trên GitHub
Ngôn ngữ chính
Java
Star
646
Fork
579
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.