本地remix搭建

环境准备

安装git

git官网下载

安装nodejs

要求版本 > 14.17.6
nodejs官网下载

安装python

python官网下载

安装visual studio

visual studio官网下载

安装wget

wget下载(0积分免费)
解压后将 wget.exe 放到 C:\Windows\System32 目录下

本地remix搭建


# 全局安装nx cli
npm install -g @nrwl/cli

# 克隆remix
git clone https://github.com/ethereum/remix-project.git

# 安装remix
cd remix-project
npm install
npm run build:libs // Build remix libs
# 修改端口号 默认是8080 无需修改可略过
编辑文件remix-project/workspace.json 59(版本迭代可能行数不准可搜索8080)
"port": 8080
改为"port": 8081
# 打包
nx build
# 启动
nx serve
#浏览器访问 http://localhost:8081/

猜你喜欢

转载自blog.csdn.net/weixin_42704356/article/details/122812472
今日推荐