Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Compile to web browser (WASM-pack?) #70

Open
skyl opened this issue Jun 11, 2022 · 1 comment
Open

Compile to web browser (WASM-pack?) #70

skyl opened this issue Jun 11, 2022 · 1 comment

Comments

@skyl
Copy link

skyl commented Jun 11, 2022

What

Compile library to run on browser

Why

Would open up a ton of possibilities for easy developer ergonomics if vanilla webapp in the browser could call lightwalletd.

References

Might be a long road ..

https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm
rust-lang/socket2#268
tokio-rs/tokio#1597 (comment)
https://yieldcode.blog/post/native-rust-wasm/

other routes to zwl on web browsers - maybe grpc-web? https://github.com/grpc/grpc-web


more community context

Zephyr: https://forum.zcashcommunity.com/t/project-zephyr-update-march22/41118

"2 years of Lightwalletd Infra hosting & maintenance" https://forum.zcashcommunity.com/t/2-years-of-lightwalletd-infra-hosting-maintenance/38126

str4d demo for zcon1 - https://github.com/str4d/zcon1-demo-wasm

aditya wasm branch of zecwallet-lite: https://forum.zcashcommunity.com/t/a-lightweight-web-wallet-for-zcash/38882/2

@zancas
Copy link
Member

zancas commented Jun 12, 2022

Hah... that wasm branch has moved a very similar subset of the code I was hacking on in a local experiment..
Basically the lightwallet directory. Great find! Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants