Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itering/scale.go
Golang polkadot substrate scale codec
https://github.com/itering/scale.go
Last synced: 3 months ago
JSON representation
Golang polkadot substrate scale codec
- Host: GitHub
- URL: https://github.com/itering/scale.go
- Owner: itering
- License: apache-2.0
- Created: 2020-05-29T08:20:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-21T09:05:37.000Z (3 months ago)
- Last Synced: 2024-03-21T10:37:15.659Z (3 months ago)
- Language: Go
- Homepage: http://subscan.io
- Size: 4.29 MB
- Stars: 56
- Watchers: 9
- Forks: 32
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-substrate - Go - Maintained by [Itering](https://www.itering.com/). (SCALE Codec)
README
# Scale Codec in Golang
Scale Codec written by golang, reference from [polkascan/py-scale-codec](https://github.com/polkascan/py-scale-codec).
## Features
- [x] Decode
- [x] Encode
- [x] Metadata decode(V11,V12,V13,V14)
- [x] Extrinsic decode
- [x] EventRecord decode
- [x] Custom type reg
- [x] Reg special version type## Installation
```bash
go get -u github.com/itering/scale.go
```## Test
```bash
go test ./... --cover -v
```Docker
```bash
docker build -t scale_go .
docker run -it scale_go
```## Resources
- [Subscan](https://www.subscan.io)
- [Subscan Open-source](https://github.com/itering/subscan-essentials)
- [Polkadot.js](http://polkadot.js.org/)## 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](https://opensource.org/licenses/MIT).