RLP: RLP serialization as defined in Ethereum Yellow Paper

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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]

Properties

Versions 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.1
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-10T23:39:39Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

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.