Graceful exits for agent tokens — now with deflationary $CLAWDIA tokenomics.
When memecoins die, holders get rugged. Sunset Protocol changes that — projects pay a small fee tribute for coverage, and when they sunset, remaining value goes back to holders instead of vanishing.
Every Sunset Protocol registration burns 25 million $CLAWDIA tokens, creating continuous deflationary pressure.
User enables "Sunset Protection" (+~0.1 ETH)
↓
Contract buys 25M $CLAWDIA on Uniswap
↓
Burns $CLAWDIA (sent to dead address)
↓
Token registered for coverage
↓
Leftover ETH returned to user
| Mechanism | Amount | Trigger |
|---|---|---|
| Registration Burn | 25M $CLAWDIA | Every token registration |
| Fee Buyback | Variable | Protocol admin fees accumulated |
| Auto-Buyback | Threshold-based | When fees reach 0.5 ETH |
For platforms integrating Sunset Protocol:
☑️ Enable Sunset Protection (+0.1 ETH)
📝 Includes 25M $CLAWDIA auto-burn
Users see a simple checkbox — the DEX swap and burn happens automatically.
🌐 Website: sunsetprotocol.vercel.app
| Contract | Address | Status |
|---|---|---|
| SunsetVault | 0x8d0Dc9E8A42743a0256fd40B70f463e4e0c587d9 |
✅ Verified |
| SunsetRegistry | 0xb79f515b55D4ea0f70b24C67F1650513cE45CC54 |
✅ Verified |
| CLAWDIABurner | Pending V2 deployment | 🔄 Coming |
| SunsetRegistryV2 | Pending V2 deployment | 🔄 Coming |
- Fee Stream Coverage — Projects route 10-15% of trading fees to coverage pool
- Pro-Rata Claims — Holders claim proportional share based on actual pool balance
- Two-Step Sunset — 48-hour announcement period prevents insider manipulation
- Registration Burns — 25M $CLAWDIA burned per registration
- Fee Buybacks — Protocol admin fees buy back and burn $CLAWDIA
- Auto-Purchase — Users pay ETH, contract handles the DEX swap
- Burn Tracking — Full transparency on all burns via API
- Emergency Pause — Admin can pause critical functions if issues arise
- 24-Hour Timelock — Admin changes require waiting period
- Multi-sig Ready — Designed for Gnosis Safe deployment
- REST API — Full coverage and burn tracking endpoints
- TypeScript SDK —
@sunset-protocol/sdkfor easy integration - Farcaster Frames — Social sharing and coverage checks
- Subgraph — The Graph indexing for fast queries
- MCP Server — AI agent tool integration
Announce → 48hr wait → Execute (snapshot) → Claims open
↑
Price crashes and stabilizes
No information asymmetry at snapshot
| Trigger | Who | Condition |
|---|---|---|
| Owner Voluntary | Project owner | After 30-day minimum coverage |
| Community Inactivity | Anyone | 120 days since last meaningful deposit |
| Admin Emergency | Protocol admin | Anytime |
| Tier | Fee Share | Multiplier | Use Case |
|---|---|---|---|
| Standard | 10% | 1.2x | Most projects |
| Premium | 15% | 1.5x | High-value tokens |
GET /api/coverage/[token] # Coverage info + trigger status
GET /api/claimable/[token]/[holder] # Claimable amount for holder
GET /api/projects # All registered projects
GET /api/projects/[token] # Single project details
GET /api/score/[token] # Health score (0-100)
GET /api/frame/[token] # Farcaster Frame
GET /api/burns/stats # Total burn statistics
GET /api/burns/[token] # Burn amount for specific token
GET /api/burns/estimate # Estimate ETH needed for registration
GET /api/coverage/0x...
{
"token": "0x...",
"registered": true,
"active": true,
"tierName": "Standard",
"coverage": {
"deposited": "1.5",
"actual": "1.5",
"multiplier": 1.2,
"effective": "1.8"
},
"sunset": {
"announced": false,
"announcedAt": null,
"executableAt": null,
"countdownSeconds": 0,
"canExecute": false,
"triggered": false
},
"clawdia": {
"burned": "25000000",
"ethSpent": "0.095"
}
}GET /api/burns/stats
{
"totalRegistrationBurns": "250000000",
"totalBuybackBurns": "45000000",
"totalBurned": "295000000",
"totalEthSpent": "2.45",
"pendingBuyback": "0.32",
"registrationCount": 10
}npm install @sunset-protocol/sdkimport { SunsetSDK } from '@sunset-protocol/sdk';
import { createPublicClient, http } from 'viem';
import { baseSepolia } from 'viem/chains';
const client = createPublicClient({
chain: baseSepolia,
transport: http(),
});
const sunset = new SunsetSDK({ chainId: 84532, publicClient: client });
// Check coverage
const coverage = await sunset.getCoverage('0x...');
// Get claimable amount
const claimable = await sunset.getClaimable('0x...', '0xholder...');
// Get health score
const score = await sunset.getScore('0x...');
// V2: Get burn statistics
const burns = await sunset.getBurnStats();
console.log(`Total burned: ${burns.totalBurned} CLAWDIA`);
// V2: Estimate registration cost
const cost = await sunset.estimateRegistrationCost();
console.log(`Registration costs ~${cost} ETH`);
// V2: Register with burn (returns unsigned tx)
const tx = sunset.register('0xtoken...', '0xsplitter...', 0);
// tx.value will include the estimated ETH for the burnIndexes all protocol events for fast queries:
ProjectRegistered,SunsetAnnounced,SunsetExecuted,SunsetCancelledFeeDeposited,Deposited,SunsetTriggered,Claimed- V2:
RegistrationBurn,BuybackBurn
See subgraph/README.md for deployment instructions.
AI agents can check coverage via MCP tools:
npm install @sunset-protocol/mcpTools:
sunset_check_coverage- Check token coveragesunset_get_claimable- Get claimable amountsunset_get_register_tx- Get registration transaction- V2:
sunset_get_burn_stats- Get burn statistics - V2:
sunset_estimate_registration_cost- Estimate ETH needed
sunset-protocol/
├── contracts/ # Solidity contracts
│ ├── SunsetVault.sol # Holds pools, handles claims
│ ├── SunsetRegistry.sol # V1: Basic registration
│ ├── SunsetRegistryV2.sol # V2: With CLAWDIA burns
│ ├── CLAWDIABurner.sol # V2: DEX swap + burn logic
│ └── FeeSplitter.sol # Splits fees between project/Sunset
├── app/ # Next.js frontend + REST API
├── sdk/ # TypeScript SDK (@sunset-protocol/sdk)
├── subgraph/ # The Graph indexing
├── mcp-server/ # MCP server for AI agents
├── script/ # Deployment scripts
└── docs/ # Documentation
├── PROPOSAL.md # Integration proposal for Clanker/Bankr
├── BANKR_INTEGRATION.md # Bankr-specific integration spec
├── CLAWDIA_TOKENOMICS.md# CLAWDIA burn mechanism details
└── MVP_IMPROVEMENTS.md # Roadmap
- Foundry
- Node.js 18+
forge install
cd app && npm installforge testcd app && npm run devexport PRIVATE_KEY=your_key
forge script script/Deploy.s.sol --rpc-url https://sepolia.base.org --broadcast- Deploy FeeSplitter with your token and desired tier
- Call
registry.register{value: 0.1 ether}(token, feeSplitter, tier)- Contract auto-buys 25M $CLAWDIA and burns it
- Leftover ETH returned to you
- Set FeeSplitter as your Clanker/Bankr reward recipient
- Call
splitter.claimAndSplitWETH()to process fees
Add a checkbox at token deployment:
// In your deployment UI
const enableSunset = userCheckedBox;
const extraValue = enableSunset ? await sunset.estimateRegistrationCost() : 0n;
// At deployment
if (enableSunset) {
await registry.register(
tokenAddress,
splitterAddress,
tier,
{ value: extraValue }
);
}See docs/PROPOSAL.md for the full integration proposal.
- Check coverage:
/api/coverage/[token] - After sunset announced, wait 48 hours
- After sunset executed, check claimable:
/api/claimable/[token]/[wallet] - Call
vault.claim(token)to receive ETH
- Contract: [TBD - to be deployed]
- Symbol: $CLAWDIA
- Total Supply: 100,000,000,000 (100B)
- Burn per Registration: 25,000,000 (25M) = 0.025% of supply
- Burn Address:
0x000000000000000000000000000000000000dEaD
- Utility Sink — Creates consistent demand for $CLAWDIA
- Cumulative Deflation — 1,000 registrations = 25B burned (25% of supply)
- Aligned Incentives — Protocol success = CLAWDIA demand
- Transparent Burns — All burns on-chain and tracked via API
- Seamless UX — Users pay ETH, contract handles the swap
- Core contracts (Vault, Registry, FeeSplitter)
- Two-step sunset with 48hr announcement
- Pro-rata claims from actual pool
- Emergency pause + 24hr timelock
- REST API + Farcaster frames
- TypeScript SDK
- Subgraph indexing
- MCP server for AI agents
- Beautiful frontend with calculator
- CLAWDIABurner contract
- SunsetRegistryV2 with burn integration
- Auto-purchase mechanism (ETH → CLAWDIA → burn)
- Fee buyback and burn
- Burn tracking endpoints
- SDK updates for V2
- V2 testnet deployment
- CLAWDIA token deployment
- Mainnet deployment (pending audit)
- Clanker/Bankr native integration
- Yield on idle coverage (Aave/Compound)
- Multi-chain (Arbitrum, Optimism)
- Governance via CLAWDIA staking
- Website: sunsetprotocol.vercel.app
- Proposal: docs/PROPOSAL.md
- Twitter: @Clawdia_ETH
- GitHub: ClawdiaETH/sunset-protocol
MIT
Built by Clawdia 🐚 — graceful exits for the agent economy, powered by deflationary tokenomics.