1. Introduction
  2. Getting Started
  3. Installation
  4. First Steps with Starknet Foundry
  5. Scarb
  6. Project Configuration
  7. snforge Overview
  8. Running Tests
  9. Writing Tests
  10. Test Attributes
  11. Testing Smart Contracts
  12. Testing Contracts' Internals
  13. Using Cheatcodes
  14. Testing Events
  15. Testing Messages to L1
  16. Testing Workspaces
  17. Test Collection
  18. Contract Collection
    ❱
    1. Optimized Mechanism
    2. Old Mechanism
  19. Gas and VM Resources Estimation
  20. Coverage
  21. snforge Advanced Features
  22. Fork Testing
  23. Fuzz Testing
  24. Direct Storage Access
  25. Profiling
  26. Debugging
  27. Oracles
  28. Parametrized Tests
  29. Tests Partitioning
  30. sncast Overview
  31. Outline
  32. sncast 101
  33. Creating And Deploying Accounts
  34. Account Balance
  35. Importing Accounts
  36. Declaring New Contracts
  37. Deploying New Contracts
  38. Invoking Contracts
  39. Dry Run
  40. Calling Contracts
  41. Performing Multicall
  42. Aliases
  43. Inspecting Transactions
  44. Verifying Contracts
  45. Calldata Transformation
  46. Block Explorers
  47. Integration With Devnet
  48. Developer Functionalities
  49. Ledger Hardware Wallet
    ❱
    1. EIP-2645 HD Paths
  50. Foundry Development
  51. Environment Setup
  52. Shell snippets
  53. Snapshot tests
  54. Predeployed contracts
  55. Gas expectations
  56. Appendix
  57. snforge Commands
    ❱
    1. test
    2. new
    3. clean
    4. check-requirements
    5. completions
    6. optimize-inlining
  58. 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
  59. snforge Library Reference
    ❱
    1. byte_array
    2. declare
    3. declare!
    4. declare_result
    5. contract_class
    6. get_call_trace
    7. fs
      ❱
      1. file format rules
      2. File
      3. FileParser
      4. read_txt
      5. read_json
    8. env
    9. signature
    10. fuzzable
    11. testing
      ❱
      1. get_current_vm_step
  60. 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. verify
    13. ledger
      ❱
      1. app-version
      2. get-public-key
      3. sign-hash
    14. completions
    15. get
      ❱
      1. balance
      2. block
      3. chain-id
      4. class-hash-at
      5. nonce
      6. spec-version
      7. state-update
      8. syncing
      9. tx
      10. tx-receipt
      11. tx-status
    16. utils
      ❱
      1. serialize
      2. class-hash
      3. contract-address
      4. selector
  61. snfoundry.toml Reference
  62. Scarb.toml Reference
  63. Inlining Optimizer
  64. Starknet Foundry Github Action
  65. snforge 0.56.0 Migration Guide
  66. Blake Hash Support