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
相關文章
相關標籤/搜索