RLP: RLP serialization as defined in Ethereum Yellow Paper

[ data, lgpl, library, parsing ] [ Propose Tags ]

RLP serialization as defined in Ethereum Yellow Paper allowing the encoding of arbitrary data and the later decoding of such data. Intended for use with Ethereum transactions or data over the network.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0, 1.0.1, 1.1.0, 1.1.1 (info)
Change log ChangeLog.md
Dependencies base (>=4 && <5), binary (>=0.8 && <0.9), bytestring (>=0.10 && <0.11) [details]
License LGPL-3.0-only
Author Javier Sagredo <jasataco@gmail.com>
Maintainer Javier Sagredo <jasataco@gmail.com>
Category Data, Parsing
Home page https://github.com/jasagredo/RLP
Source repo head: git clone git://github.com/jasagredo/RLP.git
Uploaded by jasagredo at 2018-12-10T01:03:48Z
Distributions
Downloads 1688 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-12-10 [all 1 reports]

Readme for RLP-1.1.0

[back to package description]

RLP: Recursive Length Prefix

Build Status

This package implements the Recursive Length Prefix protocol defined in the Ethereum Yellow Paper used for serializing and deserializing structures into an array of bytes.

For more information, please check the haddock documentation (can be generated running cabal haddock on the root of the repo).

Installation

On 1.1.0 error handling was coded as a safe way to fail on the decoding through Eithers. Usage of >=1.1 is quite advised.

Installation can be easily done through cabal as the package is in Hackage. cabal install RLP should be enough.

Contribuition

Feel free to contribute. I think the error handling part could be improved.