3

Can we make browser extension with substrate and yes and how ?

can anyone please provide the resource to read about it ?

4
  • do you mean you want to fork the polkadot-js extension? Or do you mean you want to interact with the extension? Jan 6 at 15:47
  • Have a look at smoldot github.com/paritytech/smoldot Jan 6 at 15:51
  • @Decentration Actually I want to built my own custom extrinsic with substrate. can I do it ? Jan 6 at 17:54
  • you can do it for sure, i guess you just need to start somewhere simple to develop the learning and practice to get into a feedback loop. Best place to start is the substrate.dev exercises related to setting up local chain. Then to make an extrinsic you would need to create your own pallet. This takes some learning time and practice if you are new to it. Between 6 to 18 months is a rough guess. Jan 6 at 18:01

1 Answer 1

2

Yes, you can. You can take a look for inspiration of two of the most populars browser extensions PolkadotJS Extension and Talisman.

To build it yourself and connect to Substrate-base chains in a decentralized way, I recommend you to use the package Substrate Connect

For Substrate-based chains, the light client node is implemented as a WebAssembly client—called smoldot—that can run in a browser and interact with the chain using JSON-RPC calls. To make the smoldot WebAssembly light client easier to integrate with JavaScript and TypeScript applications, there's a JavaScript package that's built on top of the smoldot source called Substrate Connect.

For more information you can:

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.