go访问geth区块链节点

go访问区块链,采用的是json-rpc的方式来进行访问。这里用了github上的库ethrpc,这个库采用json-rpc的方式来访问geth节点。git 1 先下载ethrpc库github go get -u github.com/onrik/ethrpc 2 上代码json package main import ( "fmt" "log" "github.com/onrik/et
相关文章
相关标签/搜索