Documentation

Sluice Docs

Everything you need to understand and build on Sluice — the protocol for streaming money by the second on Robinhood Chain. No downloads, no pay cycles: one transaction opens a stream, and value flows continuously until you stop it.

Overview How streams work Solvency & buffer Robinhood Chain Wallets SDK quickstart FAQ

Overview

Sluice replaces lump-sum payments with money streams: continuous, per-second transfers between wallets. Instead of waiting for payday or an invoice run, the recipient's balance grows every second and can be withdrawn at any moment — fully self-custodial, settled on Robinhood Chain.

How streams work

A stream is defined by a flow rate — how much value moves per second. The protocol never "sends" money repeatedly; instead, balances are a pure function of elapsed time:

recipientBalance(t) = flowRate × (t − t₀)
senderBalance(t)   = deposit − flowRate × (t − t₀)

Both sides can verify the exact balance at any second — the math is deterministic and auditable. When the sender tops up, edits the rate, or closes the stream, a new anchor point t₀ is written onchain.

Stream lifecycle

  1. Open — sender deposits funds, sets flowRate and recipient. Balance starts flowing immediately.
  2. Top up / edit — add funds or change the rate at any time; one transaction each.
  3. Withdraw — recipient pulls any accrued amount whenever they want.
  4. Close — either side stops the flow; remaining deposit returns to the sender.

Solvency & buffer

Streams can never overdraw. When a stream opens, a small buffer deposit (4 hours of flow) is locked alongside the funds:

buffer = flowRate × 14 400  // 4h of flow

// This is why the Builders calculator shows a "Buffer to lock" figure for every configuration.

Robinhood Chain

Sluice settles on Robinhood Chain — an Ethereum L2 built on Arbitrum technology, designed for tokenized real-world assets. That means streams can carry not only stablecoins but yield and dividends from tokenized stocks, 24/7.

ParameterValue
Network nameRobinhood Chain
Chain ID4663 (0x1237)
RPC URLhttps://rpc.mainnet.chain.robinhood.com
Explorerrobinhoodchain.blockscout.com
CurrencyETH
StackArbitrum (Nitro)

// The Login flow auto-adds this network to MetaMask. The Sluice streaming contract address lands here and in deployments/robinhood.json at mainnet deploy.

Wallets

MetaMask — Robinhood Chain

  1. Install MetaMask.
  2. Click Login in the Sluice navbar and choose MetaMask.
  3. Approve the connection — Sluice offers to add/switch to Robinhood Chain automatically.

Phantom — Ethereum

  1. Install Phantom.
  2. Click Login and choose Phantom — it connects on Ethereum mainnet.

Sessions are self-custodial: Sluice never holds keys or funds. Authentication is powered by Privy's wallet flow; your address is your identity.

SDK quickstart

Open a payroll stream in a few lines. Generate a ready-made config in the Builders tool.

import { Sluice } from "@sluice/sdk";

const sluice = new Sluice({ chain: "robinhood" });

// $5,000 / month ≈ $0.001901 per second
await sluice.streams.open({
  to: "0x9f3a…a3c1",
  token: "USDC",
  flowRatePerSecond: "0.001901",
  buffer: "27.37"           // 4h × rate, auto-computed
});

// later: top up, edit, or close
await sluice.streams.topUp({ id, amount: "2500" });
await sluice.streams.close({ id });

FAQ

Do I need to download anything?
No. Sluice is fully web-based — the terminal, calculators and wallet login all run in your browser.
Does streaming cost gas every second?
No. Balances are computed from time; only opening, editing, topping up and closing are onchain transactions.
What happens if a sender runs out of funds?
The locked 4-hour buffer covers the grace window while sentinels close the stream — recipients never accrue money that can't be paid.
Which assets can I stream?
Any token supported on Robinhood Chain — stablecoins first, plus yield and dividends from tokenized stocks.
Is Sluice custodial?
No. Funds live in stream contracts controlled by the sender and recipient; withdraw at any second.

© 2026 Sluice · Home · App · Blog