Loading work…
Engineering
A Farcaster bot that processes mentions with Mistral and connects them to onchain lottery creation tools.

0tto reads Farcaster mentions and connects conversational requests to onchain lottery tools. User identity and message contents provide context for function selection and cast replies.
Python handlers process mentions through Mistral function calling. Tools accept token parameters and forward them to contract interactions through Web3.py. Message processing, contract actions, and cast replies are distinct parts of the bot flow.