跳到主要内容

State

Smart contracts store data in their account's state, which is public on the chain. The storage starts empty until a contract is deployed and the state is initialized.

It is important to know that the account's code and account's storage are independent. Updating the code does not erase the state.


Loading...
Was this page helpful?