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

Quick and dirty test of wasm compilation #33

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scarmuega
Copy link
Member

No description provided.

@scarmuega
Copy link
Member Author

@NicolasDP after your suggestion, I did some tests and managed to do a quick wasm compilation of the alonzo lib without need full no-std support. Thanks!

I haven't figured out yet how to interact with the crypto lib in this context.

  • Do you think it's possible to have a wasm-compatible crypto lib? Do you anticipate a reasonable LoE?
  • Would it make sense to have the crypto under a feature flag and skip it for wasm?
  • Would it make sense to have dumb "hash" primitives somewhere else and make both alonzo lib and crypto lib reference those?

@NicolasDP
Copy link
Collaborator

you should be able to use pallas-crypto for wasm target. It is already used by cardano-serialisation-lib by Emurgo and catalyst mobile voting app by IOG.

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