Library Functions References
declare
- declares a contract and returns aContractClass
which can be interacted with laterget_call_trace
- gets current test call trace (with contracts interactions included)fs
- module containing functions for interacting with the filesystemenv
- module containing functions for interacting with the system environmentsignature
- module containing struct and trait for creatingecdsa
signatures
ℹ️ Info To use cheatcodes you need to add
snforge_std
package as a development dependency in yourScarb.toml
using appropriate release tag.[dev-dependencies] snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.12.0" }