Jade which is the framework for JAM programs, have three components, jade (wrapped syntax), jat (the testing environment) and cargo-jam
Jade - Wrapped syntax
wrap the interfaces of jam-pvm-build into developer friendly syntax
Jat - Testing environment
- a PVM executor which could be extracted from our pvmi
- introduce environment for the onchain state, could be just a key-value memory db
HashMap<Vec<u8>, Vec<u8>>
- while in this environment, we also need interfaces to modify the state of existing service accounts
cargo-jam
compile the program and run tests, 3 commands as the minimal implementation:
- cargo jam new
- cargo jam build
- cargo jam test
Jade which is the framework for JAM programs, have three components, jade (wrapped syntax), jat (the testing environment) and cargo-jam
Jade - Wrapped syntax
wrap the interfaces of jam-pvm-build into developer friendly syntax
Jat - Testing environment
HashMap<Vec<u8>, Vec<u8>>cargo-jam
compile the program and run tests, 3 commands as the minimal implementation: