Skip to content

Commit

Permalink
Add description of nonce to Update contract-classes.adoc
Browse files Browse the repository at this point in the history
This commit addresses issue #1098
  • Loading branch information
stoobie authored Feb 7, 2024
1 parent 6208dbf commit 41383a4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ A contract class does not necessarily have a deployed instance in Starknet.
A contract class does not necessarily require a deployed instance in Starknet.
====

#A contract instance has a nonce, the value of which is the number of transactions originating from this address plus 1. For example, when you deploy an account with a `DEPLOY_ACCOUNT` transaction, the nonce of the account contract in the transaction is `0`. After the transaction, until the account contract sends its first transaction, the nonce is `1`.#

== Working with classes

[horizontal,labelwidth=20,role="stripes-odd"]
Expand Down

0 comments on commit 41383a4

Please sign in to comment.