Tiramisu is an open source solution for transaction scalability.
< 1 min read
Published on May 26, 2020
Two months ago, we announced our intention to build our own Layer Two scalability system for supporting peer-to-peer payments. Over the last two months, we have worked tirelessly with Interstate, and today, we’re excited to open-source Tiramisu, our implementation of the concept.
Tiramisu consists of a suite of Solidity smart contracts and an accompanying node, written in TypeScript and exposing a GraphQL interface. It tracks the state of all accounts in the system and enforces each state transition via its state machine to ensure that all updates are consistent. New blocks that the node executes are submitted to the on-chain contracts, where they are temporarily locked prior to confirmation.
The node has an auditor mode which anyone can run that automatically scans the contract for new blocks; should an invalid state transition slip through and be submitted to the smart contract, the node will automatically detect the error and prove it on chain, which will reward the user running the node and cause the block to be reverted.
We are still actively developing Tiramisu, and much work remains to be done before it is ready to be taken to production, but the core components are complete and ready for review.
Tiramisu was designed from the ground up to be useful for any project with a need for simple, scalable ERC20 payments or transfers. If you’re interested in or knowledgeable about L2 solutions, we’d love your feedback on the current state of Tiramisu and on how you’d like to see it evolve from here.
-Tiramisu Github — https://github.com/dharma-eng/Tiramisu
-Original Spec — https://ethresear.ch/t/simple-fraud-proof-l2-for-scalable-token-transfers/7216