• 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

👉 Miners use their computational resources—mostly time and memory—to execute smart contracts. The user that wants to execute that contract pays a “transaction fee” to the miner in exchange for their computational resources. 

👉 The amount of the transaction fee can vary depending on the complexity of the transaction. A complex smart contract with many operations consumes more computational resources, so it requires a higher transaction fee. 

👉 Transaction fees help with two things:

  1. Incentivizing miners. It helps to ensure that a blockchain remains decentralized by incentivizing miners to get paid and participate in the network. 
  2. Preventing spam and abuse. Requiring a fee to run the code deters spam accounts from sending too many transactions to the network.

🧠 Reminder: The Bitcoin network incentivizes miners by letting them create new bitcoins and transfer them to their own accounts. The goal here is similar. But this time, the user that wants to run the code has to pay the fee, which is in the form of the blockchain's native cryptocurrency. 

💅 Fun fact: The transaction fee is called different things for different blockchains. Ethereum and Cosmos use the label of “gas fee” while Solana calls it “rent.” 

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