@cosmwasm-as/rewrite-wasm

0.0.8 • Public • Published

@cosmwasm-as/rewrite-wasm

A tool for rewriting .wasm binaries outputted by the AssemblyScript compiler to be compatible with CosmWasm.

Features

  • replaces (start ...) operation and inserts it before every exported function

Installation

Install globally:

npm install -g @cosmwasm-as/rewrite-wasm

Usage

cosmwasm-as-rewrite-wasm [--optimize=1] <.wasm file>
  • The optimize=1 flag is used for release versions and uses Binaryen to optimize the result binary.
  • Binaries are rewritten IN PLACE.

Readme

Keywords

none

Package Sidebar

Install

npm i @cosmwasm-as/rewrite-wasm

Weekly Downloads

1

Version

0.0.8

License

none

Unpacked Size

3.58 kB

Total Files

4

Last publish

Collaborators

  • terran-one