- Introduction
- Getting Started
- 1. Installation
- 2. First Steps with Starknet Foundry
- 3. Scarb
- 4. Project Configuration
- 5. snforge 0.48.0 Migration Guide
- 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. Conditional Compilation
- 22. Direct Storage Access
- 23. Profiling
- 24. Debugging
- 25. Oracles
- 26. Parametrized Tests
- sncast Overview
- 27. Outline
- 28. sncast 101
- 29. Creating And Deploying Accounts
- 30. Importing Accounts
- 31. Declaring New Contracts
- 32. Deploying New Contracts
- 33. Invoking Contracts
- 34. Calling Contracts
- 35. Performing Multicall
- 36. Cairo Deployment Scripts
- 37. Inspecting Transactions
- 38. Verifying Contracts
- 39. Calldata Transformation
- 40. Block Explorers
- Foundry Development
- 41. Environment Setup
- 42. Shell snippets
- Appendix
- 43. snforge Commands
❱
- 43.1. test
- 43.2. new
- 43.3. clean
- 43.4. clean-cache
- 43.5. check-requirements
- 43.6. completions
- 44. Cheatcodes Reference
❱
- 44.1. Cheating Globally
- 44.2. CheatSpan
- 44.3. caller_address
- 44.4. block_number
- 44.5. block_timestamp
- 44.6. block_hash
- 44.7. sequencer_address
- 44.8. version
- 44.9. account_contract_address
- 44.10. max_fee
- 44.11. signature
- 44.12. transaction_hash
- 44.13. chain_id
- 44.14. nonce
- 44.15. resource_bounds
- 44.16. tip
- 44.17. paymaster_data
- 44.18. nonce_data_availability_mode
- 44.19. fee_data_availability_mode
- 44.20. account_deployment_data
- 44.21. mock_call
- 44.22. get_class_hash
- 44.23. replace_bytecode
- 44.24. l1_handler
- 44.25. spy_events
- 44.26. spy_messages_to_l1
- 44.27. store
- 44.28. load
- 44.29. generate_random_felt
- 44.30. generate_arg
- 44.31. set_balance
- 44.32. Token
- 44.33. interact_with_state
- 45. snforge Library Reference
❱
- 45.1. byte_array
- 45.2. declare
- 45.3. contract_class
- 45.4. get_call_trace
- 45.5. fs
❱
- 45.5.1. file format rules
- 45.5.2. File
- 45.5.3. FileParser
- 45.5.4. read_txt
- 45.5.5. read_json
- 45.6. env
- 45.7. signature
- 45.8. fuzzable
- 46. sncast Commands
❱
- 46.1. common flags
- 46.2. account
❱
- 46.2.1. import
- 46.2.2. create
- 46.2.3. deploy
- 46.2.4. delete
- 46.2.5. list
- 46.3. declare
- 46.4. declare-from
- 46.5. deploy
- 46.6. invoke
- 46.7. call
- 46.8. multicall
❱
- 46.8.1. new
- 46.8.2. run
- 46.9. show-config
- 46.10. script
❱
- 46.10.1. init
- 46.10.2. run
- 46.11. tx-status
- 46.12. verify
- 46.13. completions
- 46.14. utils
❱
- 46.14.1. serialize
- 46.14.2. class-hash
- 47. sncast Library Reference
❱
- 47.1. declare
- 47.2. deploy
- 47.3. invoke
- 47.4. call
- 47.5. get_nonce
- 47.6. tx_status
- 47.7. errors
- 47.8. FeeSettingsTrait
- 48. snfoundry.toml Reference
- 49. Scarb.toml Reference
- 50. Starknet Foundry Github Action