https://github.com/jeiwan/eos-b58
Base58 encoding/decoding for EOS
https://github.com/jeiwan/eos-b58
base58 blockchain eos eosio
Last synced: 11 months ago
JSON representation
Base58 encoding/decoding for EOS
- Host: GitHub
- URL: https://github.com/jeiwan/eos-b58
- Owner: Jeiwan
- License: isc
- Created: 2018-07-18T09:27:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-18T13:34:59.000Z (almost 8 years ago)
- Last Synced: 2025-03-13T13:15:16.739Z (over 1 year ago)
- Topics: base58, blockchain, eos, eosio
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
base58 encoding/decoding for EOS
==========
[](http://copyfree.org)
[](http://godoc.org/github.com/btcsuite/btcutil/base58)
This package is fork of https://github.com/btcsuite/btcutil/tree/master/base58 which is adapted to the Base58 algorithm used by EOS (https://github.com/EOSIO/eos).
## Installation and Updating
```bash
$ go get -u github.com/Jeiwan/eos-b58
```
## Examples
* [Decode Example](https://github.com/Jeiwan/eos-b58/blob/master/example_test.go#L13)
Demonstrates how to decode modified base58 encoded data.
* [Encode Example](https://github.com/Jeiwan/eos-b58/blob/master/example_test.go#L26)
Demonstrates how to encode data using the modified base58 encoding scheme.
* [CheckDecode Example](https://github.com/Jeiwan/eos-b58/blob/master/example_test.go#L26)
Demonstrates how to decode Base58Check encoded data.
* [CheckEncode Example](https://github.com/Jeiwan/eos-b58/blob/master/example_test.go#L57)
Demonstrates how to encode data using the Base58Check encoding scheme.
## License
Package base58 is licensed under the [copyfree](http://copyfree.org) ISC
License.