嗨,亲爱的朋友们。
我只能在桌面上的页面中找到一种使用元问询的方法。
如何使它在移动(iOS/android)上工作,并进行合同交易。
看看这里:https://docs.metamask.io/guide/mobile-best-practices.html#the-provider-window-ethereum
如果不使用web3modal和walletconnect,那么可以使用深度链接和元问题原始代码来实现这一点吗?
谢谢大家,我被困在这个问题上了,因为我用角度很难找到一个好的解决方案。
发布于 2022-05-05 04:41:28
请查看这些android操作系统的链接:
https://medium.com/@nschapeler/an-introduction-to-ethereum-development-on-android-using-web3j-and-infura-763940719997
https://github.com/wise4rmgod/Web3Js-Android这些适用于监督办:
https://medium.com/mercuryprotocol/introducing-web3-swift-for-ethereum-ios-development-1e02212b662b
https://github.com/Boilertalk/Web3.swift发布于 2022-05-05 06:56:18
您必须使用MetaMask DApp浏览器。MetaMask是一个支持java脚本的扩展,这就是为什么您需要一个应用程序来支持javascript扩展。但是在MetaMask移动应用程序中,DApp浏览器元存储在window.ethereum上,您可以使用DApp浏览器。另外,如果部署在mainnet上,您也可以使用信任钱包Dapp浏览器作为智能契约。
https://ethereum.stackexchange.com/questions/127572
复制相似问题