1

How can I make substrate node light as light client ? If we want to build a light client can it be possible to make changes in substrate node and make it a light client.

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Sep 7, 2022 at 7:45

1 Answer 1

1

The scope of your question is not clear to me. How "light" do you mean? Where should it run?
All substrate compatible chains or just Polkadot?

Did you have a look at substrate-connect or Smoldot.

4
  • Yes I want to design similar to smoldot , can I build using substrate node or to fork the smoldot repository and make changes to it Sep 8, 2022 at 10:20
  • The Substrate node does much more than a light client. For example it can author blocks or provide historic information. A light client does just a fraction of that; mainly following consensus through verifying proofs. The scope of your question is to open-ended to be answered precisely. Sure you can fork Smoldot if you want something similar. Sep 8, 2022 at 12:06
  • Ok how to connect smoldot to substrate based blockchain ? Sep 8, 2022 at 17:37
  • Exactly as written in the README: cd bin/wasm-node/javascript && npm i && npm start. Sep 8, 2022 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.