Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
192 changes: 181 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pythnet-watcher"
version = "1.0.0"
version = "1.1.0"
edition = "2021"

[dependencies]
Expand Down Expand Up @@ -29,6 +29,10 @@ tokio-stream = "0.1.17"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
wormhole-vaas-serde = "0.1.0"
axum = "0.8.4"
metrics = "0.24.2"
lazy_static = "1.5.0"
axum-prometheus = "0.9.0"

[dev-dependencies]
serde_json = "1.0.140"
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,10 @@ This will save the key in raw byte format to the file named `.secret`.
### 🧪 Testing Locally

To test in a non-production environment (e.g. with devnet or a local Pythnet fork), just provide a different `--pythnet-url`, and `--server-url`, and optionally use custom `--wormhole-pid`.

---

### 📊 Metrics

By default, running the watcher exposes metrics at `http://127.0.0.1:9001`.
You can change the metrics endpoint by passing the `--metrics-addr` flag or setting the `METRICS_ADDR` environment variable.
Loading
Loading