JoshOrndorff / recipes

A Hands-On Cookbook for Aspiring Blockchain Chefs
GNU General Public License v3.0
378 stars 187 forks source link

Explain how to interact with pallets #316

Closed herou closed 4 years ago

herou commented 4 years ago

Initially, I was asking myself how can I execute a pallet. So I did not know on Polkadot.js exists an extrinsic section where I could execute all the pallets written and I did not know either that exists a chain state in which can be seen what has been stored in the storage. May I am the only one who has had this issue at the beginning but we should understand that people come from different technologies and not everybody is familiar with blockchain.

wheresaddie commented 4 years ago

May I am the only one who has had this issue at the beginning but we should understand that people come from different >technologies and not everybody is familiar with blockchain.

Hi @herou thank you for your input and experience. This is something we as the dev team are currently revising and input like this is really valuable. If you have any more, we are all ears. . :+1:

JoshOrndorff commented 4 years ago

Thanks for the issue @herou It sounds like the issue is that we didn't sufficiently explain how to interact with pallets before expecting you to do it. I agree this can be improved.

Ultimately we will probably need a tutorial called something like "interact with a runtime using Polkadot JS" that should live in the devhub. But for now I'll leave this issue here.

JoshOrndorff commented 4 years ago

The devhub team talked about this and decided the recipes is not the place to explain these interact-with-substrate skills. So rather than add the instructions here, in #337 I've removed all the basic instructions from the recipes, and linked to relevant prerequisites in other places.

Interacting with a pallet using Polkadot JS Apps is not yet covered well, so I opened https://github.com/substrate-developer-hub/substrate-developer-hub.github.io/issues/639