Skip to content

Introduce the jade framework for writing PVM programs #62

Description

@clearloop

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

  1. a PVM executor which could be extracted from our pvmi
  2. introduce environment for the onchain state, could be just a key-value memory db HashMap<Vec<u8>, Vec<u8>>
  3. 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:

  1. cargo jam new
  2. cargo jam build
  3. cargo jam test

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions