Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Important: If you're upgrading snforge to version 0.48.0 or later, please read the 0.48.0 Migration Guide.

Library Reference

ℹ️ Info Full documentation for the sncast library can be found here.

  • declare - declares a contract
  • deploy - deploys a contract
  • invoke - invokes a contract's function
  • call - calls a contract's function
  • get_nonce - gets account's nonce for a given block tag
  • tx_status - gets the status of a transaction using its hash
  • errors - sncast_std error types reference

ℹ️ Info To use the library functions you need to add sncast_std package as a dependency in your Scarb.toml using the appropriate version.

[dependencies]
sncast_std = "0.33.0"