智能合约 编辑器 remix-ide
-
在线编辑,对网络有要求,在线地址
https://remix.ethereum.org/
-
离线编辑,docker down镜像
docker pull remixproject/remix-ide:latest docker run -p 8080:80 remixproject/remix-ide:latest浏览器运行 localhost:8080,就可以用
solidity编写智能合约了 -
remix-project 连接本地文件夹:
-
安装remixd
npm install -g @remix-project/remixd
-
连接
remixd -s d:/workspace -u http://localhost:8080 address public owner;
function getOwner() public { owner = msg.sender; }