0.3.4 • Published 1 month ago

@foxone/memo-encode v0.3.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

Pando Memo Encoding Proto

This typescript repo provide implementation of Pando Memo Encoding Proto

Usage

Here is an example for converting swap params to base64 formated memo:

import { swap as MemoEncoder } from "@foxone/memo-encode";

// swap encode
const params = {
  follow_id: uuid(),
  fill_asset_id: uuid(),
  minimum: 1.00001,
  route_hash: "xyz",
  members: [],
};

// base64 memo for mixin transaction
const memo = MemoEncoder.encodeSwapMemo(params);

Other functions and params please read source code from src/index.ts

0.3.4

1 month ago

0.3.3

4 months ago

0.3.2

4 months ago

0.3.1

5 months ago

0.3.0

5 months ago

0.2.1

9 months ago

0.2.0

10 months ago

0.2.3

8 months ago

0.2.2

9 months ago

0.1.5

10 months ago

0.1.4

12 months ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago