A simple XMTP agent that responds with gm to any message it receives.
Tip
This example is part of the XMTP agent examples collection.
Try XMTP using xmtp.chat and sending a message to gm.xmtp.eth
The bot supports the following environment variables for high-volume processing:
XMTP_ENV=dev # XMTP network (dev, production)
XMTP_WALLET_KEY= # Private key for wallet creation
XMTP_DB_ENCRYPTION_KEY= # Encryption key for database
# git clone repo
git clone https://github.com/xmtp/gm-bot.git
# go to the folder
cd gm-bot
# install packages
yarn
# run the agent
yarn dev