MANAGING STORAGE SPACE ON CHAIN
There are many situations where the developer wishes to store data on chain. To manage the storage space, we recommend the developer use the following framework:
Create a file that contains the code to manage each type of storage needed.
Create a SpaceId to easily identity the type of data stored in each storage space.