A tool for collecting rollup blocks from the Aztec Connect rollup, and exporting them to csv

Overview

Aztec Connect Data Gobbler

The Aztec Connect Data gobbler is a tool made for extracting data from the Aztec Connect system using only L1 as its source. The tool looks for new rollup blocks being published, and then pulls and decodes them.

The decoded blocks are stored in a simple key-value store (MicroKV), and the transactions can be exported to a CSV-file such that it can easily be passed into Python or similar tools.

Usage

The tool is written in Rust, and can be compiled using cargo build --release. The key-value store is written to disk for later use, and is saved in the directory passed in to --data-path or use the default.

Syncing

To sync the node, you need point it towards an L1 node (can be Infura) and can then sync it using

Synchronise the local database with the rollup

Usage: ac-gobbler sync [OPTIONS]

Options:
      --rpc-url <RPC_URL>      The RPC url to an ethereum node [default: http://localhost:8545]
      --data-path <DATA_PATH>  The path to the dir of the database [default: ./data/]
  -h, --help                   Print help

Exporting

Syncing might take a while, as the tool needs to download all the rollup blocks. Once it is done, rerunning will be much faster as it will only download new blocks.

The tool can also export the data to a CSV-file, which can be used in Python or similar tools. To do this, run

Exports all transactions to a csv file

Usage: ac-gobbler export [OPTIONS]

Options:
      --export-path <EXPORT_PATH>  The file to write csv to [default: ./export/txs.csv]
  -l, --l1-only                    Export only deposits and withdrawals
      --data-path <DATA_PATH>      The path to the dir of the database [default: ./data/]
  -h, --help                       Print help

Decoding individual blocks

Individual blocks can also be decoded using the decode command, which can be useful for getting an understanding of what is going on in a specific block.

Print the contents of a block in a semi readable manner

Usage: ac-gobbler decode [OPTIONS] <ROLLUP_ID>

Arguments:
  <ROLLUP_ID>  The rollup id of the block to decode

Options:
      --data-path <DATA_PATH>  The path to the dir of the database [default: ./data/]
  -h, --help                   Print help
You might also like...
Captures packets and streams them to other devices. Built for home network analysis and A&D CTFs.

🍩 shiny-donut shiny-donut is a packet capture app that supports streaming packets from a remote system to another device. The main use for this is to

Uses the cardano mini-protocols to receive every block and transaction, and save them to a configurable destination

cardano-slurp Connects to one or more cardano-node's, streams all available transactions, and saves them to disk (or to S3) in raw cbor format. Usage

Save cli commands and fuzzy find them later
Save cli commands and fuzzy find them later

crow - cli command memorizer What is crow? | Installation | Usage | FAQ What is crow? crow (command row) is a CLI tool to help you memorize CLI comman

Explain semver requirements by converting them into less than, greater than, and/or equal to form.

semver-explain Convert SemVer requirements to their most-obvious equivalents. semver-explain is a CLI tool to explain Semantic Versioning requirements

A simple CLI to build VEXCode V5 Pro projects and download them to the V5 brain.

vexer A simple CLI to build VEXCode V5 Pro projects and download them to the V5 brain. (WIP) This currently is only tested on and only works on window

Store your transfer.sh links, so you can remember them later and know when they will expire, but now written in Rust.

Transfer.sh helper Rusted The idea of the script is to store your transfer.sh links and simplify its usage, so you can remember them later and know wh

Core Fiberplane data models and methods for transforming them (templates, providers, markdown conversion)

fiberplane This repository is a monorepo for Rust code that is used throughout Fiberplane's product. Overview base64uuid - A utility for working with

 ⚡️ A blazing fast way of maintaining powerful notes with connections between them.
⚡️ A blazing fast way of maintaining powerful notes with connections between them.

Zettl ⚡️ A blazing fast way of maintaining powerful notes with connections between them. Installing Zettl To install Zettl, you will need the Rust too

Help Skelly to find bones, combine them to build his body back
Help Skelly to find bones, combine them to build his body back

Bones Collector Help Skelly to find bones, combine them to build his body back! Game made for the bevy Jam#2. Play it here in your browser: itch.io! R

Owner
Lasse Herskind
Lasse Herskind
rsv is a command line tool to deal with small and big CSV, TXT, EXCEL files (especially >10G)

csv, excel toolkit written in Rust rsv is a command line tool to deal with small and big CSV, TXT, EXCEL files (especially >10G). rsv has following fe

Zhuang Dai 39 Jan 30, 2023
scan markdown files and execute `console` blocks

exec-commands − scan markdown files and execute console blocks exec-commands is a utility to update command-line-tool examples embedded in markdown fi

Hajime Suzuki 3 Nov 27, 2022
Rust crate for Ok-wrapping and try blocks

tryvial A small crate for Ok-wrapping and try blocks. This is compatible with Result, Option, and any type implementing the unstable std::ops::Try tra

null 11 Jan 25, 2023
Programming language that compiles into Scratch blocks (SB3).

Claw Hello, and welcome to my cool project! I've spent... at least a month on this, and it's still not finished! Feel free to check it out though. :D

BD103 3 Dec 21, 2022
📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.

??(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.

Alex Hallam 1.8k Jan 2, 2023
Xsv - A fast CSV command line toolkit written in Rust.

xsv is a command line program for indexing, slicing, analyzing, splitting and joining CSV files. Commands should be simple, fast and composable: Simpl

Andrew Gallant 9.1k Dec 31, 2022
qsv: Ultra-fast CSV data-wrangling toolkit

qsv is a command line program for indexing, slicing, analyzing, splitting, enriching, validating & joining CSV files. Commands are simple, fast & composable

Joel Natividad 398 Jan 3, 2023
A compact implementation of connect four written in rust.

connect-four A compact implementation of connect four written in rust. Run the game At the moment there no pre-built binaries - but you can build it l

Maximilian Schulke 12 Jul 31, 2022
FastSSH is a TUI that allows you to quickly connect to your services by navigating through your SSH config.

Connect quickly to your services ?? FastSSH is a TUI that allows you to quickly connect to your services by navigating through your SSH config. Instal

Julien 85 Dec 14, 2022
VICTOR: An Arcane Connect Four AI using Ancient Knowledge from the 80s

VICTOR VICTOR is a program based on 'A Knowledge-based Approach of Connect-Four' by Victor Allis. The original program written in C has been lost to h

null 2 Jan 6, 2022