Trickle docs
Trickle streams HYPE or any ERC-20 token on Elysium from one wallet to another, second by second.
What Trickle is
One contract holds every stream. The sender locks the full amount when the stream starts. From then on the amount accrues to the recipient evenly, every second, between the start and the end. The recipient can withdraw what has accrued at any moment, to any address.
There is no keeper and no off-chain service: the amount owed is computed from the block time when anyone asks.
A stream
| Field | Meaning |
|---|---|
| Token | HYPE or any ERC-20. Fee-on-transfer and rebasing tokens are not supported. |
| Amount | The total paid over the stream's life. Fixed at creation. |
| Start | When accrual begins. At most 1 hour in the past; any time in the future. |
| Cliff | Optional. Before it nothing is withdrawable. At the cliff the part accrued since the start opens at once. |
| End | Everything has accrued. |
| Cancelable | Chosen at creation. A cancelable stream can be stopped by the sender: the recipient gets everything accrued up to that second, the sender gets the rest, both in the same transaction. A fixed stream can never be stopped. |
Accrued = amount × (now − start) / (end − start), counted from the start even when there is a cliff. Withdrawable = accrued − already withdrawn.
Private streams
A recipient can share a meta-address (st:eth:0x…, 66 bytes) instead of a wallet. It is made from one wallet signature in Trickle or Ghostpay and the same signature always gives the same keys.
- Your browser picks a random key and derives a one-time address from the meta-address (ERC-5564, scheme 1 with a view tag).
- The stream is created to that address; the contract posts an
Announcementwith the ephemeral key, the view tag and the stream id. - 0.0002 HYPE goes with it to the one-time address, so it can pay gas for its withdrawals.
- The recipient's browser scans the notes, finds the streams its keys open, and signs withdrawals with the one-time key, to any wallet they choose.
The sender and the amount stay public. What is hidden is which wallet the stream belongs to. Withdrawing to your main wallet links the two; withdraw to a fresh wallet to keep them apart.
Fees
0.25% of the amount, once, paid on top when the stream is created, in the streamed token. Withdrawals and cancels cost nothing but gas. The fee goes to the treasury. Protocol fees are used to buy back and burn $TRKL.
Safety and risks
- The contract has no owner and no admin function. Nobody can pause it, change a stream or move its funds.
- The contract is unaudited. Stream amounts you can afford to lose.
- Streams use the block time of Elysium. Timestamps can differ from your clock by a few seconds.
- Your private receiving keys are derived in your browser from a signature; anyone who gets that signature can find and withdraw your private streams. Never sign the key message on another site.
Contracts
| Contract | Address |
|---|---|
| Trickle | Deploying soon |
| Treasury | Deploying soon |
Chain: Elysium (99901). Explorer: explorer.volta.family.
Trickle