memory
Installation
SKILL.md
Memory Accounting
Memory prices storage. Unlike juice, it is a stock: held as an allowance,
consumed when state grows, and refunded when state shrinks. Computation is
priced separately — see the juice skill.
On-chain storage is potentially permanent, and every peer bears it. Memory accounting exists so that whoever creates that burden accounts for it.
Normative spec: https://docs.convex.world/docs/cad/memory.
Storage Size
storage size = 64 + (bytes of the cell's own encoding) + (memory size of child cells)
Two consequences worth internalising: