Skip to content
Closed
Prev Previous commit
Next Next commit
Update content/md/en/docs/tutorials/light-clients/parachains.md
Co-authored-by: Nikos Kontakis <[email protected]>
  • Loading branch information
bernardoaraujor and wirednkod authored Jun 15, 2022
commit f571e668af2030141e806eb13e185e896a9b2a51
2 changes: 1 addition & 1 deletion content/md/en/docs/tutorials/light-clients/parachains.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ window.onload = () => {

This code is very similar to the previous one. The main differences are
- we are loading `statemint.json` into the `parachainSpec` variable.
- we are creating a `relayProvider` object for the Relay chain, and using it in the construction of the `provider` object for the Parachain, along with `parachainSpec`.
- `ScProvider` is created for relay chain but without connecting (since we will not be communicating with the relay chain). This is needed as a parameter when creating the Parachain's provider as an extra parameter. Rpc Provider of substrate-connect need this, in order to connect the parachain to the respective relay chain.

In the directory of the webapp, run the following again:

Expand Down