Introduction to Provable Smart Contracts

Luis Soares
Coinmonks
Published in
9 min readJun 25, 2024

--

Provable smart contracts use cryptographic techniques to verify that computations done outside the blockchain are correct. This means that instead of doing all the work on-chain, which can be slow and expensive, the heavy lifting is done off-chain, and only a proof of the result is stored on the blockchain.

Key Benefits

  1. Scalability: By handling computations off-chain, provable smart contracts reduce the load on the blockchain, allowing for more transactions to be processed at lower costs.
  2. Security: Cryptographic proofs ensure that only valid computations are accepted, enhancing the security of smart contracts.
  3. Privacy: Techniques like Zero-Knowledge Proofs (ZKPs) can validate transactions without revealing any sensitive information.

StarkNet and Cairo

StarkNet is a Layer-2 network on Ethereum that uses STARK (Scalable Transparent Argument of Knowledge) proofs to provide scalability and security. It allows developers to build dApps that can handle many transactions per second while benefiting from Ethereum’s security.

StarkNet Architecture

--

--

Luis Soares
Coinmonks

Lead Software Engineer | Blockchain & ZKP Protocol Engineer | 🦀 Rust | Web3 | Solidity | Golang | Cryptography | Author