Single-page web app demonstrating some of Ed25519 peculiarities. Built with the Rust/WASM toolchain and Vue.
You will need to install a Node / npm toolchain (preferably via a manager like nvm
)
and a Rust toolchain (preferably via rustup
). Both toolchains should be recent; i.e., Node 20-LTS
and Rust 1.75+. You should also install wasm-pack
.
To (re)build the WASM file and its JS bindings, execute
npm run build:wasm
To serve the app locally with the Webpack dev server, run
npm start
(You may need to build WASM first, it's not done automatically.)
To run tests, use npm run test:js
(for front-end tests) and npm run test:wasm
(for WASM tests).
Be aware that the test-wasm
command requires specifying browsers used for testing as flags
(e.g., -- --firefox
).
Consult package.json
for the full list of linting and testing commands.
Note that Rust-related linting requires additional components (fmt
and clippy
) installed as a part
of the relevant toolchain.
Licensed under Apache-2.0 license.