Skip to content

feat(dca-accumulator): build to release-ready (keyless USDC->token DCA)#55

Merged
hebbianloop merged 1 commit into
mainfrom
shady/dca-accumulator
Jun 25, 2026
Merged

feat(dca-accumulator): build to release-ready (keyless USDC->token DCA)#55
hebbianloop merged 1 commit into
mainfrom
shady/dca-accumulator

Conversation

@hebbianloop

Copy link
Copy Markdown
Member

Completes the Batch-1 starter-agent set. Turns the DCA stub into a real keyless, self-sustaining scheduled accumulator (no AEX backend, no API keys), reusing Gem Hunter's verified Uniswap v3 swap logic.

Stacked PR on shady/security-guard (batch-1 stack). Clean diff: dca-accumulator only. Re-target to main after the stack lands.

What it does

  • dca_buy.py — keyless Uniswap v3 QuoterV2 (best fee tier / 2-hop via WETH) → approve(USDC→router) + exactInputSingle/exactInput calldata for waap-cli send-tx, amountOutMinimum from slippage, plus a quoted price/token for cost basis. (Verified: $50 → 0.0304 WETH @ $1646.95/WETH on Base.)
  • Behavior: schedule every 24h, buys at most once per DCA_INTERVAL_HOURS (tracked in MEMORY so restarts don't double-buy), resolves symbol→addr + honeypot sanity-check before the first buy, dry-run default, hard per-cycle USDC cap, slippage abort, running cost-basis reporting. DCA_CHAIN env added. v0.2.0.

Sixth and final Batch-1 agent — the release-ready set is complete. Relates to testing protocol #1464.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aex-agents Ready Ready Preview, Comment Jun 25, 2026 2:32pm

Request Review

@hebbianloop hebbianloop left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generalize to beyond just base

Comment thread agents/dca-accumulator/activity.json Outdated
"name": "DCA Accumulator",
"description": "Stacks a token on schedule — swaps a fixed USDC amount on Base at your cadence, no timing anxiety, no emotions. Hard per-buy cap, dry-run by default.",
"version": "0.1.0",
"description": "Stacks a token on schedule — swaps a fixed USDC amount on Base at your cadence via your WaaP wallet, no timing anxiety, no emotions. Hard per-buy cap, slippage guard, dry-run by default, running cost-basis. Keyless and self-sustaining.",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on any WaaP supported network you choose not just Base

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set the guardrails for automation, staged for your approval when out-of-bounds

Comment thread agents/dca-accumulator/activity.json Outdated
"version": "0.2.0",
"author": "holonym-foundation",
"verified": true,
"chain": { "family": "evm", "id": 8453, "name": "Base" },

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we siloing it to base??

Comment thread agents/dca-accumulator/README.md Outdated
@@ -0,0 +1,21 @@
# DCA Accumulator

Stacks a token on schedule — no timing anxiety, no emotions. Fixed USDC per cycle, hard caps,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sniffs for honeypots is a good value prop to front load

hebbianloop pushed a commit that referenced this pull request Jun 25, 2026
…t-load honeypot screening (PR #55 review)

Signed-off-by: Shady El Damaty <shady@holonym.id>
@hebbianloop

Copy link
Copy Markdown
Member Author

Addressed in 931db32 (config-now, swap-later):

  • Not Base-siloedchain is now Any EVM (you choose; default Base) and the description leads with "any WaaP-supported EVM network you choose"; DCA_CHAIN selects the chain. Cross-chain auto-swap/bridging is a tracked fast-follow (not faked).
  • Guardrail copy added (hard per-buy cap + slippage; dry-run by default, staged for your approval when out-of-bounds).
  • README now front-loads the honeypot-screening value prop.

… screening (PR #55)

Rebuilt onto current main (agent-only diff). Addresses #55 review:
not Base-siloed (chain=Any EVM, DCA_CHAIN selectable), guardrail copy,
README front-loads honeypot screening.

Signed-off-by: Shady El Damaty <shady@holonym.id>
@hebbianloop hebbianloop force-pushed the shady/dca-accumulator branch from 931db32 to 06044e4 Compare June 25, 2026 14:32
@hebbianloop hebbianloop changed the base branch from shady/security-guard to main June 25, 2026 14:33
@hebbianloop hebbianloop merged commit 8ceba84 into main Jun 25, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant