Skip to content

sub-labs/taya-snoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 20, 2025
27ff983 · Feb 20, 2025

History

69 Commits
Jan 28, 2025
Jan 28, 2025
Feb 11, 2025
Feb 20, 2025
Jan 31, 2025
Jan 28, 2025
Jan 31, 2025
Jan 31, 2025
Jan 28, 2025
Jan 28, 2025
Feb 11, 2025
Jan 31, 2025
Jan 28, 2025

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