trust-web3-provider icon indicating copy to clipboard operation
trust-web3-provider copied to clipboard

Test https://metamask.github.io/test-dapp/, open the web page can't show the information chain

Open X-Herman opened this issue 1 year ago • 2 comments

I take https://metamask.github.io/test-dapp/ test, using the webview in android open the web page can't show the information chain,This is the js code I injected,When the page is loaded, the link information is not displayed. This situation will cause the connected wallet to be normal, and other functions can not be invoked (function() { var config = { ethereum: { chainId: $chainId, rpcUrl: "$rpcUrl" }, solana: { cluster: "mainnet-beta", }, isDebug: true }; trustwallet.ethereum = new trustwallet.Provider(config); trustwallet.solana = new trustwallet.SolanaProvider(config); trustwallet.postMessage = (json) => { window._tw_.postMessage(JSON.stringify(json)); } window.ethereum = trustwallet.ethereum; })(); """

X-Herman avatar Nov 02 '23 13:11 X-Herman

bc1q69x3pf0yr749t8xnlcxmek09gdg398ec6vl0wc

ThongchaiDonWanon avatar Nov 09 '23 00:11 ThongchaiDonWanon

I think I'm currently encountering a similar problem, do you have any solutions?

breadfruit-tree avatar Nov 17 '23 04:11 breadfruit-tree