Haiko Docs
  • Introducing Haiko
  • Security & Audits
  • protocol
    • Vaults
      • Solvers (V2)
        • Replicating Solver
        • Reversion Solver
      • Strategies (V1)
        • Replicating Strategy
        • Building A Strategy
    • AMM
      • Execution & Order Matching
      • Position Types
      • Order Types
      • Market Schemas
      • Fees & Rewards
  • info
    • User Guides
      • Introduction to Starknet
      • Connect Starknet Wallet
      • Haiko Interface
      • Depositing to a Vault
    • DeFi Spring
    • Leaderboard
    • Listing on Haiko
    • Links
    • Glossary
  • Developers
    • Deployments
    • Interfaces
    • Events
      • MarketManager (AMM)
      • ReplicatingStrategy
      • SolverComponent
      • ReplicatingSolver
    • Advanced Concepts
      • Liquidity Math
      • Limits
      • Data Encoding
  • Media Kit
  • Contact Us
Powered by GitBook
On this page
  • What is Starknet?
  • Why build on Starknet?
  • How do I get started with Starknet (for users)?
  • How do I get started with Starknet (for developers)?
  1. info
  2. User Guides

Introduction to Starknet

Last updated 1 year ago

What is Starknet?

is a validity (or ZK) rollup operated as a Layer 2 (L2) network over Ethereum. It allows computation to be executed provably off-chain, unlocking mass scalability for on-chain applications without compromising Ethereum's security guarantees.

Why build on Starknet?

AMMs enable trustless, peer-to-peer matching of traders and liquidity providers. However, computation on the blockchain is very expensive. This cost increases with the introduction of strategies on Sphinx, which often have complex internal logic and require frequent updates.

Validity rollups and in particular STARKs provide an elegant solution to this problem by providing a compute-cheap execution environment for on-chain execution. Because computation can be "rolled up" into succinct proofs that are logarithmic in size to their original execution, complex programs can now be run entirely on-chain with minimal gas overhead.

How do I get started with Starknet (for users)?

To interact with Starknet, users must install an or wallet and funds from Ethereum. This is because Starknet runs on its own unique VM and is not compatible with wallets like Metamask that are designed for the Ethereum Virtual Machine (EVM).

Using a Starknet-native wallet has both its benefits and disadvantages. Although it is less convenient to install a new wallet, these wallets are able to take advantage of unique features offered by Starknet, for example to provide better transaction verification and recovery of lost keys.

Starknet is home to a rich and growing ecosystem of applications. You can find a current database of the Starknet ecosystem of apps can be found .

How do I get started with Starknet (for developers)?

Cairo is a Turing-complete language for writing provable programs, inspired by Rust, and is the official language for writing smart contracts on Starknet.

To learn more about the technical architecture of Starknet and setup your developer environment, check out the official and read the .

To start writing and deploying smart contracts on Starknet, refer to the .

Starknet
Argent
Braavos
bridge over
account abstraction
here
developer resources
Starknet Book
Cairo Book