Add fart2fartcoin: detect a fart, buy Fartcoin - #379
rdyplayerB wants to merge 1 commit into
Conversation
Fart2Fart(coin): Fart Finder detection plus an automatic Bankr buy of a whole-dollar amount of USDC into Fartcoin on Solana on every detected fart. Cross-chain Base USDC -> Solana Fartcoin in one Bankr swap; spend limits are Bankr's. Verified live on a Mac stand-in on 2026-09-16. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
🔀 Branch Merge CheckPR direction: ✅ Passed — |
✅ Community PR Path Check — PassedAll changed files are inside the |
✅ Ability Validation Passed |
🔍 Lint Results🔧 Formatting fixes availableThis PR is from a fork, so fixes could not be pushed automatically. Download the git apply autofix.patch❌
|
Fart2Fart(coin)
Every confirmed fart in the room buys Fartcoin. No wake word, no confirmation, no regrets.
Sells a whole number of dollars of USDC on Base through the user's Bankr wallet and lands Fartcoin on Solana in one cross-chain swap. Spend limits are Bankr's (bankr.bot → Security); the ability only guards against buying the same fart twice. A fresh install is in dry run until the user says "turn fart trading on".
Trigger words:
fart finder,fart detector,flatulence,fart trading,fart buy,fartcoinBuilt on
Layout
main.py— voice skill: set dollars per fart, trading on/off, report, holdings, balance, plus Fart Finder's status/arm/disarm/sensitivitybackground.py— cloud daemon: poll, announce,buyhook, arrival check, daily linetrade.py— pure Bankr functions and the source of truth; inlined into the two cloud files because the sandbox caches sibling modules across pushesdevkit_functions.py,listener/,pi/— device side, from Fart FinderTesting
0xf50b8ef8…d93a, 5.977 Fartcoin confirmed on Solana).validate_ability.pyand the upload scan.Notes for review
idempotencyKey; it is derived deterministically from the fart event id.showLowValueTokens.🤖 Generated with Claude Code