Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a barebone WASM crate #5632

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Add a barebone WASM crate #5632

merged 1 commit into from
Nov 11, 2024

Conversation

andiflabs
Copy link
Contributor

@andiflabs andiflabs commented Nov 11, 2024

Summary

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.

Documentation

N/A

Breaking Change

N/A

@andiflabs andiflabs requested a review from a team as a code owner November 11, 2024 23:21
@andiflabs andiflabs merged commit 965e008 into staging Nov 11, 2024
24 checks passed
@andiflabs andiflabs deleted the andrea/ironfish-rust-wasm branch November 11, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants