trustwallet / trust-web3-provider

Web3 javascript wrapper provider for iOS and Android platforms.
https://trustwallet.com
760 stars 423 forks source link

Ability to Change Name Displayed #494

Open ablankstory opened 8 months ago

ablankstory commented 8 months ago

Hi -

We use trust-web3-provider in our wallet's DApp Browser. Is there somewhere in the code where we can edit the name that a Connector (modal) displays for the "injected" wallet?

Screenshot 2024-01-26 at 8 55 56 PM

Thanks in advance!

ablankstory commented 8 months ago

Additionally, are we forced to keep window.ethereum = trustwallet.ethereum? Or can we change this part of the code so that our wallet doesn't spoof these connectors to thinking we're TrustWallet?

I realize that this is for TrustWallet, but the issue is that connectors like RainbowKit and ConnectKit think that any wallet using a fork of this is TrustWallet when connecting via DApp Browser. It makes it unintuitive for users to select "Trust Wallet" when they are looking for either "Browser Wallet" or "xxxxx Wallet".

saurabhDetharia commented 8 months ago

@hewigovens @vikmeup @y3fers0n Can you please provide update or alternate to this?

adam-alex-albert commented 4 months ago

+1 Has this problem been solved?