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

Javascript libraries as WebAssembly binaries #15

Merged
merged 13 commits into from
Oct 17, 2023
Merged

Conversation

petersalomonsen
Copy link
Owner

@petersalomonsen petersalomonsen commented Oct 16, 2023

A simple demo of making the exported functions of a Javascript module as exported functions on a WebAssembly binary, without recompling the whole WebAssembly module, but rather manipulate the WebAssembly Text format.

Write a smart contract in Javascript and have it compiled to a WebAssembly module without a full C/Rust compiler toolchain.

@petersalomonsen petersalomonsen marked this pull request as ready for review October 17, 2023 18:17
@petersalomonsen petersalomonsen changed the title Pure Javascript contract example Javascript libraries as WebAssembly binaries Oct 17, 2023
@petersalomonsen petersalomonsen merged commit db754a6 into master Oct 17, 2023
6 checks passed
@petersalomonsen petersalomonsen deleted the examplepurejs branch October 17, 2023 18:23
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.

1 participant