1. Introduction
  2. Getting Started
  3. Installation
  4. First Steps with Starknet Foundry
  5. Scarb
  6. Project Configuration
  7. Blake Hash Support
  8. snforge Overview
  9. Running Tests
  10. Writing Tests
  11. Test Attributes
  12. Testing Smart Contracts
  13. Testing Contracts' Internals
  14. Using Cheatcodes
  15. Testing Events
  16. Testing Messages to L1
  17. Testing Workspaces
  18. Test Collection
  19. Contract Collection
    1. Optimized Mechanism
    2. Old Mechanism
  20. Gas and VM Resources Estimation
  21. Coverage
  22. snforge Advanced Features
  23. Fork Testing
  24. Fuzz Testing
  25. Direct Storage Access
  26. Profiling
  27. Debugging
  28. Oracles
  29. Parametrized Tests
  30. Tests Partitioning
  31. sncast Overview
  32. Outline
  33. sncast 101
  34. Creating And Deploying Accounts
  35. Account Balance
  36. Importing Accounts
  37. Declaring New Contracts
  38. Deploying New Contracts
  39. Invoking Contracts
  40. Dry Run
  41. Calling Contracts
  42. Performing Multicall
  43. Aliases
  44. Cairo Deployment Scripts
  45. Inspecting Transactions
  46. Verifying Contracts
  47. Calldata Transformation
  48. Block Explorers
  49. Integration With Devnet
  50. Developer Functionalities
  51. Ledger Hardware Wallet
    1. EIP-2645 HD Paths
  52. Foundry Development
  53. Environment Setup
  54. Shell snippets
  55. Snapshot tests
  56. Predeployed contracts
  57. Appendix
  58. snforge Commands
    1. test
    2. new
    3. clean
    4. check-requirements
    5. completions
    6. optimize-inlining
  59. Cheatcodes Reference
    1. Cheating Globally
    2. CheatSpan
    3. caller_address
    4. block_number
    5. block_timestamp
    6. block_hash
    7. sequencer_address
    8. version
    9. account_contract_address
    10. max_fee
    11. signature
    12. transaction_hash
    13. chain_id
    14. nonce
    15. resource_bounds
    16. tip
    17. paymaster_data
    18. nonce_data_availability_mode
    19. fee_data_availability_mode
    20. account_deployment_data
    21. proof_facts
    22. mock_call
    23. get_class_hash
    24. replace_bytecode
    25. l1_handler
    26. spy_events
    27. spy_messages_to_l1
    28. store
    29. load
    30. generate_random_felt
    31. generate_arg
    32. set_balance
    33. Token
    34. interact_with_state
  60. snforge Library Reference
    1. byte_array
    2. declare
    3. contract_class
    4. get_call_trace
    5. fs
      1. file format rules
      2. File
      3. FileParser
      4. read_txt
      5. read_json
    6. env
    7. signature
    8. fuzzable
    9. testing
      1. get_current_vm_step
  61. sncast Commands
    1. common flags
    2. account
      1. import
      2. create
      3. deploy
      4. delete
      5. list
    3. alias
      1. list
    4. declare
    5. declare-from
    6. deploy
    7. invoke
    8. call
    9. multicall
      1. new
      2. run
      3. execute
        1. deploy
        2. invoke
    10. show-config
    11. config-path
    12. script
      1. init
      2. run
    13. verify
    14. ledger
      1. app-version
      2. get-public-key
      3. sign-hash
    15. completions
    16. get
      1. balance
      2. block
      3. class-hash-at
      4. nonce
      5. spec-version
      6. tx
      7. tx-receipt
      8. tx-status
    17. utils
      1. serialize
      2. class-hash
      3. contract-address
      4. selector
  62. sncast Library Reference
    1. declare
    2. deploy
    3. invoke
    4. call
    5. get_nonce
    6. tx_status
    7. errors
    8. FeeSettingsTrait
  63. snfoundry.toml Reference
  64. Scarb.toml Reference
  65. Inlining Optimizer
  66. Starknet Foundry Github Action
  67. snforge 0.56.0 Migration Guide