智能合约环境搭建
编译 go-ethereum
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
输出结果:
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
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。