Remix

如何連接 Remix 桌面以連接到 MetaMask?

  • April 3, 2022

我下載了 Remix 的桌面版本,並試圖將其連接到主網路。我可以在 Web 版的 Remix 中輕鬆做到這一點,在我的瀏覽器上打開 MetaMask。但是,在桌面版本中,當我為環境切換“注入的 Web3”時,出現錯誤:“未找到注入的 Web3 提供程序。確保您的提供程序(例如 MetaMask)處於活動狀態並正在執行。

如何將 MetaMask 連接到適用於 Windows 桌面的 Remix Ethereum IDE?

看起來不可能。https://medium.com/remix-ide/getting-started-with-remix-desktop-5f6380568d12

如果您想通過MetaMask使用****Remix IDE部署合約,您需要啟動、設置和使用已經隨 Remix 應用程序提供的Wallet Connect外掛。在此之後,Wallet Connect將在部署螢幕中顯示為一個新選項(除了不能與 Remix 桌面一起使用的Injected Web3 )。

在 StackExchange 上的這篇文章中也提供了使用Wallet ConnectRemix IDE的詳細說明。

引用自:https://ethereum.stackexchange.com/questions/76648