Simple Slack Bot that will periodically fetch queued transactions in a Gnosis Safe and post them in Slack.
Gnosis Safe is the most commonly used multi-sig for treasury management, governance upgrades, and coordinated actions in general. It's easy for time-sensitive transactions to be forgotten in the gnosis safe queue until it's too late to execute them. This repo contains a simple slack bot to ping a slack channel every X hours (X is configurable) notifying multi-sig holders of pending transactions.
- Python package dependencies are handled using poetry. Run
poetry install
to install the necessary packages - Follow
.env.template
and fill out a.env
file with the appropriate API keys and gnosis safe address - To obtain a slack webhook, refer to this guide
app/bot.py
is meant to be an AWS lambda cron job that is invoked after a certain amount of time has elapsed. You can refer to the iac/main.tf
terraform file to deploy using the terraform CLI, but note that some of the code is specific to my machine/setup so modifications are required. You can alternatively zip your files manually and upload them to Lambda and set a time increment using the GUI (see here).
This bot was built for fun and personal utility – it hasn't been stress-tested so I wouldn't recommend using this as the only method of being notified of pending transactions!