/scale.go

Golang polkadot substrate scale codec

Primary LanguageGoApache License 2.0Apache-2.0

Scale codec golang

Scale Codec written by golang, Reference from https://github.com/polkascan/py-scale-codec

Features

  • low level codec decode
  • metadata decode
  • extrinsic decode
  • LogDigest decode
  • event decode
  • custom type reg
  • reg special version type
  • low level codec encode

Installation

go get -u github.com/itering/scale.go

Test

go test ./... --cover -v

Resources

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/itering/scale.go

License

The package is available as open source under the terms of the MIT License.