• Discover
  • Partner with us
  • Chapters
  • Blog

Transition to Web3 - Course 3 | How Smart Contracts Work

A decentralized computer system
✨Connect Your Profile to Open Campus
Adding code into blocks
Adding code into blocks - Demo
Triggering smart contracts
Triggering smart contracts - Demo
Trigger transactions are added to the next block
Trigger transactions are added to the next block - Demo
Miners execute the code when mining
Miners execute the code when mining - Demo
Virtual machines run the code
What does it cost to run smart contracts?
Transaction fees - Demo
What happens when the code is executed?
1️⃣ Smart contracts creating a new transaction - Demo
2️⃣ Smart contracts updating the state - Demo
Recap
Big picture: advantages of decentralization
Big picture: what is possible with smart contracts?
Big picture: limitations of smart contracts

🎉 Congratulations—we have the building blocks of a decentralized computing system!

Let’s go over what we’ve done so far:

  • We wrote a code (“smart contract”) and put it into a block.
  • All nodes have a copy of this code since they have a copy of all blocks. This made our code “decentralized.”
  • If a user wanted to trigger our code, they had to let all nodes know. This trigger was also included in blocks! 
  • The nodes have their own virtual computer that allowed them to run the code before the trigger is mined and added to the blocks.
  • When the code was run, we had several outcomes like new transactions and states. These were also added in new blocks.

✍️ Summary: The code itself, its execution transaction, and all the results of the execution are now in a blockchain. Mind-blowing, right?

Previous
Next

Lesson discussion

Swap insights and ask questions about “Transition to Web3 - Course 3 | How Smart Contracts Work”.

Enroll to participate
Start the course to unlock the discussion. Enrolling helps us keep conversations relevant to learners.
WebsiteDiscoverPartner with UsBlogEvents
Discover
CoursesCircleRustSoliditySolanaWeb3 FundamentalsBlockchain Basics
CompanyAbout UsBrand GuidelineFAQsTerms of UsePrivacy PolicyGDPR NoticeCookies
Don't miss any update!

Disclaimer: The information, programs, and events provided on https://risein.com is strictly for upskilling and networking purposes related to the technical infrastructure of blockchain platforms. We do not provide financial or investment advice, nor do we make any representations regarding the value, profitability, or future price of any blockchain or cryptocurrency. Users are encouraged to conduct their own research and consult with licensed financial professionals before engaging in any investment activities. https://risein.com disclaims any responsibility for financial decisions made by users based on the information provided here.

© 2026 Rise In, All rights reserved