Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nonce definition to the docs #1098

Closed
odednaor opened this issue Jan 31, 2024 · 3 comments
Closed

Add nonce definition to the docs #1098

odednaor opened this issue Jan 31, 2024 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@odednaor
Copy link
Collaborator

The nonce of an address is the number of transactions originating from this address + 1. For example, the starknet_getNonce request of an account that was deployed (with nonce 0 in the deploy tx) but that did not send any transactions, should be 1.

@odednaor odednaor added the documentation Improvements or additions to documentation label Jan 31, 2024
@stoobie
Copy link
Collaborator

stoobie commented Jan 31, 2024

@odednaor Does this refer to the nonce of a user account?

@odednaor
Copy link
Collaborator Author

To any contract in Starknet, not only account contracts. What page in the docs should this be on?

@stoobie
Copy link
Collaborator

stoobie commented Jan 31, 2024

We mention it

I think it should be in the glossary (needs to be added in #1095). This definition that you're referring to here relates specifically to contracts, not transactions, so what do you think about adding it under contract instances in https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/contract-classes/?

stoobie added a commit that referenced this issue Feb 7, 2024
stoobie added a commit that referenced this issue Feb 8, 2024
…instances in contract-classes.adoc (#1099)

* Changed title to Contract classes and instances in contract-classes.adoc

* Update nav.adoc

* Add description of `nonce` to Update contract-classes.adoc

This commit addresses issue #1098

* Update components/Starknet/modules/architecture_and_concepts/pages/Smart_Contracts/contract-classes.adoc

Co-authored-by: odednaor <odednaor@gmail.com>

---------

Co-authored-by: odednaor <odednaor@gmail.com>
@stoobie stoobie closed this as completed Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants