The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/rust/agents/scraper
Mattie Conover 0f5e319d11
Make domain id the primary key (#997)
2 years ago
..
migration Make domain id the primary key (#997) 2 years ago
src Scraper DB generation and schema (#991) 2 years ago
Cargo.toml Scraper DB generation and schema (#991) 2 years ago
README.md Scraper DB generation and schema (#991) 2 years ago

README.md

For local testing, setup a postgres database with

docker run --name scraper -e POSTGRES_PASSWORD=47221c18c610 -p 5432:5432 -d postgres

# optionally to connect
docker exec -it scraper /usr/bin/psql -U postgres

# and to shutdown
docker stop scraper
docker rm -v scraper

To init the database, run from rust dir

cargo run --package migration --bin init-db --features tracing,tracing-subscriber