#pwasm #command-line-utilities #wasm

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

#384 in Science

Download history 282/week @ 2024-06-18 437/week @ 2024-06-25 350/week @ 2024-07-02 389/week @ 2024-07-09 419/week @ 2024-07-16 527/week @ 2024-07-23 519/week @ 2024-07-30 454/week @ 2024-08-06 285/week @ 2024-08-13 272/week @ 2024-08-20 253/week @ 2024-08-27 163/week @ 2024-09-03 217/week @ 2024-09-10 259/week @ 2024-09-17 224/week @ 2024-09-24 207/week @ 2024-10-01

936 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
~64K SLoC