Cairo & Storage · Cairo
In OUR LAST POST, we talked about how Cairo solves two of the three gas-consuming actions on Ethereum – computation and transmission – and promised to talk about the third, storage, in a separate post. Well, we are nothing if not people who honor their commitments. (Yes, that’s a pun on Merkle roots). The way users interact with storage on Ethereum today is pretty simple – you write something to an address, and then you can go back and read it. Writing is expensive, reading is (relatively) cheap. So if you need to update the stored state infrequently, it might not be a big issue, but when you face frequent state updates, storage can become quite expensive. The problem with Cairo and storage is that Cairo is stateless – meaning any Cairo run is independent of an external state, and of other Cairo runs (in the future, there may be some stateful version of Cairo, but we’re not there yet). The statelessness of Cairo has the great benefit of making any proof of a Cairo statement true absolu
Cairo Programming Language Skip to content WELCOME TO CAIRO The Rust-inspired language that makes it easy to build scalable dApps with the power of validity proofs. Get started Cairo v2.12.0 What is cairo? Cairo lets you write provable programs without requiring a deep understanding of the underlying ZK concepts. From onchain gaming to provable ML, Cairo makes building trustless applications possible. Cairo is also the smart-contract language of Starknet, an L2 blockchain that is verified over Ethereum. About Cairo Cairo on Starknet Starknet is an L2 Validity Rollup that operates on top of Eth
Explore this link on the map →related reading
- Introduction - The Cairo Programming Languagebook.cairo-lang.org
- Getting Started w/StarkNet & writing smart contracts Cairoeda.hashnode.dev
- Technical Summary | Perama’s notes.perama-v.github.io
- StarkNet - Ethereum's Scaling Solution - by Ayloalphapls.substack.com
- Prove It In SHARP To Save Costs and Enhance Ethereum's Scalabilitystarkware.co
- The Hitchhiker's Guide to Ethereum - Delphi Digitalmembers.delphidigital.io
- Should Ethereum be okay with enshrining more things in the protocol?vitalik.eth.limo
- Possible futures of the Ethereum protocol, part 2: The Surgevitalik.eth.limo
- Open-Sourcing the Battle-Tested Stone Prover | StarkWarestarkware.co
- Intern Breakdown #4: Zero-Knowledge Proofsinternbreakdowns.substack.com
- Rollup, Validium, Volition - Where is Your Data Stored? | Starknetstarknet.io
- Pay Attention To Celestia - Delphi Digitalmembers.delphidigital.io