#pwasm #command-line-utilities

no-std bin+lib casper-wasm-utils

Collection of command-line utilities and corresponding Rust api for producing pwasm-compatible executables

3 stable releases

3.0.0 Oct 18, 2023
2.0.0 Jun 15, 2023
1.1.0 Jun 13, 2023
1.0.0 Apr 17, 2023
0.1.0 Apr 14, 2023

#368 in WebAssembly

Download history 225/week @ 2024-01-05 137/week @ 2024-01-12 226/week @ 2024-01-19 211/week @ 2024-01-26 326/week @ 2024-02-02 456/week @ 2024-02-09 320/week @ 2024-02-16 449/week @ 2024-02-23 424/week @ 2024-03-01 607/week @ 2024-03-08 417/week @ 2024-03-15 360/week @ 2024-03-22 297/week @ 2024-03-29 376/week @ 2024-04-05 260/week @ 2024-04-12 207/week @ 2024-04-19

1,230 downloads per month
Used in 11 crates (via casper-execution-engine)

MIT/Apache

150KB
3.5K SLoC

casper-wasm-utils

A collection of WASM utilities used in contract development, forked from the Parity's pwasm-utils. The original code was written by the Parity team, and this library is a fork allowing Casper to maintain the code.

This repository contains the package casper-wasm-utils which consists of a library crate and a collection of cli binaries that make use of this library.

Installation of cli tools

cargo install casper-wasm-utils --features cli

This will install the following binaries:

  • wasm-gas
  • wasm-stack-height

License

casper-wasm-utils is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), at your choice.

See LICENSE-APACHE, and LICENSE-MIT for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in casper-wasm-utils by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.4–9.5MB
~67K SLoC