A generalized streaming smart-contract system on Vara. Token-agnostic, composable, and designed for per-second settlement.
From deposit to withdrawal — every step is transparent and on-chain.
Sender deposits tokens into the TokenVault with a required buffer amount. Buffer guarantees the stream won't go negative.
Define receiver, token, and flowRate. StreamCore records the stream and starts accounting per-second immediately.
Every second, the receiver's withdrawable balance increases by flowRate. No transactions needed — it's computed on-chain.
Receivers can claim their accrued balance at any time. No lockups, no approval needed, no delays.
Senders can update the flowRate, pause, or stop a stream. Remaining buffer is returned on stop.
If buffer depletes, the stream auto-stops. Liquidation bots can trigger cleanup to return remaining funds.
Modular, auditable contracts. Each module has a single responsibility.
State + accounting for streams (flowRate, start, lastUpdate). The heart of the protocol.
Deposits, buffers, safe ERC-20 handling, emergency pause. Ensures solvency.
Weighted routing of incoming funds to N recipients. Revenue sharing made simple.
Delegates and roles. Allow apps to act on behalf of users securely.
Small contracts that translate app events into StreamCore calls (e.g., BountyAdapter).
Streams never go negative. Explicit invariants guarantee solvency at every state change.
Every stream requires a deposit buffer. Streams cannot go negative — ever. If buffer depletes, the stream auto-pauses.
Clear, transparent liquidation rules. If a sender's buffer runs out, the stream stops gracefully with no loss to the receiver.
TokenVault includes an emergency pause mechanism. Admin can freeze all operations if a critical issue is detected.
Explicit on-chain invariants ensure solvency at every state transition. Mathematically verified.
Start streaming with these tokens. More coming soon.
Rich on-chain events power real-time UIs and subgraphs.
Check out the developer docs, grab the SDK, and deploy your first stream.