Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

feature(crypto): vm-exec tool to run smart contracts locally #51

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

Naltox
Copy link

@Naltox Naltox commented Nov 28, 2021

vm-execute fetches vm code, initial stack, function selector and data cell from json config, executes TVM and returns resulting vm stack, exit code, data cell and action list cell as json.

@dvlkv
Copy link

dvlkv commented Nov 28, 2021

Great job!

auto data = td::get_json_object_field(obj, "value", td::JsonValue::Type::Array, false).move_as_ok();
auto& data_arr = data.get_array();

std::vector<vm::StackEntry> tuple_components;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vo 50819470484841751784191809281711678689562450243968828557706837664200078806706

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants