Polkadot-Blockchain-Academy / pba-content

An intensive academic program teaching Blockchain, Substrate, and Polkadot.
https://polkadot-blockchain-academy.github.io/pba-content/
MIT License
55 stars 27 forks source link

New Lesson: FRAME: Smart Contracts Revisited #633

Open JoshOrndorff opened 1 year ago

JoshOrndorff commented 1 year ago

At the UCB wave, the smart contracts module is moved from the end of the course, to much earlier before Substrate is even encountered. Students will still learn about smart contract concepts, how to code contracts in solidity and ink! and how to use contracts in a blockchain context.

However, they will not be prepared to learn about "pallet contracts" or "frontier" or pallets that implement contracting platforms because they won't know any of that Substrate or FRAME stuff.

I suggest we add a new 45-60ish min lesson during the FRAME module where we revisit the concept of smart contracts and show how both the evm and wasm contracting platforms that they used earlier in the course are in fact implemented as FRAME pallets. Then look at them again through that lens. What are their config types, storages, extrinsics...

@shawntabrizi if you are open to this lesson being taught, @notlesh and I can own the preparation and presentation.

shawntabrizi commented 1 year ago

My initial impression is that this would be a fine after class or weekend activity, but probably should not have it push out other FRAME material or scheduled class time.