This adds a new ironfish-rust-wasm crate whose goal is to expose the ironfish-rust functionality to WASM for web browsers, just like ironfish-rust-nodejs exposes the functionality to NodeJS.
For now, the new crate only exposes the IronfishError struct.
Testing Plan
cd ironfish-rust-wasm && cargo build --target=wasm32-unknown-unknown
cd ironfish-rust-wasm && cargo test
Support for proper testing through a web browser will be added in a future PR.
Summary
This adds a new
ironfish-rust-wasm
crate whose goal is to expose theironfish-rust
functionality to WASM for web browsers, just likeironfish-rust-nodejs
exposes the functionality to NodeJS.For now, the new crate only exposes the
IronfishError
struct.Testing Plan
cd ironfish-rust-wasm && cargo build --target=wasm32-unknown-unknown
cd ironfish-rust-wasm && cargo test
Support for proper testing through a web browser will be added in a future PR.
Documentation
N/A
Breaking Change
N/A