eosio-wasm-js
A utility tool that serialises EOSIO based blockchain types to a WASM hex string.
This tool may be useful for those wanting to serialise actions in JS environments for EOSIO based blockchain actions.
Setup
$ npm i eosio-wasm-js
Support
Consider a BigInt polyfill library for safari 13.
API
object serialize
The core object that contains all the EOSIO based types to serialize.
Examples
Ways to require
.
const serialize = require('eosio-wasm-js')
Ways to import
.
import serialize from 'eosio-wasm-js'
Serialize EOSIO name type.
import serialize_name from 'eosio-wasm-js/public/serialize/name.js'
serialize_name('eosio')
The logged output was 0000000000ea3055