Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eosio-wasm-js

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eosio-wasm-js

A utility tool that serialises EOSIO and Antelope based blockchain action data to WebAssembly hex string.

  • 4.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by750%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • Node.js >= 13.
  • Browser list > 0.5%, not OperaMini all, not IE > 0, not dead.
  • Deno.js Version ^1.30.0.

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:

Keywords

FAQs

Package last updated on 07 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc