Skip to content

cometh-hq/optimistic-eth-history-prover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

What is Storylus?

Storylus is a permissionless Protocol that gives smart contracts access to all of Ethereum’s historical data with storage proofs by Proving Ethereum’s chain of block.

Why Storylus ?

There is no native way to access historical state on Ethereum in a trustless way. Over 19 million blocks written to Ethereum. Smart contracts can only access the latest 256 blocks representing ~50 minutes of data. ‘Historical data’ refers to anything outside of the last 256 blocks.

Deployed contracts

Arbitrum Sepolia Arbitrum Stylus Testnet
ClaimNFT HistoryProver
NFT

Uses cases examples

  • Confirm past user asset ownership
  • Proof of usage of a protocol
  • bypass the need for bridging

Code Highlights

Protocol Usage Demo

The demo is a Capture the (nft) Flag The NFT is transferred only if an address proves on-chain that it has made more transactions than the current NFT owner during EthDenver More than 256 Blocks in the past

How it works

Protocol overview

protocole-overview

1- Push a L1 Block Header to l3 in a trustless way

l1bridge

2- Recursively prove previous blocks

HistoryProver

3- All networks that have access to the L3 Rollup state can now attest the validity of a L1 block.

rollupL1History

Context

This project was developed during the EthDenver 2024 hackathon