Skip to content

forta-network/forta-bot-workshop

Repository files navigation

image

Forta Bot Workshop

This repo contains activities that demonstrate the workflow for developing a Forta Detection Bot.

Resources

For more information, please see our Development Resources

Minimal Initial Setup

To experience these exercises, you'll need Node.js v12+ and an Archive Node (e.g., Alchemy free tier)

Create a forta directoy

$ mkdir ~/.forta

Create a file at ~/.forta/forta.config.json with a jsonRpcUrl defined (Archive Node / Alchemy)

{
  "jsonRpcUrl": "https://eth-mainnet.g.alchemy.com/v2/..."
}

This will let you test bots on historical blocks. Otherwise you'll only be able to run for newer blocks.

Activities