What is RTP?
RTP (Resilient Token Protocol) gives every token a program-enforced treasury vault on Solana. Trading fees accumulate in the vault, the Treasury PDA executes yield strategies via Flash Trade CPI on Solana, and yield flows back to holders, developers, and ecosystem (70/20/10 split, enforced on-chain). Forever.
There is no RTP token. RTP is infrastructure.
Why This Is Different
- Constitutional governance: soulcontract enforced in Rust AND on-chain (Anchor program). No one (not even the team) can override the rules. This is not a promise; it's a
require!constraint. - Per-token isolation: every token gets its own Treasury PDA and vault. No shared pool means no honeypot. One token's bad trade cannot affect another's reserves. The swarm copy-trades the same validated strategy across all tokens with isolated capital.
- Self-funding economics: treasury generates its own yield via Flash Trade on-chain perps (Solana CPI), with irreversible phase evolution (Sustenance → Ecosystem → Humanity). No VC dependency.
- Proven research engine: 30,000 strategy configs tested per night, 9-fold walk-forward validation, Darwinian evolution. Not a backtest screenshot; out-of-sample results across 9 independent time windows.
- Real execution: Treasury PDA signs via invoke_signed, positions open/close on Flash Trade (on-chain Solana perps). Mainnet CPI proofs: Open TX 2bLg1Fu..., Close TX dFqkoP2.... SOL never leaves Solana.
- 325 Rust tests, 0 failures: 6-wing swarm architecture with Security, Audit, Evolve, Knowledge, and Futureproof wings. Not a wrapper around an API; a real multi-agent system.
How It Works
- Fees arrive: creator fees (SOL) from the token flow to its own per-token treasury PDA, isolated from every other token
- Swarm trades: the Treasury PDA executes validated strategies via Flash Trade CPI (on-chain Solana perps, invoke_signed), or the live autonomous trader executes directly via REST API. No cross-chain bridge. Each token's capital is traded independently.
- Yield returns: generated yield flows back to that token's own treasury PDA
- Redistribution: 70% to holders, 20% to project dev, 10% to ecosystem (enforced on-chain)
Architecture
┌──────────────────────────────────────────────────────┐ │ ON-CHAIN (Solana / Anchor) │ │ Treasury PDA: fees → yield → redistribute │ │ 19 instructions · PDA-owned · CPI-only transfers │ ├──────────────────────────────────────────────────────┤ │ SWARM RUNTIME (Rust · 325+5 tests) │ │ Coordinator → message bus → 6 wings │ │ Trading → Flash Trade CPI → on-chain perps → SOL │ │ Security · Evolve · Knowledge · Audit · Futureproof │ ├──────────────────────────────────────────────────────┤ │ RESEARCH LAYER (Python) │ │ Night Shift: 30K configs → WFA → Darwinian │ │ Validated: SOL/USDT Calmar 44.89, +554% at 9x, 100% consistency │ └──────────────────────────────────────────────────────┘ Signing: Treasury PDA (invoke_signed, no private key) Capital: SOL → Treasury PDA → Flash Trade CPI → SOL yield → PDA
Why RTP, Not a Multisig or Yield Aggregator?
| Dimension | Squads Multisig | Yield Aggregator | RTP |
|---|---|---|---|
| Who controls funds? | Multi-sig signers (humans) | Smart contract (immutable) | PDA + constitutional agent swarm |
| Can funds be rug-pulled? | Yes: signers can approve any tx | No: but no active yield either | No: PDA has no private key, agents bounded by on-chain constraints |
| Who executes yield? | Manual / no one | Preset AMM logic | Autonomous 6-wing swarm with validated strategies |
| Exploit blast radius? | All funds in one wallet | All funds in one contract | Per-token isolated PDA: one exploit cannot drain all adopters |
| Trust model | Trust the signers | Trust the contract | Trust the program + audit the agent trail |
| Adaptation | None | None | Nightly research (30K configs), LLM evolution, memory persistence |
What's Been Built
| Component | Status | Detail |
|---|---|---|
| Anchor treasury program | ✅ Deployed (devnet) | Per-token isolation, 19 instructions, redistribution verified |
| Rust swarm runtime | ✅ 325 tests passing | 6 wings: Trading, Security, Evolve, Knowledge, Audit, Futureproof |
| Flash Trade CPI execution | ✅ Mainnet proofs | Treasury PDA invoke_signed, positions open/close on-chain (Open TX 2bLg1Fu..., Close TX dFqkoP2...) |
| Live autonomous trader | ✅ Running 24/7 | rtp-trader on Railway, 9x Calmar-optimized strategy, REST API trading, HTTP status server on port 8080 |
| Treasury yield deposit | ✅ On-chain confirmed | USDC yield → SOL → treasury PDA via CPI transfer |
| Autonomous daemon | ✅ 7 cycles completed | 6h cron, LLM-driven strategy evolution, auditable trail |
| SDK | ✅ Shipped | @resilient-protocol/sdk: one function call to register any token |
| Dashboard | ✅ Live | resilientprotocol.xyz: live treasury state, wallet connect |
Token Creator or Platform?
If your launchpad supports RTP, enabling the treasury takes one click. See Getting Started for Token Creators. If you're a platform integrating RTP as a feature, see Getting Started for Platforms.