-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error when initilize wasm #53
Comments
What browser are you attempting to run this in? |
Based on some quick searching, it seems like youre not actually loading the WASM blob probably because it didnt build (WebAssembly/spec#1031). I would make sure you've built it properly and importing everything properly. Things around the library are a little rough around the edges still, our primary goal at the moment is building the Snaps, so we haven't taken all the steps to make sure its easily consumable by 3rd parties |
Maybe missing something that I skipped ....? |
@ManyRios can you please specify which bundler you are using? I assume it didn't load the wasm file properly. Can you please also share your repo if it's open source? |
https://github.com/ManyRios/EduZEC/blob/main/src/components/AppWallet/AppWallet.tsx |
Hi guys. I get this error when I tried to initilize wasm in my ts/js file:
Uncaught (in promise) CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0
the code is the usual code as the examples:
Or
I already run the webzjs repo and run demo wallet with no problems... the thing is when I want to use the library in my own project
The text was updated successfully, but these errors were encountered: