Introduction
Getting Started
1.
Installation
2.
First Steps with Starknet Foundry
3.
Scarb
4.
Project Configuration
snforge Overview
5.
Running Tests
6.
Writing Tests
7.
Testing Smart Contracts
8.
Testing Contracts' Internals
9.
Using Cheatcodes
10.
Testing Events
11.
Test Collection
12.
Contract Collection
13.
Gas and VM Resources Estimation
snforge Advanced Features
14.
Fork Testing
15.
Fuzz Testing
16.
Direct Storage Access
17.
Profiling
sncast Overview
18.
Outline
19.
Creating And Deploying Accounts
20.
Declaring New Contracts
21.
Deploying New Contracts
22.
Invoking Contracts
23.
Calling Contracts
24.
Performing Multicall
25.
Cairo Deployment Scripts
Foundry Development
26.
Environment Setup
Appendix
27.
snforge Commands
❱
27.1.
test
27.2.
init
27.3.
clean-cache
28.
Cheatcodes Reference
❱
28.1.
CheatTarget
28.2.
CheatSpan
28.3.
caller_address
28.4.
block_number
28.5.
block_timestamp
28.6.
mock_call
28.7.
tx_info
28.8.
sequencer_address
28.9.
get_class_hash
28.10.
replace_bytecode
28.11.
l1_handler_execute
28.12.
spy_events
28.13.
store
28.14.
load
29.
snforge Library Reference
❱
29.1.
declare
29.2.
contract_class
29.3.
get_call_trace
29.4.
fs
29.5.
env
29.6.
signature
30.
sncast Commands
❱
30.1.
common flags
30.2.
account
❱
30.2.1.
add
30.2.2.
create
30.2.3.
deploy
30.2.4.
delete
30.3.
declare
30.4.
deploy
30.5.
invoke
30.6.
call
30.7.
multicall
❱
30.7.1.
new
30.7.2.
run
30.8.
show-config
30.9.
script
❱
30.9.1.
init
30.9.2.
run
31.
sncast Library Functions References
❱
31.1.
declare
31.2.
deploy
31.3.
invoke
31.4.
call
31.5.
get_nonce
Light
Rust
Coal
Navy
Ayu
The Starknet Foundry Book
sncast
CLI Reference
common flags
account
add
create
deploy
delete
declare
deploy
invoke
call
multicall
new
run
script
init
run
show-config