dahlinomine/compliance-yield-treasury
ERC-3643 Compliant Yield Treasury for AI Agents — Synthesis Hackathon 2026. wstETH staking via Aave v3 on Base, compliance-gated, principal locked, yield flows to Locus wallet. MCP server + monitoring agent.
Platform-specific configuration:
{
"mcpServers": {
"compliance-yield-treasury": {
"command": "npx",
"args": [
"-y",
"compliance-yield-treasury"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
> ERC-3643 Compliant Yield Treasury for AI Agents > Synthesis Hackathon 2026 · Built by Alhassan Mohammed (@dahlinomine)
[](./test/ComplianceYieldTreasuryTest.t.sol) [](https://basescan.org/address/0x99FCC335f879DbcF3AdA1623A769C7a6B3883d3D) [](./src/ComplianceYieldTreasury.sol)
| Network | Address | Explorer | |---------|---------|----------| | Base Mainnet | 0x99FCC335f879DbcF3AdA1623A769C7a6B3883d3D | Basescan |
Deployment TX: 0x9970dc69...
---
A DeFi primitive that solves a real problem: AI agents need operating budgets, but giving an agent an unlimited wallet is a security nightmare.
The solution: deposit wstETH (Lido's wrapped staked ETH). The principal is structurally locked at the contract level — no agent can ever touch it. Only the yield flows to the agent's spending wallet.
The agent earns its keep from yield alone.
Agent stakes wstETH
↓
ComplianceYieldTreasury.sol
↓
[ERC-3643 compliance check] ← Is this agent verified?
[ERC-8004 identity check] ← Does this agent own its identity token?
↓
Aave v3 on Base (supply wstETH → earn aWSTETH yield)
↓
Yield only → Agent's Locus payment wallet (spending guardrails)
Principal → LOCKED FOREVER at contract levelBefore any agent can stake, two checks must pass:
Loading reviews...