美文网首页
安装Remix

安装Remix

作者: jameschuh | 来源:发表于2021-12-10 11:08 被阅读0次

安装remix

安装remix-ide

npm install -g remix-ide

安装remixd

npm install -g @remix-project/remixd

运行

remixd -s /your/path/to/project -remix-ide http://remix.ethereum.org

选择本地工程

在workspace选项中,选择-connect to localhost-

如何配置支持hardhat

正常情况下使用remix无法支持hardhat相关得工具,如下:


image.png

但是,一个hardhat工程是可以在remix使用hardhat的,

remixd -s /your/path/to/hardhat-project -remix-ide http://remix.ethereum.org

你可以看到solidity compiler选项增加了hardhat相关的勾选项:

image.png

相关文章

网友评论

      本文标题:安装Remix

      本文链接:https://www.haomeiwen.com/subject/uykcfrtx.html