Skip to main content


Smart contracts rely on storage, acting as the persistent memory on the blockchain. In Aztec, because of its hybrid, privacy-first architecture, the management of this storage is more complex than other blockchains like Ethereum.

You control this storage in Aztec using the Storage struct. This struct serves as the housing unit for all your smart contract's state variables - the data it needs to keep track of and maintain.

Continue reading

  • Learn how to define a storage struct here
  • View the storage reference with all variable types here