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]
Versions [faq] 1.0.0, 1.0.1, 1.1.0, 1.1.1 (info)
Change log ChangeLog.md
Dependencies base (==4.*), binary (==0.8.*), bytestring (==0.10.*) [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 Mon Dec 10 23:39:54 UTC 2018
Distributions NixOS:1.1.1
Downloads 325 total (112 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-12-10 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for RLP-1.1.1

[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.