Storage
A smart contract is able to perform computation and store & manipulate data over time.
In the following sections we'll take a look at how Sway handles storage
through:
- Storage Initialization: How to declare a
storage
block - Reading & Writing: How to read from and write to storage
- Libraries: Additional functionality provided by the storage library