标签: ethereum web3 metamask
当我尝试将我的 dapp 应用程序连接到 MetaMask 时,该应用程序会重新加载并重定向到登录页面。
我已使用:ethereum.request({ method: 'eth_requestAccounts' }) 将我的应用程序连接到 MetaMask。
ethereum.request({ method: 'eth_requestAccounts' })
那么,有没有办法阻止这种默认的重新加载?
或者有没有办法将它重定向到另一个页面而不是登陆页面?
谢谢