@seda-protocol/wasm-metering-ts

2.0.1 • Public • Published

js-wasm-metering

Wasm metering done similarly to Wasmer. The original made use of host calls to meter gas but we've changed the implementation to keep track of the gas limit from within the WASM world.

This started as a fork of https://www.npmjs.com/package/@aldea/wasm-metering?activeTab=readme with some modifications to make more truncate opcodes work. This in turn is just a wrapper around https://github.com/warp-contracts/warp-wasm-metering, but we moved most of the code inside this repository.

There is also code adapted from https://github.com/warp-contracts/warp-wasm-json-toolkit.

License

[MPL-2.0][license] [license]: https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)

Readme

Keywords

none

Package Sidebar

Install

npm i @seda-protocol/wasm-metering-ts

Weekly Downloads

62

Version

2.0.1

License

none

Unpacked Size

62.2 kB

Total Files

21

Last publish

Collaborators

  • franklin-waller
  • thomasvdam
  • mariocao