ea566663d4
* feat: partial wasm32 support * make compile for wasm32 * feat: att async-trait attr * make compatible with wasm * add type alias for archs * rustfmt * add wasm ci * make compile with wasm-pack test * make compile with wasm-pack test * make compile with wasm-pack test * make compile with wasm-pack test * ci: disable wasmpack * feat: use wasm timer delay * feat: add wasm provider * rustfmt * misc refactor * add wasm example * make example a directory * untrack error log * move profile to root * fix unused imports * ci: enable wasm-pack test * style: unify websocket implementations * fix: typos * fix: make policy compatible with wasm target * chore: do not include ethers-wasm example as top level workspace member * chore: modify wasm32 dependencies * chore: make note about getrandom Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
index.html | ||
index.js | ||
package.json | ||
webpack.config.js | ||
yarn.lock |
README.md
Example usage of ethers-rs from WASM
Install wasm-pack with
yarn install
Start a local ganache instance
yarn ganache
Then you can build the example locally with:
yarn serve
and then visiting http://localhost:8080 in a browser should run the example!