Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reiver/go-chaincode
Package chaincode provides default chain-codes (i.e., (so called) currency-codes) for different blockchain-networks, for the Go programming language.
https://github.com/reiver/go-chaincode
chainid
Last synced: about 1 month ago
JSON representation
Package chaincode provides default chain-codes (i.e., (so called) currency-codes) for different blockchain-networks, for the Go programming language.
- Host: GitHub
- URL: https://github.com/reiver/go-chaincode
- Owner: reiver
- License: mit
- Created: 2024-06-21T17:42:35.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-25T01:17:50.000Z (5 months ago)
- Last Synced: 2024-08-03T12:01:01.686Z (5 months ago)
- Topics: chainid
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-chaincode
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-code**s comes from https://chainid.network/
This package provides those **chain-codes**s as **constants**, which are easily usable by programs written in the Go programming language.
## Documention
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-chaincode
[![GoDoc](https://godoc.org/github.com/reiver/go-chaincode?status.svg)](https://godoc.org/github.com/reiver/go-chaincode)
## Import
To import package **chaincode** use `import` code like the follownig:
```
import "github.com/reiver/go-chaincode"
```## Installation
To install package **chaincode** do the following:
```
GOPROXY=direct go get https://github.com/reiver/go-chaincode
```## Author
Package **chaincode** was written by [Charles Iliya Krempeaux](http://reiver.link)