eosio-wasm-js

4.1.1 • Public • Published

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.mjs";

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:

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.1.11latest
1.0.0-beta-01beta
1.0.0-alpha-21alpha

Version History

VersionDownloads (Last 7 Days)Published
4.1.11
4.1.01
4.0.11
4.0.01
3.0.11
3.0.01
2.1.11
2.1.01
2.1.0-rc1
2.0.01
2.0.0-rc1
1.0.02
1.0.0-beta-01
1.0.0-alpha-21
1.0.0-alpha-11
1.0.0-alpha1

Package Sidebar

Install

npm i eosio-wasm-js

Weekly Downloads

17

Version

4.1.1

License

MIT

Unpacked Size

25.9 kB

Total Files

29

Last publish

Collaborators

  • pur3miish