A Dashboard for monitoring Cardano addresses. Reads chain data from a Redis stream populated by Oura.
- Install compiler dependencies with
asdf install
- Run
mix setup
to install and setup dependencies. - See
.env.sample
as reference for required ENVs. - Start the app with
iex -S mix
For the time being, it simply displays addresses receiving ADA along with the amount of the transfer.
The architecture contains the following services:
- Cardano Node
- Oura
- Redis
- Phoenix
Chain data from a local Cardano Node is read by Oura which has a sink configured for Redis Streams. A Phoenix server subscribes to the Redis Stream and upon receiving events from the stream, it broadcasts them to Phoenix PubSub subscribers.
The main page for the dashboard is a LiveView which is a subscriber to PubSub. Upon receiving the broadcast, the LiveView updates the socket with new data which in turn updates the page.
Running tests depends on Redis.
More info TBD.