Hey everybody how you doing? My name is Ray, they call me the ray of light. And it's because I shine the light on this incredible future that we have in front of us. Today. Today we're going to talk about what is blockchain? A blockchain is a linked list of transactions stored on a network of computers, okay? blockchains are decentralized. Transactions are on a network of computers. And you hear the term nodes, right? They're called nodes. They're immutable. transactions cannot be changed. Once committed, they are irreversible. Right? There's nobody to call it Bitcoin. There's no Bitcoin support, or Bitcoin headquarters, okay? They're open. Transactions can be viewed by anyone. Another amazing thing about this ether scan for the Ethereum blockchain, you can look at a transaction at any time, any point, and any kind of transaction. It's all transparent. It's pretty incredible. Now let's get into how blockchains work. Right? Each block has a list of transactions, right? A hash, a long string of random characters for the block, the previous blocks hash, right? This is how the blocks are linked. It has to have the previous hash, all the other type of algorithmic code and all the other stuff like that, right. Let's take a look at how a transaction works on the blockchain. Suppose Joe Wright wants to send Lisa, one Bitcoin. Right let's let's let's look at that. You can even see like this is a public and a private key. We'll get into that in a little bit. First, both Joe and Lisa need to need crypto wallets. You both need crypto wallets, these wallets don't actually store crypto assets. Instead, they store two keys right there you see a public key links to an address that lets you send and receive transactions. Think of it as your email address. A private key proves that you own the tokens associated with your public address. Think of it as your email password. Since a private key is hard to remember, it's a long string of random numbers. While it's also give you a 12 to 24 word seed phrase, you shouldn't share your private key or seed phrase with anyone that is very important. Right? You have to remember that one right there. We've seen so many people get wrecked just because of that. You don't store it on your phone, you don't take a screenshot of it. You don't write it in a note in a notepad and then save it on your desktop. You don't save it you write it on a piece of paper and you keep it in a safe or the safety deposit box of the bank. Very important. Okay. Bob can send Lisa one bitcoin in three steps. Joe tells his wallet, I want to send one bitcoin from my public address to Lisa's public address. Joe signs this transaction based on his private key, this signature proves that Joe actually owns one Bitcoin. Joe's wallet sends the transaction to nodes on the blockchain. These nodes then verify the transaction using Joe's signature and public key a node groups job is transaction with other transaction into a block. It then works with other nodes to add the block to the blockchain. Lisa will see one bitcoin in a wallet only after all three steps are complete. A block can be added to the blockchain only if other nodes agree. Let's explore how nodes reach consensus. Next, it's pretty cool. Consensus mechanisms right to process transactions without middlemen. nodes need to be able to reach consensus themselves. They do this through two popular methods. Okay. One One is called Proof of Work. Nodes called miners compete to solve a math problem using brute force example rolling a dice 1000s of times to get the right number. The first miner that solves the problem gets to create the block. Other nodes check if the block is valid. If it is, the Miner is rewarded cryptocurrency if it's not the miner wasted their time and energy. All nodes add the new block to their copy of the blockchain proof of work uses energy because miners compete to solve math problems by building powerful machines that run 24/7. Let's look at the other one that's most common. It's called Proof of stake. Okay, proof of stake nodes called validators stake some cryptocurrency. A stake is like saying, I'll commit this amount of cryptocurrency to when the right to do this transaction. Okay, validators with more stake are more likely, but not guaranteed to be selected to process the transaction and create a block. Other validators check if the block is valid, if it is all participating validators earn a transaction fee. If it's not, the validator that created the block might lose its stake. All nodes add the new block to their copy of the blockchain. Okay. Now, proof of stake, proof of stake uses less energy than proof of work. Bitcoin uses proof of work and Aetherium is currently transitioning from proof of work, to proof of steak. There's something really neat this triangular thing in blockchain called the trilemma blockchains usually have a trade off between security decentralization and scalability, security, ability to defend from bugs and attacks, decentralization ability to support many nodes scalability ability to support a large volume of transactions okay for example, consider Aetherium and Solana blockchains as of December 2021, Salonpas, average transaction cost is point 000 to five with 1000. validator nodes. A theory is average transaction cost is $5.20 with 10,000 validator nodes 10,000 Plus actually, the more nodes there are, the less likely it is for a chain to become compromised. This video isn't about what chain is better. Just remember that there is a trade off and it exists. That's why sometimes you like I said you're gonna go and you're gonna you're gonna look at chains and blockchains differently. That's why you also see who's gonna be the winner and loser losers with their cryptocurrency but next and one of the next upcoming videos we're gonna cover Bitcoin the most popular cryptocurrency in the world right now. So thank you for watching. Check it out. Please subscribe, like and share this video. Have a good one. Transcribed by https://otter.ai