Skip to content

deepakraous/elixir_rlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run on Repl.it

ElixirRlp

Updates:

  • Updated Decode Skeleton
  • Beautified Encode/Decode
  • Updated Readme.md

ToDos:

  • Wrap up decode
  • Add unit tests for decode

Installation

If available in Hex, the package can be installed by adding elixir_rlp to your list of dependencies in mix.exs:

def deps do
  [
    {:elixir_rlp, "~> 0.1.0"}
  ]
end

Run it from iex

iex> mixer_list = ["abc", 1, 987, "d", "o", "g" ]
["abc", 1, 987, "d", "o", "g"]
iex> mixer_list |> ElixirRlp.Encode.encode
<<203, 131, 97, 98, 99, 1, 130, 3, 219, 100, 111, 103>>

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_rlp.

About

Ethereum RLP implementation in Elixir

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages