Ed25519 Quirks
Single-page web app demonstrating some of Ed25519 peculiarities. Built with the Rust/WASM toolchain and Vue.
Running locally
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 18-LTS
and Rust 1.71+. 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.)
Testing
To run tests, use npm test
(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.
License
Licensed under Apache-2.0 license.