[簡易教程]remix連接至本地文件夾

匯總:

  1. 安裝remixd
  2. 啟動remixd
  3. 建立連接

官網(wǎng)教程
Remix IDE 搭配插件remixd(cli/npm)后即可訪問本地文件,具體如下:

  1. 安裝remixd
    npm install -g @remix-project/remixd

  2. 啟動remixd
    remixd -s <absolute-path-to-the-shared-folder> --remix-ide <your-remix-ide-URL-instance>

只讀模式標簽--read-only

示例:

E:\Work\UDPN\trunk\3.SourceCode\solidity\udpnCC\contracts\core>remixd -s E:\Work\UDPN\trunk\3.SourceCode\solidity\udpnCC\contracts\core --remix-ide https://remix.ethereum.org
[INFO] you are using the latest version 0.4.1
[WARN] You may now only use IDE at https://remix.ethereum.org to connect to that instance
[WARN] Any application that runs on your computer can potentially read from and write to all files in the directory.
[WARN] Symbolic links are not forwarded to Remix IDE

[INFO] Mon Jun 28 2021 14:44:57 GMT+0800 (中國標準時間) remixd is listening on 127.0.0.1:65520
setup notifications for E:\Work\UDPN\trunk\3.SourceCode\solidity\udpnCC\contracts\core
  1. 建立連接

選擇‘-connect to localhost-’:

image.png

點擊‘connect’:

image.png

成功如下:

image.png

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容