Skip to content

CodeChain-io/codechain-sdk-go

Repository files navigation

CodeChain RPC Go

CodeChain RPC Go is a Go library that calls RPC to a CodeChain node.

How to install

go get -u github.com/CodeChain-io/codechain-rpc-go

Example

package main import ( "fmt"	rpc "github.com/CodeChain-io/codechain-rpc-go" ) func main() { rpc.Init("https://corgi-rpc.codechain.io/") fmt.Println(rpc.Version()) }

How to run linter

Make sure you run revive before creating a PR to the repo

Install

go get -u github.com/mgechev/revive

Run

revive -config revive.toml ./...

About

Go Software Development Kit for CodeChain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages