This project provides an implementation of the Join-Accumulate Machine (Jam) in Rust, based on the concepts described in the graypaper. The implementation includes basic structures for smart contracts, core-time management, and an execution environment.
The Join-Accumulate Machine (Jam) is a virtual machine designed to execute smart contracts with a focus on efficient core-time management. This project demonstrates the core components of Jam in a simplified form.
- Smart Contract Structure: Defines basic smart contract structure with code and state.
- Core-Time Management: Manages core-time allocation for contract execution.
- Install Rust and Cargo by following the instructions on the official Rust website.
-
Clone the repository:
git clone https://github.com/UniversalDot/JAM.git cd JAM
-
Build the project::
cargo build
-
Run the application:
cargo run
-
Test the application:
cargo test