trustwallet / trust-web3-provider

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

> this code base can not switch network in pancakeswap #507

Closed Alkhatri77 closed 6 months ago

Alkhatri77 commented 7 months ago
          > this code base can not switch network in pancakeswap

window.ethereum.sendResponse($methodId, "137") window.ethereum.emitChainChanged("0x89") window.ethereum.setConfig({ ethereum:{ chainId: $chainId, rpcUrl: "$rpcUrl", address: "$address" } } )

Originally posted by @Alkhatri77 in https://github.com/trustw5allet/trust-web3-provider/issues/391#issuecomment-1979515660

Alkhatri77 commented 7 months ago