Skip to content

sub-labs/taya-snoop

Repository files navigation

Taya Snoop

Taya events indexer and pricing calculator

build

Build

You can try the indexer locally or using Docker.

  1. Clone the repository
git clone https://github.com/sub-labs/taya-snoop && cd taya-snoop
  1. Build the program
cargo build --release

Docker

Build the docker image

docker build . -t snoop

Copy the .env.example and rename it to .env

Start the indexer

docker compose up

Program flags

Flag Default Purpose
--rpc empty URL of the RPC endpoint to fetch chain data and logs.
--database empty MongoDB connection URL (e.g. 'mongodb://user:password@host:27017/dbname').
--batch-size 50 Number of blocks to fetch in each batch of logs.

About

Taya logs and events indexer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published