Загрузка видео...

Не удалось загрузить видео

На главную

Crazy project: DOMStream Compile React components into UTXOs that form valid transactions👀 Support privacy & batching sessions into a single tx. Powered by Starstream Goal: decentralized frontends!

40,855 просмотров • 1 год назад •via X (Twitter)

Комментарии: 11

Фото профиля Sebastien Guillemot
Sebastien Guillemot1 год назад

React is a way to programmatically create and manage a DOM (html) using Javascipt You can add/remove elementg dynamically based on program state (ex: remove an item from the page after it's bought)

Фото профиля Sebastien Guillemot
Sebastien Guillemot1 год назад

The key insight is that UTXOs can model object lifetimes (keep creating new utxos to represent program contiuations) So you can represent the lifetime of DOM elements as utxos as well!

Фото профиля Sebastien Guillemot
Sebastien Guillemot1 год назад

For example, <button> is added -> create a utxo <button> is removed -> consume utxo props -> constructor state -> datum

Фото профиля Sebastien Guillemot
Sebastien Guillemot1 год назад

Since Starstream supports privacy (via ZK) it means you can run the UI locally and prove statements about your UI without revealing any information (ex: data you entered or navigation history)

Фото профиля Sebastien Guillemot
Sebastien Guillemot1 год назад

Since Starstream supports compression (via ZK) It means any proof about the state of your UI is small! (〜16kbs!)

Фото профиля Sebastien Guillemot
Sebastien Guillemot1 год назад

This means you can easily use DOMStream to create decentralized frontends And do so using tools you know (react) powerered by the same VM as your smart contracts!

Фото профиля Sebastien Guillemot
Sebastien Guillemot1 год назад

It's a crazy idea, but I feel it's a huge improvement over other solutions that require you to learn whole new tools and paradigms here, it's all just react and utxos!

Фото профиля Sebastien Guillemot
Sebastien Guillemot1 год назад

Starstream is still in active development, and DOMStream is a crazy extension of the concept Want to contribute thoughts or learn more? Join the Starstream Working Group below!

Фото профиля Etherspot 🐞
Etherspot 🐞2 лет назад

Want to build a Web3 app without all the overhead costs? Try TransactionKit, a React toolkit that makes building dApps easy. Integrate cutting-edge account abstraction features in just a few clicks. Try it today 👇

Фото профиля John Santi (johnny5i)
John Santi (johnny5i)1 год назад

This sounds so brilliant. Returned custom components based on the state of the utxo. My mind is soaring towards RWA registration tokenization referring to specific react modules (a location of memory) I wonder if that could be a thing. Immutable ledger referenc8ng a react object that would only pass if unmodified (validator)

Фото профиля John Santi (johnny5i)
John Santi (johnny5i)1 год назад

I wonder if a good initial use case might be to build a voting website that uses ZK proofs UTXOs everything is recorded and yet privacy is maintained

Похожие видео