RLPEncode
is an RLP encoding library written in Solidity. The original author of this library is Bakaoh. This repository cleans up the original code and adds tests for the standard RLP encoding test cases.
- Fix support for ABIEncoderV2.
- Add tests for
encodeList
. - See if there are any obvious optimizations.
- Add documentation.
This repository hosts a Truffle project. Install truffle globally via NPM:
$ npm install -g truffle
You can test this code by running:
$ truffle test