F

Fluxion

Real-time, flexible and gasless money streaming protocol on Tezos.

The problem Fluxion solves

Fluxion (pronounced as fluhk·shun) allows streaming of money i.e essentially transferring money between two sources every unit of time (i.e every second or perhaps even millisecond). Money streaming has the potential to become an integral pillar when it comes to trustless transactions on the blockchain.

How does Fluxion work?

Fluxion creates a money stream between two Tezos accounts using state-based channels. If ALICE starts a stream of 100 kUSD to be transferred to BOB over one hour then as every second passes - 0.0278 kUSD gets redeemable for BOB.

Instead of having a fixed-period and constant-amount stream with almost no flexibility, Fluxion's underlying protocol controlled by smart contracts enables a highly flexible form of money streaming. Fluxion streams are-

Gas-less - Once the stream is initialized after the first transaction, no other transaction is required to keep the money streaming.

🚰 Re-fillable - Fluxion streams can be refilled before or after they dry out. Although the streaming process is in itself gasless, refilling requires a transaction (extremely low gas cost on Tezos).

🛁 Drainable - Amount (partial or full) that is yet to be streamed to the recipient, can be drained out from the stream by the creator. In the ALICE and BOB example, ALICE can drain at most 50 kUSD after half an hour.

✒️ Rate-editable - The streaming rate can be modified by the creator without affecting the flow of the stream.

💰 Multi token-standard support - Fluxion supports streaming of tez, FA1.2 and single-asset FA2 tokens.

Use-Cases

Fluxion can find its use in a plethora of domains. A few are-

💸 Salary payrolls - Great for remote jobs

📼 Alternative to subscription models - Improved on-demand service model

🏦 Grant platforms and launchpads - Risk aversion & token vesting

👩‍💻 Freelancing payments - Builds trust

🏘️ Rent - Pay only for as long as the entity is rented

Challenges we ran into

  • Making the stream flexible was one of the critical challenges. We had to carefully figure out the math to prevent any loss of funds or miss-calculation.
  • We had to keep a check on the gas fee too for stream creation and other aspects. We placed tez, FA1.2 and FA2 logic in separate contracts to save on gas.

Technologies used

Discussion