🍷Elixir
An Elixir implementation of EIP-4361: Sign In With Ethereum.
Last updated
An Elixir implementation of EIP-4361: Sign In With Ethereum.
Last updated
The Elixir implementation of Sign-In with Ethereum can be found here:
Sign-In with Ethereum can be installed as a hex
. For more information and package information, click here
The package can be installed by adding siwe
to your list of dependencies in mix.exs
:
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
.