/scale.go

Golang polkadot substrate scale codec

Primary LanguageGoApache License 2.0Apache-2.0

Scale Codec in Golang

Scale Codec written by golang, reference from polkascan/py-scale-codec.

Features

  • scale decode
  • scale encode
  • metadata decode
  • extrinsic decode
  • EventRecord decode
  • custom type reg
  • reg special version type

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.