Hey folks ,
Earlier today I asked myself a question about storing data on lisk-sdk blockchain. After reading through many resources and also the NFT tutorial I am still not sure about my assumptions.
Question: How should blockchain state be persisted which is unrelated to user accounts? And does every new permanently added & searchable/queryable kind of data need to be added to the genesis block?
My first resource was again Nazar’s talk. At minute 20:30 he talks about that the account state of the genesis block. Once one modifies the account state for an application and introduces another account state, this state needs to be included in the genesis block configuration. That’s why I thought any none-temporary chain state also needs to be included there.
The NFT tutorial mentions “state store” a lot - but I understood this as a mechanism to temporarily story chain state during the processing of all transactions included in a block.
But then there generally are the concepts of transaction and asset - which are purposefully separated - and I am not 100% sure yet why. Is the reason there that all assets also are stored for ever on the blockchain?
Thank you very much in advance!