An EVM block ingestion toolkit for Elixir
Built with Slurp | Install | Usage | Commands | Configuration
Stream blocks & events from multiple EVM blockchains with a near-uniform API
Supported Blockchains |
---|
Ethereum |
Binance Smart Chain |
Matic |
Optimism |
Fantom |
xDAI |
Avalanche |
slurp
requires Elixir 1.11+ & Erlang/OTP 22+. Add slurp
to your list of dependencies in mix.exs
def deps do
[
{:slurp, "~> 0.0.12"}
]
end
Create an .iex.exs
file in the root of your project and import the slurp
helper
# .iex.exs
Application.put_env(:elixir, :ansi_enabled, true)
import Slurp.IEx
slurp
runs as an OTP application.
During development we can leverage mix
to compile and run our application with an
interactive Elixir shell that imports the set of slurp
helper commands.
iex -S mix
https://chainid.network/ maintains a list of EVM compatible blockchains including available RPC providers.
- Alex Kwiatkowski - [email protected]
slurp
is released under the MIT license