mvm-memo

v1.0.0
Use to `Encode` and `Decode` memoes in mvm invoking.

MVM-MEMO

Use to Encode and Decode memoes in mvm invoking.

The goal is to be compatible with the mvm go version.

How to use

Install

npm install mvm-memo

Use as a ES6 module

import { operation } from 'mvm-memo';

const memo = operation.encode({
    purpose: 'OPERATION_PURPOSE_GROUP_EVENT',
    process: '9a34bd64-afcb-11ec-b909-0242ac120002',
    extra: '01ed9b9ba580000000000000000000000000000000000000000e35fd4acef14e2b00b9d0cd000000000000000000000000',
});

TODO

  • Adding decoder for operation-coder
  • Support event-coder
npm i mvm-memo

Metadata

  • MIT
  • Whatever
  • Leask Wong
  • released 3/30/2022

Downloads

Maintainers