Uniswap / Uniswap/interface

Incomplete User Portfolio Display when Connected with Blocto Wallet(SCW)

Open
#7,661 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

I encountered an issue when connecting Blocto wallet(smart contract wallet) to Uniswap through WalletConnect and hope to receive your assistance. Here are the details of the problem I encountered:

  • Problem description: Unable to list user assets in the "tokens" section of the user portfolio.
    image

  • Steps to reproduce: This issue arises when I connect Uniswap through WalletConnect with the Blocto wallet. However, the token list in the user portfolio is persistently incapable of showing my assets.

  • Expected behavior: The user portfolio should be able to accurately display the assets I own.

  • Actual behavior: By the developer's tools Networks, it seems like the PortfolioBalances operation, which is initiated using graphql, is not returning the correct user assets. The error I'm getting is the ExternalAPIError.

Below is the address I was using. The assets are correctly listed on BSC Scan: https://bscscan.com/address/0xA96dd65712c9DaDdBF40Dee83E3Ec11DDe404A49

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by connecting Blocto through WalletConnect and inspect the PortfolioBalances GraphQL operation in the browser network tools. Compare the returned assets with the BSC Scan address and trace the ExternalAPIError. Done means the portfolio's tokens section accurately lists the user's assets for this wallet.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.