- 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
- sncast Overview
- 25. Outline
- 26. sncast 101
- 27. Creating And Deploying Accounts
- 28. Importing Accounts
- 29. Declaring New Contracts
- 30. Deploying New Contracts
- 31. Invoking Contracts
- 32. Calling Contracts
- 33. Performing Multicall
- 34. Cairo Deployment Scripts
- 35. Inspecting Transactions
- 36. Verifying Contracts
- 37. Calldata Transformation
- 38. Block Explorers
- Foundry Development
- 39. Environment Setup
- 40. Shell snippets
- Appendix
- 41. snforge Commands
❱
- 41.1. test
- 41.2. init
- 41.3. new
- 41.4. clean
- 41.5. clean-cache
- 41.6. check-requirements
- 41.7. completions
- 42. Cheatcodes Reference
❱
- 42.1. Cheating Globally
- 42.2. CheatSpan
- 42.3. caller_address
- 42.4. block_number
- 42.5. block_timestamp
- 42.6. block_hash
- 42.7. sequencer_address
- 42.8. version
- 42.9. account_contract_address
- 42.10. max_fee
- 42.11. signature
- 42.12. transaction_hash
- 42.13. chain_id
- 42.14. nonce
- 42.15. resource_bounds
- 42.16. tip
- 42.17. paymaster_data
- 42.18. nonce_data_availability_mode
- 42.19. fee_data_availability_mode
- 42.20. account_deployment_data
- 42.21. mock_call
- 42.22. get_class_hash
- 42.23. replace_bytecode
- 42.24. l1_handler
- 42.25. spy_events
- 42.26. spy_messages_to_l1
- 42.27. store
- 42.28. load
- 42.29. generate_random_felt
- 42.30. generate_arg
- 42.31. set_balance
- 42.32. Token
- 42.33. interact_with_state
- 43. snforge Library Reference
❱
- 43.1. byte_array
- 43.2. declare
- 43.3. contract_class
- 43.4. get_call_trace
- 43.5. fs
- 43.6. env
- 43.7. signature
- 43.8. fuzzable
- 44. sncast Commands
❱
- 44.1. common flags
- 44.2. account
❱
- 44.2.1. import
- 44.2.2. create
- 44.2.3. deploy
- 44.2.4. delete
- 44.2.5. list
- 44.3. declare
- 44.4. deploy
- 44.5. invoke
- 44.6. call
- 44.7. multicall
❱
- 44.7.1. new
- 44.7.2. run
- 44.8. show-config
- 44.9. script
❱
- 44.9.1. init
- 44.9.2. run
- 44.10. tx-status
- 44.11. verify
- 44.12. completions
- 44.13. utils
❱
- 44.13.1. serialize
- 45. sncast Library Reference
❱
- 45.1. declare
- 45.2. deploy
- 45.3. invoke
- 45.4. call
- 45.5. get_nonce
- 45.6. tx_status
- 45.7. errors
- 45.8. FeeSettingsTrait
- 46. snfoundry.toml Reference
- 47. Scarb.toml Reference
- 48. Starknet Foundry Github Action