massa-sc-tester
is a minimal testing environment made to run massa smart contracts. This program provides a human-readable execution trace and ledger.
massa-sc-tester
currently mimics the behaviour of the TEST.21.0
node.
The default configuration located at config/execution_config.yaml
contains a detailed example of what you can do with massa-sc-tester
. The json
format is also supported if you wish to integrate massa-sc-tester
in another application but for human interaction yaml
is recommended.
cargo run config/execution_config.yaml
After running a massa-sc-tester
instance, you can read the execution trace in trace.json
and the resulting ledger in ledger.json
. The ledger is persistent, it will be loaded in the next execution if present. The trace will be overridden.