ethers-rs/examples/ethers-wasm
Matthias Seitz 19d2fd1155
feat(solc): add configurable Artifact type (#907)
* refactor: make artifacts a sub mod

* feat: more options for output selection

* feat(solc): make ArtifactOutput struct functions

* fix: migrate all features

* feat: add configurable artifacts type

* refactor: move configurable to separate file

* feat: impl ArtifactOutput

* refactor: write extras

* simplify write extra

* feat: more helper functions

* feat: implement delegate

* fix: failing doc test

* fix: rustfmt

* chore: update CHANGELOG

* feat: add helper functions

* refactor: remove flatten

* feat: add link function

* feat: replace default type

* fix: doc tests

* feat: more utility functions

* fix: failing tests

* chore: rename types

* chore: bump ethers-solc 0.3.0

* fix: set metadata file extension properly
2022-02-17 17:31:35 +02:00
..
src fix: make ethers-wasm workspace member (#642) 2021-12-03 19:27:55 +02:00
tests fix: make ethers-wasm workspace member (#642) 2021-12-03 19:27:55 +02:00
.gitignore feat: wasm support (#390) 2021-08-23 12:56:44 +03:00
Cargo.toml feat(solc): add configurable Artifact type (#907) 2022-02-17 17:31:35 +02:00
README.md feat: wasm support (#390) 2021-08-23 12:56:44 +03:00
index.html feat: wasm support (#390) 2021-08-23 12:56:44 +03:00
index.js feat: add wasm http provider support (#403) 2021-08-24 01:28:05 +03:00
package.json feat: add wasm http provider support (#403) 2021-08-24 01:28:05 +03:00
webpack.config.js feat: add wasm http provider support (#403) 2021-08-24 01:28:05 +03:00
yarn.lock chore(deps): bump follow-redirects in /examples/ethers-wasm (#912) 2022-02-14 19:19:35 +02:00

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!