substrate-seminar icon indicating copy to clipboard operation
substrate-seminar copied to clipboard

[Topic Request]: Pallets vs. Contracts with Examples

Open sacha-l opened this issue 2 years ago • 0 comments

Description

This was requested on the last Seminar AMA.

I imagine this seminar being a live coding session of writing out the logic of a simple pallet to a smart contract. Then diving into what flexibility and performance pallets provide over contracts and vice versa for contracts, with concrete examples.

Other ideas to include:

  • Example of pallets do that can't be done in contracts and vice versa

Topic

Pallets vs. Contracts

Additional information

Original question posted:

Hello, I would like to see a seminar focused on the difference between pallets and contracts, and when to choose one or other to implement new things into our substrate chain. I know pallet are more for adding feature directly inside the blockchain logic, like for example adding new pallets by governance and runtime update, and contract is kinda more an other piece u build on top of the existing logic blockchain. What projects who would want to build on my chain should use for example ?

How advanced is this topic in terms of pre-requisite knowledge of Substrate?

Beginner friendly

sacha-l avatar Oct 02 '22 16:10 sacha-l