Meta Force原力元宇宙佛萨奇forsage2.0系统开发详情

2022-10-27 14:56:04 浏览数 (2)

智能合约环境搭建

编译 go-ethereum

代码语言:javascript复制
cd go-ethereum && make geth
github.com/naoina/go-stringutil
github.com/naoina/toml/ast
github.com/naoina/toml
github.com/ethereum/go-ethereum/internal/jsre
github.com/ethereum/go-ethereum/eth/tracers/js
github.com/ethereum/go-ethereum/console
github.com/ethereum/go-ethereum/cmd/geth
Done building.
Run "./build/bin/geth" to launch geth.

出现 Run "./build/bin/geth" to launch geth. 就说明成功了

4、配置环境变量

 export PATH=$PATH:/root/go-ethereum/build/bin

5、验证成功

执行命令

geth version

输出结果:

代码语言:javascript复制
Geth
Version: 1.10.20-unstable
Git Commit: c7f485d9e5b9ffe125d59495da3a13e1f66a24c9
Git Commit Date: 20220626
Architecture: amd64
Go Version: go1.17.2
Operating System: linux
GOPATH=/www/wwwroot/gopath
GOROOT=/root/.go/go

0 人点赞