Skip to content

Test tool for smart contract development environment

Notifications You must be signed in to change notification settings

massalabs/massa-sc-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

massa-sc-tester

massa-sc-tester is a minimal testing environment made to run massa smart contracts. This program provides a human-readable execution trace and ledger.

Corresponding massa node version

massa-sc-tester currently mimics the behaviour of the TEST.21.0 node.

Execution config

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.

Running massa-sc-tester

cargo run config/execution_config.yaml

Reading the output

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.

About

Test tool for smart contract development environment

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages