Skip to content

An example of how to monitor all safe events for a list of safe addresses using a trap

License

Notifications You must be signed in to change notification settings

drosera-network/safe-mutlisig-alerts-example

Repository files navigation

Drosera Safe Wallet Trap Example

This is an example of how to use a Trap to monitor all events emitted from a Safe Wallet. Once an event is detected, the Trap will send an alert to the configured Slack channel.

Configure dev environment

curl -L https://foundry.paradigm.xyz | bash && foundryup

# The trap-foundry-template utilizes node modules for dependency management
# install Bun (optional)
curl -fsSL https://bun.sh/install | bash && bun install

# install drosera-cli
curl -L https://app.drosera.io/install | bash && droseraup

Compile the trap

forge compile

Dry run the trap

drosera dry-run --block-number <block_number>

Deploy the trap

drosera apply

Alert Documentation

https://dev.drosera.io/trappers/configuring-alerts

About

An example of how to monitor all safe events for a list of safe addresses using a trap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published