Flow of Funds Overview
RebelFi operates as a non-custodial orchestration layer that optimizes your stablecoin operations while you maintain complete control over custody and execution.Key Principle: RebelFi never holds your private keys or controls your funds. We generate optimized transaction strategies which your custody solution executes.
The Five-Step Process
Step 1: Monitor & Analyze
RebelFi monitors your designated stablecoin wallets for:- Balance changes and inbound transactions
- Deployed allocation performance
- Buffer levels and liquidity requirements
Step 2: Generate Operations
When optimization opportunities arise, RebelFi creates Operations — structured workflows that describe business intent:- Supply Operations: Deploy idle funds to yield-generating protocols
- Disburse Operations: Withdraw funds from yield back to operational wallets
- Rebalance Operations: Shift allocations between protocols for optimal returns
- Financial reservations (locks on available balances)
- Multi-step execution plans
- Expected blockchain transactions
- State management and tracking
Step 3: Your Review & Approval
Operations can be configured for:- Automatic Execution
- Manual Approval
Operations proceed automatically for hands-off yield optimizationBest for: Trusted operational flows, yield-only deployments
Step 4: Custody Integration & Execution
RebelFi integrates with your custody solution through flexible patterns that fit your infrastructure:| Integration Type | How It Works | Best For |
|---|---|---|
| Agent Polling | Deploy your own agent or use RebelFi’s managed agent to poll for transactions, sign them, and report execution status | Maximum control, any custody solution, custom infrastructure |
| Direct API | Provide custody API credentials (e.g., Fireblocks API key) and RebelFi submits transactions directly to your custody provider | Streamlined workflow with API-first custody providers like Fireblocks, BitGo |
| Custom Adapter | Work with RebelFi to build custom integration for home-grown or specialized custody solutions | Proprietary custody systems, unique requirements |
All integration patterns ensure you maintain complete signing authority. RebelFi cannot execute transactions
without your custody solution’s approval and signature.
Step 5: Track & Confirm
RebelFi’s monitoring system:- Observes blockchain for transaction confirmation
- Matches confirmed transactions to expected operations
- Updates financial state (reservations → allocations)
- Tracks yield accrual and performance
Architecture Deep Dive
Architecture Deep Dive
Non-Custodial Design
Your custody provider holds keys → RebelFi generates operation plans → your custody signs & broadcasts → blockchain settles → RebelFi tracks confirmation and updates state.Operation Lifecycle
- PLANNING: Reservation locked
- PENDING_APPROVAL: Awaiting manual approval (if required)
- EXECUTING: Signing by custody
- CONFIRMING: Awaiting on-chain confirmation
- COMPLETED: Financial state updated
Financial State Management
Double-entry ledger with: Reservations (temporary locks), Expected Receipts (matched on arrival), Journal Entries (immutable), Positions (read-optimized balances), Allocations (deployed funds earning yield).Example: Supply Operation Financial Flow
Example: Supply Operation Financial Flow
| Stage | Available | Reserved | Deployed |
|---|---|---|---|
| Initial | 10,000 USDC | — | — |
| Operation created | 5,000 USDC | 5,000 USDC | — |
| Confirmed | 5,000 USDC | — | 5,000 USDC |
Security Model
Zero Trust Architecture
RebelFi is designed with zero trust principles:- No Key Access - We cannot access your private keys under any circumstances
- No Fund Control - We cannot move funds without your custody solution signing
- No Direct Execution - All transactions require your explicit signing authority
- Complete Audit Trail - Every operation, reservation, and state change is logged
Transaction Safety
Operations include safety mechanisms:- Atomic Reservations: Funds are locked during operations to prevent double-spending
- Idempotency: Operations can be safely retried without duplicate effects
- State Validation: Each state transition is validated against allowed progressions
- Timeout Handling: Operations that don’t complete within timeframes are automatically released
Protocol Vetting
Yield protocols are carefully evaluated for:- Smart contract audits
- Historical performance and uptime
- Total value locked (TVL)
- Institutional usage
- Risk-adjusted returns
Initially, RebelFi focuses on battle-tested protocols with institutional adoption and comprehensive audit histories.
Multi-Blockchain Support
RebelFi supports multiple blockchain networks:- Solana - Native SPL token support, sub-second finality
- EVM Chains - Ethereum, Base, Arbitrum, Polygon (coming soon)
- Unified address monitoring
- Chain-specific transaction building
- Cross-chain balance aggregation
- Protocol abstraction