5.0.2 • Published 9 days ago

eosio-wasm-js v5.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 days ago

eosio wasm js

eosio-wasm-js is a tool that converts EOSIO blockchain types into a WASM hex string, making it handy for serializing actions in JS environments for EOSIO transactions.

Installation

For Node.js

$ npm i eosio-wasm-js

For Deno, make sure you include this import in your deno.json file:

{
  "imports": {
   "eosio-wasm-js/": "https://deno.land/x/eosio_wasm_js/"
  }
}

Example

import serialize from "eosio-wasm-js/serialize.js";

console.log(serialize.asset("EOS"));

The logged output was “000000000000000001454f5300000000”.

Support

Consider a BigInt polyfill library for safari 13.

Exports

The npm package eosio-wasm-js features optimal JavaScript module design. It doesn’t have a main index module, so use deep imports from the ECMAScript modules that are exported via the package.json field exports:

5.0.2

9 days ago

5.0.1

9 days ago

5.0.0

11 days ago

4.1.1

1 year ago

4.1.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

2.1.1

2 years ago

2.1.0-rc

2 years ago

2.1.0

2 years ago

2.0.0-rc

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago

1.0.0-beta-0

3 years ago

1.0.0-alpha-2

3 years ago

1.0.0-alpha-1

3 years ago

1.0.0-alpha

3 years ago