Package chaincode provides default chain-codes (i.e., (so called) currency-codes) for different blockchain-networks, for the Go programming language.
(For example, for Ethereum mainnet (i.e., chain-id=1) the default chain-code is "ETH"
(and not "wei"
).)
The data for the chain currency-codes comes from https://chainid.network/
This package provides those chain-codess as constants, which are easily usable by programs written in the Go programming language.
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-chaincode
To import package chaincode use import
code like the follownig:
import "github.com/reiver/go-chaincode"
To install package chaincode do the following:
GOPROXY=direct go get https://github.com/reiver/go-chaincode
Package chaincode was written by Charles Iliya Krempeaux