Files
Tommy Verrall 4d609a071f transaction records for payment watcher
- bearer token not implemented yet
- needs to be ran and tested
- maybe overkill passing two params to retrieve the records - maybe try just one
2025-02-25 13:56:53 +01:00
..
2025-02-12 13:16:34 +00:00
2025-02-21 20:32:39 +01:00

Nyx Chain Watcher

A simple binary to watch addresses on the Nyx chain and to call webhooks when particular message types are in a block.

Look in env.rs for the names of environment variables that can be overridden.

Running locally

export NYX_CHAIN_WATCHER_HISTORY_DATABASE_PATH=chain_history.sqlite \
export NYX_CHAIN_WATCHER_DATABASE_PATH=nyx_chain_watcher.sqlite \
export NYX_CHAIN_WATCHER_WATCH_ACCOUNTS=n1...,n1...,n1... \
export NYX_CHAIN_WATCHER_WATCH_CHAIN_MESSAGE_TYPES="/cosmos.bank.v1beta1.MsgSend,/ibc.applications.transfer.v1.MsgTransfer"
export NYX_CHAIN_WATCHER_WEBHOOK_URL="https://webhook.site" \
export NYX_CHAIN_WATCHER_WEBHOOK_AUTH=1234 \
cargo run -- run