Skip to content

bakaoh/solidity-rlp-encode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solidity-rlp-encode

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.

TODO

  • Fix support for ABIEncoderV2.
  • Add tests for encodeList.
  • See if there are any obvious optimizations.
  • Add documentation.

Requirements

This repository hosts a Truffle project. Install truffle globally via NPM:

$ npm install -g truffle

Testing

You can test this code by running:

$ truffle test

About

RLP encoding in Solidity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published