Betty is an AI agent for sports betting with friends on Discord. It creates bets using smart contracts on Arbitrum Stylus, manages deposits via Metamask, and automates payouts with Chainlink results—making group betting seamless and trustless.
- Smart Contract Integration: Bets are secured with Arbitrum Stylus smart contracts.
- Web3 Transactions: Manages deposits and payouts via Metamask.
- Automated Payouts: Uses Chainlink to fetch match results and distribute funds.
- Seamless Discord Experience: No need for a traditional frontend; everything happens within Discord.
- Trustless Betting: No intermediaries, ensuring fairness and transparency.
- Create a Bet: A user sets up a bet in Discord with Betty's guidance.
- Smart Contract Deployment: Betty generates a smart contract and a unique betting link.
- Friends Join: Users place their bets using Metamask.
- Match Result Fetching: Chainlink provides verified match results.
- Payout Distribution: The smart contract automatically distributes winnings.
- A Discord account to interact with Betty.
- A Metamask wallet for placing bets.
- Arbitrum Stylus setup for executing smart contracts.
- Chainlink for oracles and match results.
- Docker installed on your system (for Docker deployment)
Pull and run the Docker image:
# Pull the latest version
docker pull dagrinchi/betting-agentai:latest
# Run with environment variables
docker run -d \
--name betting-agentai \
--env-file .env \
dagrinchi/betting-agentai:latest
Required environment variables in .env
:
# OpenAI API Key for AI functionality
OPENAI_API_KEY=your-openai-key
# Wallet Private Key for transactions
PRIVATE_KEY=your-wallet-private-key
# Discord Configuration
DISCORD_TOKEN=your-discord-token
DISCORD_CHANNEL_ID=your-channel-id
# Smart Contract
BETTING_CONTRACT_ADDRESS=your-contract-address
Create a docker-compose.yml
:
version: '3.8'
services:
betting-agent:
image: dagrinchi/betting-agentai:latest
container_name: betting-agentai
env_file:
- .env
restart: unless-stopped
Then run:
docker-compose up -d
- Add multi-sport support.
- Enhance UI/UX for Discord interactions.
- Implement additional analytics for betting strategies.
This project is licensed under the MIT License.
Pull requests are welcome. For major changes, please open an issue first to discuss the proposed changes.
For inquiries or support, reach me via Discord or open an issue in this repository.