#pwasm #casper #utilities #contract #executable #parity #collection

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

#446 in Science

Download history 201/week @ 2024-11-17 260/week @ 2024-11-24 178/week @ 2024-12-01 233/week @ 2024-12-08 225/week @ 2024-12-15 77/week @ 2024-12-22 80/week @ 2024-12-29 229/week @ 2025-01-05 137/week @ 2025-01-12 221/week @ 2025-01-19 176/week @ 2025-01-26 338/week @ 2025-02-02 243/week @ 2025-02-09 197/week @ 2025-02-16 302/week @ 2025-02-23 102/week @ 2025-03-02

861 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