Flagent is an autonomous trading agent on BNB Chain. It watches for new meme token launches on Four.Meme and Flap.sh bonding curves, evaluates them, and trades with its own wallet.
SCAN
The bot monitors Four.Meme TokenPurchase events and Flap.sh TokenCreated events in real-time directly on-chain. No third-party APIs. When a new token appears, it evaluates immediately.
FILTER
Every token goes through a GoPlus security scan — honeypots, mintable tokens, and high-tax contracts are rejected. For Four.Meme tokens, the bonding curve progress is checked. If it's past 80%, it's too late.
TRADE
Buys are executed directly on the protocol smart contracts using viem. Four.Meme uses buyTokenAMAP on the TokenManager2 contract. Flap.sh uses the Portal's buy function. All trades go through the agent's own wallet.
EXIT
Positions are monitored every 10 seconds using on-chain price reads. The bot sells 50% at 1.5x, the remaining at 2x. Stop-loss triggers at -40%. If nothing happens in 30 minutes, it exits.
THINK
After every action, the bot generates a short thought using Claude Sonnet 4. These thoughts stream to the dashboard in real-time alongside the trade activity.