From the course: What Is Web3?
Unlock the full course today
Join today to access over 24,100 courses taught by industry experts.
What is a smart contract? - Blockchain Tutorial
From the course: What Is Web3?
What is a smart contract?
- [Narrator] Smart contracts have become a central feature in the vision of Web 3. Whereas a crypto coin or token is a passive asset, a smart contract added to the token makes it an active agent on the blockchain. A smart contract is a self-executing function embedded in a token that performs actions on the blockchain based on other transactions and events taking place on the blockchain. Here's a basic example. Our food truck festival sells NFTs giving holders access to VIP cooking classes. But since an attendee is likely to want to attend a cooking class only once, there's a high chance that attendee will sell the NFT or trade it with someone else after using it. To ensure this doesn't become a situation where one NFT is used by a long list of people without the festival earning any profits, the NFT contains a smart contract that sends 15% of the purchase price of the NFT back to the festival anytime the NFT is traded.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
What is a blockchain?2m 39s
-
(Locked)
What is a block?2m 43s
-
(Locked)
What is a decentralized blockchain?2m 22s
-
(Locked)
What is a consensus mechanism?3m 5s
-
(Locked)
What is (crypto) mining and forging?2m 17s
-
(Locked)
What is proof of work (POW)?3m 44s
-
(Locked)
What is proof of stake (POS)?1m 58s
-
(Locked)
What is a cryptocurrency?3m 18s
-
(Locked)
What are tokens and coins?3m 14s
-
(Locked)
What is an NFT?5m 9s
-
(Locked)
What is a crypto wallet?4m 51s
-
(Locked)
What is a smart contract?2m 27s
-
(Locked)
What is a DAO (decentralized autonomous organization)?4m 8s
-
-