Files
pezkuwi-subxt/examples/wasm-example
Tadeo Hepperle 6c8d878eee Remove substrate-compat default feature flag (#1078)
* remove defautl feature, add target cfg, change CI job waml

* adjust CI job

* Adjust docs

* adjust the CI job

* add wasm targe to ci again

* remove the unresolved links from the book

* Update subxt/src/book/usage/transactions.rs

---------

Co-authored-by: James Wilson <james@jsdw.me>
2023-07-21 18:10:05 +01:00
..
2023-06-23 15:27:39 +03:00
2023-05-26 11:14:49 +02:00
2023-05-26 11:14:49 +02:00

wasm-example

This is a small WASM app using the Yew UI framework to showcase how to use Subxt's features in a WASM environment.

To run the app locally we first install Trunk, a WASM bundler:

cargo install --locked trunk

You need to have a local polkadot/substrate node with it's JSON-RPC HTTP server running at 127.0.0.1:9933 in order for the examples to be working. If you have a polkadot binary already, running this should be sufficient:

polkadot --dev

Then, in another terminal, run the app locally with:

trunk serve --open