[简易教程]remix连接至本地文件夹

汇总:

  1. 安装remixd
  2. 启动remixd
  3. 建立连接

官网教程
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

最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容