mac remix导入本地项目

安装remixd

sudo npm install -g @remix-project/remixd

第二步 remix连接本地

sudo remixd -s <absolute-path-to-the-shared-folder> --remix-ide http://remix.ethereum.org


注意命令最后的 http://remix.ethereum.org 部分,如果你登陆的remix网址是 https://remix.ethereum.org,要替换为https://remix.ethereum.org

sudo remixd -s /Users/shijianfeng/Desktop/my-code-hub/nft --remix-ide https://remix.ethereum.org

命令输完后,在Remix IDE点击 Connect 即可直接链接了,然后在IDE上修改代码即可自动同步到本地。注意⚠️ remixd终端不能关闭哦,因为是socket链接来的,一关闭就共享不了文件啦。

猜你喜欢

转载自blog.csdn.net/u013288190/article/details/123860414
今日推荐