mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-24 01:57:59 +00:00
Example: How to connect to parachain (#1043)
* parachain rpc lists * guide almost done * add the 3rd config * subscribe to block with configs * delete table file * spaces instead of tabs * remove original ajuna example * zombienet setup * nft minting example * include port, use different names * link the example from the book * format book * add config creation to book, simplify example structure * fix the nft creation script * fix doc ref * fixing links to foreign crates * fix table formatting * include nits * move more docs to book, and simplify parachain-example * another pass over docs and link to exampels from guide * nit: adjust comment to numbers * teeny README fix for parachain-example * fix command in readme * add CI for examples and fix parachain-example bug I left in * add target arch * cargo fmt * make CI not fail * remove index from docs --------- Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
@@ -1,15 +1,3 @@
|
||||
//! This is a small WASM app using the Yew UI framework showcasing how to use Subxt's features in a WASM environment.
|
||||
//!
|
||||
//! To run the app locally use Trunk, a WASM bundler:
|
||||
//! ```
|
||||
//! cargo install --locked trunk
|
||||
//! ```
|
||||
//! Run the app locally:
|
||||
//! ```
|
||||
//! trunk serve --open
|
||||
//! ```
|
||||
//! 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.
|
||||
//! Also make sure your browser supports WASM.
|
||||
use futures::{self, FutureExt};
|
||||
|
||||
use yew::prelude::*;
|
||||
|
||||
Reference in New Issue
Block a user