forta-network / forta-bot-sdk

Forta Detection Bot SDK and CLI tool
MIT License
71 stars 38 forks source link

Pass Forta API alerts to handleAlert when running bot #228

Closed haseebrabbani closed 1 year ago

haseebrabbani commented 1 year ago

with the addition of the new handleAlert handler, we should update the run command to listen for the alerts specified by the bot and pass them into the bot in real-time (same as we do with blocks and transactions)

haseebrabbani commented 1 year ago

Fixed in https://github.com/forta-network/forta-bot-sdk/pull/229