Awesome
Slurp
An EVM block ingestion toolkit for Elixir
Built with Slurp | Install | Usage | Commands | Configuration
What Can I Do? TLDR;
Stream blocks & events from multiple EVM blockchains with a near-uniform API
Supported Blockchains |
---|
Ethereum |
Binance Smart Chain |
Matic |
Optimism |
Fantom |
xDAI |
Avalanche |
Install
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
Usage
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
Chain Details
https://chainid.network/ maintains a list of EVM compatible blockchains including available RPC providers.
Authors
- Alex Kwiatkowski - alex+git@fremantle.io
License
slurp
is released under the MIT license