- 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. 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 Functionalites
- Foundry Development
- 44. Environment Setup
- 45. Shell snippets
- Appendix
- 46. snforge Commands
❱
- 46.1. test
- 46.2. new
- 46.3. clean
- 46.4. clean-cache
- 46.5. check-requirements
- 46.6. completions
- 47. Cheatcodes Reference
❱
- 47.1. Cheating Globally
- 47.2. CheatSpan
- 47.3. caller_address
- 47.4. block_number
- 47.5. block_timestamp
- 47.6. block_hash
- 47.7. sequencer_address
- 47.8. version
- 47.9. account_contract_address
- 47.10. max_fee
- 47.11. signature
- 47.12. transaction_hash
- 47.13. chain_id
- 47.14. nonce
- 47.15. resource_bounds
- 47.16. tip
- 47.17. paymaster_data
- 47.18. nonce_data_availability_mode
- 47.19. fee_data_availability_mode
- 47.20. account_deployment_data
- 47.21. mock_call
- 47.22. get_class_hash
- 47.23. replace_bytecode
- 47.24. l1_handler
- 47.25. spy_events
- 47.26. spy_messages_to_l1
- 47.27. store
- 47.28. load
- 47.29. generate_random_felt
- 47.30. generate_arg
- 47.31. set_balance
- 47.32. Token
- 47.33. interact_with_state
- 48. snforge Library Reference
❱
- 48.1. byte_array
- 48.2. declare
- 48.3. contract_class
- 48.4. get_call_trace
- 48.5. fs
❱
- 48.5.1. file format rules
- 48.5.2. File
- 48.5.3. FileParser
- 48.5.4. read_txt
- 48.5.5. read_json
- 48.6. env
- 48.7. signature
- 48.8. fuzzable
- 49. sncast Commands
❱
- 49.1. common flags
- 49.2. account
❱
- 49.2.1. import
- 49.2.2. create
- 49.2.3. deploy
- 49.2.4. delete
- 49.2.5. list
- 49.3. balance
- 49.4. declare
- 49.5. declare-from
- 49.6. deploy
- 49.7. invoke
- 49.8. call
- 49.9. multicall
❱
- 49.9.1. new
- 49.9.2. run
- 49.10. show-config
- 49.11. script
❱
- 49.11.1. init
- 49.11.2. run
- 49.12. tx-status
- 49.13. verify
- 49.14. completions
- 49.15. utils
❱
- 49.15.1. serialize
- 49.15.2. class-hash
- 50. sncast Library Reference
❱
- 50.1. declare
- 50.2. deploy
- 50.3. invoke
- 50.4. call
- 50.5. get_nonce
- 50.6. tx_status
- 50.7. errors
- 50.8. FeeSettingsTrait
- 51. snfoundry.toml Reference
- 52. Scarb.toml Reference
- 53. Starknet Foundry Github Action