RolePlayGateway / rpg-lite

Bare essentials for RPG 1.0.
https://roleplaygateway.github.io/rpg-lite
3 stars 2 forks source link

Mobile Messaging API #2

Open martindale opened 4 years ago

martindale commented 4 years ago

Assuming an insecure environment, calls need to be made to a JavaScript context to interact with otherwise secure methods. Design & implement a secure messaging API matching the following:


const Service = require('@fabric/core/types/service');

class API extends Service {
  async execute (method, params) {

  }

  _asMerkleTree () {
    // must return a Bitcoin-style merkle tree of all historical executions, in order of execution
  }
}
martindale commented 4 years ago

TODO: James intro