Users on the web/network are able to deploy and execute Wasm applications on SecondState's stack-based, stateless, WebAssembly Virtual Machine (SSVM). This SSVMContainer application sits between incoming requests from the external network (handled by SSVMRPC) and the SSVM.
Specifically, this SSVMContainer application handles the deployment of Wasm applications and also manages the execution of services (callable functions inside the Wasm application). The actual execution takes place inside the SSVM. However the execution is initiated by this container and all of the application state information is handled by this SSVMContainer.
At present this SSVMContainer simple uses the file system.
Future versions will allow the storage to be configured for LevelDB also. Once this transition happens, the following JSON (which reflects the above file-system layout) will be used.
{
"application_uuid": "0x11111111",
"application_name": "ERC 20",
"bytecode": "0x99999999",
"service": {
"service_uuid": "0x11111111",
"service_name": "add",
"timestamp": {
"timestamp_uuid": "1575158141",
"input": {},
"output": {}
}
}
}