- 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. Dry Run
- 36. Calling Contracts
- 37. Performing Multicall
- 38. Aliases
- 39. Cairo Deployment Scripts
- 40. Inspecting Transactions
- 41. Verifying Contracts
- 42. Calldata Transformation
- 43. Block Explorers
- 44. Integration With Devnet
- 45. Developer Functionalities
- 46. Ledger Hardware Wallet
❱
- 46.1. EIP-2645 HD Paths
- Foundry Development
- 47. Environment Setup
- 48. Shell snippets
- 49. Snapshot tests
- 50. Predeployed contracts
- Appendix
- 51. snforge Commands
❱
- 51.1. test
- 51.2. new
- 51.3. clean
- 51.4. check-requirements
- 51.5. completions
- 51.6. optimize-inlining
- 52. Cheatcodes Reference
❱
- 52.1. Cheating Globally
- 52.2. CheatSpan
- 52.3. caller_address
- 52.4. block_number
- 52.5. block_timestamp
- 52.6. block_hash
- 52.7. sequencer_address
- 52.8. version
- 52.9. account_contract_address
- 52.10. max_fee
- 52.11. signature
- 52.12. transaction_hash
- 52.13. chain_id
- 52.14. nonce
- 52.15. resource_bounds
- 52.16. tip
- 52.17. paymaster_data
- 52.18. nonce_data_availability_mode
- 52.19. fee_data_availability_mode
- 52.20. account_deployment_data
- 52.21. proof_facts
- 52.22. mock_call
- 52.23. get_class_hash
- 52.24. replace_bytecode
- 52.25. l1_handler
- 52.26. spy_events
- 52.27. spy_messages_to_l1
- 52.28. store
- 52.29. load
- 52.30. generate_random_felt
- 52.31. generate_arg
- 52.32. set_balance
- 52.33. Token
- 52.34. interact_with_state
- 53. snforge Library Reference
❱
- 53.1. byte_array
- 53.2. declare
- 53.3. contract_class
- 53.4. get_call_trace
- 53.5. fs
❱
- 53.5.1. file format rules
- 53.5.2. File
- 53.5.3. FileParser
- 53.5.4. read_txt
- 53.5.5. read_json
- 53.6. env
- 53.7. signature
- 53.8. fuzzable
- 53.9. testing
❱
- 53.9.1. get_current_vm_step
- 54. sncast Commands
❱
- 54.1. common flags
- 54.2. account
❱
- 54.2.1. import
- 54.2.2. create
- 54.2.3. deploy
- 54.2.4. delete
- 54.2.5. list
- 54.3. alias
❱
- 54.3.1. list
- 54.4. declare
- 54.5. declare-from
- 54.6. deploy
- 54.7. invoke
- 54.8. call
- 54.9. multicall
❱
- 54.9.1. new
- 54.9.2. run
- 54.9.3. execute
❱
- 54.9.3.1. deploy
- 54.9.3.2. invoke
- 54.10. show-config
- 54.11. config-path
- 54.12. script
❱
- 54.12.1. init
- 54.12.2. run
- 54.13. verify
- 54.14. ledger
❱
- 54.14.1. app-version
- 54.14.2. get-public-key
- 54.14.3. sign-hash
- 54.15. completions
- 54.16. get
❱
- 54.16.1. balance
- 54.16.2. block
- 54.16.3. class-hash-at
- 54.16.4. nonce
- 54.16.5. spec-version
- 54.16.6. tx
- 54.16.7. tx-receipt
- 54.16.8. tx-status
- 54.17. utils
❱
- 54.17.1. serialize
- 54.17.2. class-hash
- 54.17.3. contract-address
- 54.17.4. selector
- 55. sncast Library Reference
❱
- 55.1. declare
- 55.2. deploy
- 55.3. invoke
- 55.4. call
- 55.5. get_nonce
- 55.6. tx_status
- 55.7. errors
- 55.8. FeeSettingsTrait
- 56. snfoundry.toml Reference
- 57. Scarb.toml Reference
- 58. Inlining Optimizer
- 59. Starknet Foundry Github Action
- 60. snforge 0.56.0 Migration Guide