trustwallet / trust-web3-provider

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

@web3-onboard/react: can't select Binance Test Chain #373

Open daniel-ivanco opened 1 year ago

daniel-ivanco commented 1 year ago

when using Trust Wallet with @web3-onboard/react and @web3-onboard/trust packages, I am not able to select Binance Test chain in the wallet chrome extension UI. Steps to reproduce:

1) select Binance test chain in wallet network options:

Screenshot 2023-02-15 at 16 22 26

2) integrate the wallet using the above-mentioned packages and connect to the wallet. When connected successfully, print current provider details in the console:

import { init, useConnectWallet, useSetChain } from "@web3-onboard/react";
...
const [{ wallet, connecting }, connect, disconnect] = useConnectWallet();
...
console.log(wallet);
...

printed result:

Screenshot 2023-02-15 at 16 28 53

As we can see, current chain id is 0x38 which is Binance mainnet and not testnet

daniel-ivanco commented 1 year ago

Thanks @Chukwulawrence ! I tried to open the ticket link, but unfortunately, it does not work for me.

J1psy-HUSSLE commented 1 year ago

Leave me alone?!!!!Sent from my iPhoneOn Feb 23, 2023, at 19:47, Trustwallet @.***> wrote: @daniel-ivanco We'd be happy to look into this for you kindly file a support ticket below https://forms.gle/7KbQyuY5NoxyrhNz5

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

daniel-ivanco commented 1 year ago

Leave me alone?!!!!Sent from my iPhoneOn Feb 23, 2023, at 19:47, Trustwallet @.> wrote: @daniel-ivanco We'd be happy to look into this for you kindly file a support ticket below https://forms.gle/7KbQyuY5NoxyrhNz5 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

I am supposed to leave the mnemonic? really? feels like a scam

J1psy-HUSSLE commented 1 year ago

Idk man do whateverSent from my iPhoneOn Feb 24, 2023, at 06:56, Daniel @.***> wrote:

Leave me alone?!!!!Sent from my iPhoneOn Feb 23, 2023, at 19:47, Trustwallet @.> wrote: @daniel-ivanco We'd be happy to look into this for you kindly file a support ticket below https://forms.gle/7KbQyuY5NoxyrhNz5 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

I am supposed to leave the mnemonic? really? feels like a scam

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

hewigovens commented 1 year ago

@daniel-ivanco sorry please report spam next time, that user is blocked and marked as spam