This repo contains activities that demonstrate the workflow for developing a Forta Detection Bot.
For more information, please see our Development Resources
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.