monerogo:用于Monero RPC的Go库

时间:2021-02-02 17:16:26
【文件属性】:
文件名称:monerogo:用于Monero RPC的Go库
文件大小:9KB
文件格式:ZIP
更新时间:2021-02-02 17:16:26
go golang client library cryptocurrency 门罗哥 描述 Monero JSON RPC客户端 安装 go get github.com/MarinX/monerogo 如何 守护程序客户端 要使用DaemonClient,您需要启动守护程序./monerod ,它将在localhost:18081 package main import ( "fmt" "github.com/MarinX/monerogo" ) func main () { // creates new daemon client // the endpoint is http://127.0.0.1:18081/json_rpc client := monerogo . NewDaemonClient ( "http://127.0.0.1:18081/json_rpc" ) blockCount , err := client . GetBlockCount () if err != nil { fmt . Println ( err ) return } // always check the status of the r
【文件预览】:
monerogo-master
----LICENSE(1KB)
----wallet.go(372B)
----daemon.go(4KB)
----client.go(676B)
----models.go(11KB)
----.gitignore(275B)
----README.md(1KB)
----monerogo_test.go(3KB)

网友评论