Patent ID: 11934888
Assignee: LIQUIDAPPS LTD
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. A system for managing a limited allocated memory resource (LAMR) storing data used by a smart contract code of a plurality of smart contracts of a LAMR-based blockchain dataset stored in a blockchain storage system, wherein the LAMR defines storage space for storing data for each of the plurality of smart contracts, the system comprising:
at least one hardware processor of a gateway service node acting as a proxy for the blockchain storage system, executing a code for:
receiving, from a client terminal, a request for performing at least one action by the smart contract code stored in the blockchain storage system,
analyzing the request to perform the at least one action to determine whether the smart contract code requires data for performing the at least one action;
based on the analyzing of the request to perform the at least one action, providing to the blockchain storage system, a request to identify the data for execution of the at least one action in the LAMR of the blockchain storage system;
when the requested data is not found in the LAMR by the blockchain storage system, receiving from the blockchain storage system, an indication that the requested data is not found in the LAMR,
in response to the indication, acquiring a cryptographic proof of the requested data from the LAMR of the blockchain storage system;
acquiring a copy of the requested data from a virtual allocated memory resource (VAMR) using the cryptographic proof;
providing the copy of the requested data to the blockchain storage system for storing in the LAMR, wherein the smart contract code performs the at least one action using the stored copy to produce an updated stored copy, wherein the blockchain storage system replaces the cryptographic proof with a new cryptographic proof created by processing the updated stored copy in the LAMR;
receiving the updated copy from the blockchain storage system; and
storing the updated stored copy in the VAMR.