1.简介
Remix 是我们开发 Solidity 智能合约的常用工具,有时候我们会直接访问在线版的 Remix-IDE。
但是,如何将在线Remix链接本地文件系统呢,下面则是部署步骤
2、部署 Remixd
Remixd 的安装使用步骤如下:
安装 Remixd:
npm install -g @remix-project/remixd
启动 Remix-IDE:
模板:remixd -s <absolute-path-to-the-shared-folder> --remix-ide <your-remix-ide-URL-instance>
示例:remixd -s E:\Remix\remix-ide --remix-ide https://remix.ethereum.org/
点击进入Remix: Remix - Ethereum IDE
之后即可在浏览器中编写本地代码啦~~