#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

#569 in WebAssembly

Download history 172/week @ 2024-10-21 129/week @ 2024-10-28 194/week @ 2024-11-04 124/week @ 2024-11-11 213/week @ 2024-11-18 257/week @ 2024-11-25 179/week @ 2024-12-02 242/week @ 2024-12-09 208/week @ 2024-12-16 73/week @ 2024-12-23 130/week @ 2024-12-30 187/week @ 2025-01-06 136/week @ 2025-01-13 224/week @ 2025-01-20 169/week @ 2025-01-27 319/week @ 2025-02-03

863 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–8MB
~58K SLoC