1.0.0 • Published 2 years ago

mvm-memo v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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