Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 2.68 KB

README.md

File metadata and controls

63 lines (45 loc) · 2.68 KB

Messari Substreams

Pre-requisites

Getting started with Rust

Getting started with Substreams

Sample Substreams

Helpers

Development Status

🔨 = In progress.
🛠 = Feature complete. Additional testing required.
✅ = Production-ready.

Substream Status Description
Ethereum Network 🔨 Network-level metrics and statistics
ETH Balance 🛠 ETH balance for every Ethereum address
ERC20 Holdings 🛠 ERC20 balance for every Ethereum address
ERC20 Price 🛠 Pricing module for ERC20 tokens
SPL Holdings SPL token balance for every Solana address
ENS Look Up 🔨 ENS records for lookup and reverse lookup
Uniswap v2 🔨 Substreams for Uniswap v2
Compound v2 🔨 Substreams for Compound v2

Workflow

Messari Command line interface

  • To install run: make install-cli
  • Two commands are currently available:
    • messari init
    • messari add abi
  • Use --help flag for details around providing args in the command line
  • If any args are left blank the CLI will ask you for the necessary information when needed

Logging

  • Rust Logging
  • Logging can be done using the standard log crate, or using the slog crate.
  • Note that substreams does not cache the logs. If you want to see logs, you may need to make a change to your substreams code, so that a new binary will be generated - otherwise, this substream will just stream the cached data from the first execution without the logs.