extern crate ssvm_container;
fn main() {
let fs = ssvm_container::storage::file_system::FileSystem::init();
println!("{:?}", fs);
let bytecode_wasm = String::from("0x1234567890");
let uuid = ssvm_container::storage::file_system::FileSystem::create_application(&fs, &bytecode_wasm);
println!("Application has a uuid of: {:?}", uuid);
let bytecode_wasm_string = ssvm_container::storage::file_system::FileSystem::read_application(&fs, &uuid);
println!("Bytecode wasm string: {:?}", bytecode_wasm_string);
let bytecode_wasm_update = String::from("0x8888888888");
ssvm_container::storage::file_system::FileSystem::update_application(&fs, &uuid, &bytecode_wasm_update);
ssvm_container::storage::file_system::FileSystem::delete_application(&fs, &uuid);
}