Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started

Welcome to Starkbiter! This section will guide you through everything you need to start building simulations on Starknet.

What You'll Learn

In this section, you'll learn how to:

  • Install Starkbiter and set up your development environment
  • Create your first simulation
  • Deploy and interact with Starknet contracts
  • Build agents with custom behaviors
  • Run and analyze simulations

Prerequisites

Before starting with Starkbiter, you should have:

  • Basic knowledge of Rust programming
  • Familiarity with Starknet and smart contracts
  • Understanding of blockchain fundamentals

Don't worry if you're not an expert - we'll guide you through each step!

Setup Options

The Starkbiter CLI provides the easiest way to get started:

  1. Install the CLI tool
  2. Generate contract bindings
  3. Use pre-built templates

Best for: Most users, especially those new to Starkbiter

Option 2: Direct Crate Usage

Use Starkbiter crates directly in your Rust projects:

[dependencies]
starkbiter-core = "0.1"
starkbiter-bindings = "0.1"
starkbiter-engine = "0.1"

Best for: Advanced users who want full control over their setup

Learning Path

Follow these guides in order for the best learning experience:

  1. Installation - Set up Rust and install Starkbiter
  2. Quick Start - Build your first simulation in 5 minutes
  3. Examples - Explore working examples and learn best practices

Use Cases for Starkbiter

Smart Contract Testing

Test your contracts in realistic environments with multiple interacting agents, simulating mainnet conditions without deployment costs.

DeFi Protocol Development

Model complex economic systems, test liquidation mechanisms, and validate AMM designs before going live.

Strategy Backtesting

Develop and test trading strategies, arbitrage bots, and MEV searchers in controlled environments.

Security Auditing

Perform sophisticated fuzzing, anomaly detection, and vulnerability assessment with agent-based modeling.

Support and Resources

Documentation

  • 📖 This book - comprehensive guides and tutorials
  • 📚 API docs - detailed API reference
  • 🎓 Examples - working code samples

Community

Next Steps

Ready to start? Head to the Installation guide!