Basic WASM wallet demo using TypeScript and Rust for Rust Ethereum Day 2023.
s/o to @jxom for kicking off the Rust code.
Install wasm-pack
cargo install wasm-pack
Install and build dependencies
pnpm install
Run dev server on http://localhost:5173
pnpm dev
Command | Description |
---|---|
pnpm dev |
Run dev server |
pnpm build |
Build playground for production |
pnpm build:wasm |
Build wasm-wallet package |
pnpm clean |
Clean build outputs |
pnpm format |
Format code |
pnpm lint |
Lint code |
pnpm lint:fix |
Lint and fix code |
pnpm preview |
Preview production build |