feat: add a simple Crawler example (#453)

While working on Amaru, we'll likely want to grab lots of example data. This adds a small utility to easily grab one block, one tx, or blocks/txs matching some predicate
This commit is contained in:
Pi Lanningham 2024-05-08 19:11:13 -04:00 committed by GitHub
parent 7c60affea1
commit af8898b8ec
5 changed files with 168 additions and 0 deletions

View file

@ -0,0 +1,14 @@
[package]
name = "crawler"
version = "0.1.0"
edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
pallas = { path = "../../pallas" }
tokio = { version = "1.37", features = ["rt-multi-thread", "macros"] }
anyhow = "1.0"
clap = { version = "4.5", features = ["derive", "env"] }
hex = "0.4.3"