π·Elixir
An Elixir implementation of EIP-4361: Sign In With Ethereum.
Getting Started
The Elixir implementation of Sign-In with Ethereum can be found here:
Installation
The package can be installed by adding siwe to your list of dependencies in mix.exs:
Example
To see how this works in iex, clone this repository and from the root run:
Then create two files message.txt:
signature.txt:
then run
Once in iex, you can then run the following to see the result:
Any valid SIWE message and signature pair can be substituted.The functions described below can also be tested with msg, sig, or a value set to the result Siwe.parse_if_valid.
Last updated
