#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

#373 in Science

Download history 515/week @ 2024-07-21 519/week @ 2024-07-28 492/week @ 2024-08-04 316/week @ 2024-08-11 268/week @ 2024-08-18 260/week @ 2024-08-25 177/week @ 2024-09-01 216/week @ 2024-09-08 224/week @ 2024-09-15 254/week @ 2024-09-22 240/week @ 2024-09-29 175/week @ 2024-10-06 222/week @ 2024-10-13 190/week @ 2024-10-20 135/week @ 2024-10-27 189/week @ 2024-11-03

752 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