- Introduction
- Getting Started
- 1. Installation
- 2. First Steps with Starknet Foundry
- 3. Scarb
- 4. Project Configuration
- 5. Blake Hash Support
- snforge Overview
- 6. Running Tests
- 7. Writing Tests
- 8. Test Attributes
- 9. Testing Smart Contracts
- 10. Testing Contracts' Internals
- 11. Using Cheatcodes
- 12. Testing Events
- 13. Testing Messages to L1
- 14. Testing Workspaces
- 15. Test Collection
- 16. Contract Collection
❱
- 16.1. Optimized Mechanism
- 16.2. Old Mechanism
- 17. Gas and VM Resources Estimation
- 18. Coverage
- snforge Advanced Features
- 19. Fork Testing
- 20. Fuzz Testing
- 21. Direct Storage Access
- 22. Profiling
- 23. Debugging
- 24. Oracles
- 25. Parametrized Tests
- 26. Tests Partitioning
- sncast Overview
- 27. Outline
- 28. sncast 101
- 29. Creating And Deploying Accounts
- 30. Account Balance
- 31. Importing Accounts
- 32. Declaring New Contracts
- 33. Deploying New Contracts
- 34. Invoking Contracts
- 35. Calling Contracts
- 36. Performing Multicall
- 37. Cairo Deployment Scripts
- 38. Inspecting Transactions
- 39. Verifying Contracts
- 40. Calldata Transformation
- 41. Block Explorers
- 42. Integration With Devnet
- 43. Developer Functionalities
- 44. Ledger Hardware Wallet
❱
- 44.1. EIP-2645 HD Paths
- Foundry Development
- 45. Environment Setup
- 46. Shell snippets
- 47. Snapshot tests
- Appendix
- 48. snforge Commands
❱
- 48.1. test
- 48.2. new
- 48.3. clean
- 48.4. clean-cache
- 48.5. check-requirements
- 48.6. completions
- 48.7. optimize-inlining
- 49. Cheatcodes Reference
❱
- 49.1. Cheating Globally
- 49.2. CheatSpan
- 49.3. caller_address
- 49.4. block_number
- 49.5. block_timestamp
- 49.6. block_hash
- 49.7. sequencer_address
- 49.8. version
- 49.9. account_contract_address
- 49.10. max_fee
- 49.11. signature
- 49.12. transaction_hash
- 49.13. chain_id
- 49.14. nonce
- 49.15. resource_bounds
- 49.16. tip
- 49.17. paymaster_data
- 49.18. nonce_data_availability_mode
- 49.19. fee_data_availability_mode
- 49.20. account_deployment_data
- 49.21. proof_facts
- 49.22. mock_call
- 49.23. get_class_hash
- 49.24. replace_bytecode
- 49.25. l1_handler
- 49.26. spy_events
- 49.27. spy_messages_to_l1
- 49.28. store
- 49.29. load
- 49.30. generate_random_felt
- 49.31. generate_arg
- 49.32. set_balance
- 49.33. Token
- 49.34. interact_with_state
- 50. snforge Library Reference
❱
- 50.1. byte_array
- 50.2. declare
- 50.3. contract_class
- 50.4. get_call_trace
- 50.5. fs
❱
- 50.5.1. file format rules
- 50.5.2. File
- 50.5.3. FileParser
- 50.5.4. read_txt
- 50.5.5. read_json
- 50.6. env
- 50.7. signature
- 50.8. fuzzable
- 50.9. testing
❱
- 50.9.1. get_current_vm_step
- 51. sncast Commands
❱
- 51.1. common flags
- 51.2. account
❱
- 51.2.1. import
- 51.2.2. create
- 51.2.3. deploy
- 51.2.4. delete
- 51.2.5. list
- 51.3. declare
- 51.4. declare-from
- 51.5. deploy
- 51.6. invoke
- 51.7. call
- 51.8. multicall
❱
- 51.8.1. new
- 51.8.2. run
- 51.8.3. execute
❱
- 51.8.3.1. deploy
- 51.8.3.2. invoke
- 51.9. show-config
- 51.10. script
❱
- 51.10.1. init
- 51.10.2. run
- 51.11. verify
- 51.12. ledger
❱
- 51.12.1. app-version
- 51.12.2. get-public-key
- 51.12.3. sign-hash
- 51.13. completions
- 51.14. get
❱
- 51.14.1. balance
- 51.14.2. class-hash-at
- 51.14.3. nonce
- 51.14.4. tx
- 51.14.5. tx-status
- 51.15. utils
❱
- 51.15.1. serialize
- 51.15.2. class-hash
- 51.15.3. selector
- 52. sncast Library Reference
❱
- 52.1. declare
- 52.2. deploy
- 52.3. invoke
- 52.4. call
- 52.5. get_nonce
- 52.6. tx_status
- 52.7. errors
- 52.8. FeeSettingsTrait
- 53. snfoundry.toml Reference
- 54. Scarb.toml Reference
- 55. Inlining Optimizer
- 56. Starknet Foundry Github Action
- 57. snforge 0.56.0 Migration Guide