This is a demo of how to run plasma with webassembly. See TypeScript API docs.
rustup target add wasm32-unknown-unknowncargo install wasm-bindgen-clicargo install justwasm-opt from https://github.com/WebAssembly/binaryennpm and nodejs from https://nodejs.org/cd webnpm installjust serve
It will compile rust, javascript, and start a web server on http://localhost:8080
just wasm webpack
It will compile everything and put all the distribution files in the ./dist directory.
If you have a wasm-opt installed, try:
just wasm opt webpack
Which will result in an optimized wasm file.