/RLP

An implementation of the RLP serialization as specified in the Ethereum Yellow Paper

Primary LanguageHaskellGNU Lesser General Public License v3.0LGPL-3.0

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.