Leptos for Substrate node front-end

Is there any example of a substrate node made using Leptos?
Writing the front-end in Rust instead of typescript or Javascript
seems to be a good idea…
Kazu

this example is done with yew.rs but you’ll get the drill and easily adapt it to any other rs-frontend-framework.

to use rpc node instead running one locally you can set url to OnlineClient to get started.

let url = "wss://rpc.ibp.network/kusama";
let api = OnlineClient::<PolkadotConfig>::from_url(url).await?;
1 Like