Top 5.0% forks on proxy.golang.org
proxy.golang.org : github.com/vulcanize/go-codec-dageth
Package dageth provides a Go implementation of the IPLD DAG-ETH spec (https://github.com/ipld/ipld/tree/master/specs/codecs/dag-eth) for go-ipld-prime (https://github.com/ipld/go-ipld-prime/). Use the Decode() and Encode() functions directly, or import one of the packages to have their codec registered into the go-ipld-prime multicodec registry and available from the cidlink.DefaultLinkSystem. Nodes encoded with theses codecs _must_ conform to the DAG-ETH spec. Specifically, they should have the non-optional fields shown in the DAG-ETH [schemas](https://github.com/ipld/ipld/tree/master/specs/codecs/dag-eth): Use the dageth.Type slab to select the appropriate type (e.g. dageth.Type.Transaction) for strictness guarantees. Basic ipld.Nodes will need to have the appropriate fields (and no others) to successfully encode using this codec.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/vulcanize/go-codec-dageth
License: Apache-2.0,MIT
Latest release: about 2 years ago
First release: almost 3 years ago
Namespace: github.com/vulcanize
Stars: 5 on GitHub
Forks: 4 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 11 days ago