Arkworks and WASM meet StarkNet

This demo shows how you can use Rust and the arkworks ecosystem to write webapps that perform cryptography compatible with StarkNet.

Following the steps below, you will be prompted to generate a key pair, sign a message and submit it to our StarkNet contract for verification. This final step requires an Argent X wallet (only compatible with Chrome and Firefox).

All the code performing cryptography was written in Rust using arkworks and our implementation of the StarkNet finite field and the STARK-friendly elliptic curve. The code is then compiled to WebAssembly to be executed in browser. Check out the repo to see how this is done!