{"repo":"mana-ethereum/ex_rlp","free":true,"listed":false,"github":"https://github.com/mana-ethereum/ex_rlp","clone":"git clone https://github.com/mana-ethereum/ex_rlp.git","description":"Elixir implementation of Ethereum's RLP (Recursive Length Prefix) encoding","language":"Elixir","stars":33,"topics":["ethereum","elixir","encoding"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"ExRLP Elixir implementation of Ethereum's RLP (Recursive Length Prefix) encoding. The encoding's specification can be found in the yellow paper or in the ethereum wiki. Installation The easiest way to add ExRLP to your project is by using Mix. Add :ex rlp as a dependency to your project's mix.exs : And run: Basic Usage Use ExRLP.encode/1 method to encode an item to RLP representation. An item can be non-negative integer, binary or list. List can contain integers, binaries or lists. Use ExRLP.decode/1 method to decode a RLP encoded data. All items except lists are decoded as binaries so additional deserialization is needed if initially an item of another type was encoded. More examples can be found in test files. Protocols You can define protocols for encoding/decoding custom data types. Contributing 1. Fork it! 2. Create your feature branch ( git checkout -b my-new-feature ) 3. Commit your changes ( git commit -am 'Add some feature' ) 4. Push to the branch ( git push origin my-new-feature ) 5. Create new Pull Request Author Ayrat Badykov (@ayrat555) Copyright and License Copyright (c) 2017-present Geoffrey Hayes, Ayrat Badykov, Mason Forest ExRLP is released under the MIT License. See the LICENSE.md file for further details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/mana-ethereum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mana-ethereum/ex_rlp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}