romariokav.in
  • home
  • timeline
  • projects
  • travel
  • gallery
projects/2 AD · Apr 2026

Xstream

3rd prize, xStocks Hackathon EthCC: Market Open

Xstream, 1 of 8
hackathon
xStocks Hackathon EthCC: Market Open
when
Apr 2026 · 2 AD
where
Cannes · in person
won
  • xStocks Market Open · 3rd place
made with
  • xStocks
  • Ink
  • Privy
  • Solidity
  • Ethereum
  • Circle / USDC
  • Pyth
  • AI agents
  • Claude
  • TypeScript
  • Foundry
  • Next.js
  • React
  • Android
  • Tailwind
  • Supabase
live demoshowcasesourceon the timeline

what it is

Tokenized equities bundle price and yield into one instrument. Income investors have to absorb volatility they do not want, and traders pay for dividends they will never use. xStream separates the two.

A user deposits a registered xStock into the vault and receives equal amounts of dx (dividend rights) and px (price exposure). Burning equal amounts of dx and px redeems the underlying stock at any time. All rebase-driven yield goes to dx holders, and px holders get none.

px powers a leveraged exchange that is open only during NYSE hours. Traders go long or short with USDC collateral, and positions settle at market close.

dx holders can auction their dividend stream for a fixed term. The highest USDC bidder leases the income rights and the seller receives the yield upfront.

how it's made

The repository is a monorepo with a Foundry contracts project and a Next.js web app.

The contracts are written in Solidity 0.8.28 with OpenZeppelin and the Pyth SDK: XStreamVault, XStreamExchange, MarketKeeper, DxLeaseEscrow, a PythAdapter and the token contracts. Dividends are distributed to dx holders through an accumulator.

They are deployed on Ink Sepolia and Ethereum Sepolia, each with a mock deployment and one that uses Dinari xStock tokens (TSLA, NVDA, GOOGL, AAPL, SPY, TBLL, GLD, SLV) with a live oracle.

The web app uses Next.js 16, React 19, TypeScript, Tailwind CSS and shadcn/ui, with viem for contract calls, Privy for wallet auth, Supabase, and Recharts and Lightweight Charts for charting. It has vault, markets, auction and portfolio pages.

The contracts are experimental and unaudited.

nearby

  • KOLlateralalso Ethereum, Circle / USDC, Privy
  • Clawrencealso Ethereum, Circle / USDC, AI agents
  • CAASalso Ethereum, Circle / USDC, AI agents
  • WalletSheetsalso Ethereum, Circle / USDC, AI agents
← earlierFanvaslater →Hearthvale