# 全局安装
npm install -g @remix-project/remixd
# 启动
remixd -s 具体文件项目路径 --remix-ide https://remix.ethereum.org/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*Submitted for verification at Etherscan.io on 2021-08-18 | |
*/ | |
pragma solidity >=0.6.0 <0.8.0; | |
/* | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available | |
* via msg.sender and msg.data, they should not be accessed in such a direct |
# 下载源码
https://github.com/ethereum/go-ethereum/releases
# 解压源码:
tar -xzf go-ethereum-1.9.7.tar.gz
# 编译:
cd go-ethereum-1.9.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 检查launch_binary_linux文件是否存在,如果存在则删除 | |
# 检查ionet_device_cache.txt文件是否存在,如果存在则删除 | |
# 下载ionet执行文件 | |
curl -L https://github.com/ionet-official/io_launch_binaries/raw/main/launch_binary_linux -o launch_binary_linux | |
chmod +x launch_binary_linux | |
echo 'ionet执行文件下载成功' | |
# 删除所有运行中的容器 | |
docker ps -aq | xargs -r docker stop |