Getting Started with IOTA and WebAssembly(WASM)
The full article was originally published by Huhn on Medium. Read the full article here.
Today, a prealpha version of the official WASM binding to IOTA’s Rust API was released, let’s try it out!
I’ve set up a demo, where we generate an address with the iota.rs-wasm in the web browser. To see, why they did a WASM binding this — we also generate an address with the IOTA.js library and compare the calculation time.
Just clone the repo, install dependencies and open the index.html file in your browser.
git clone https://github.com/rust-iota/iota-wasm-demo cd iota-wasm-demo npm install npm run dev
Open browser http://localhost:8080/ and your developer console.