Imagine that I'm going to sell a house to my friend and he gives me a downpayment on the house before he gets ownership of the property.
What's stopping me from running away to Antarctica and using the down payment for a luxury igloo ๐?
My friend has to either trust me, or we go to a 3rd party(like escrow) which locks the downpayment until I give my friend the keys.
What happens if the 3rd party runs away with the money?
We can't really trust strangers, nor enforce a contract as that takes a lot of money.
2. Our Savior ๐
With the blockchain, we write a few lines of code and deploy a contract which handles the down payment.
Both the sides can check the logic to make sure there isn't anything sus ๐.
Once deployed, the contract can't be changed and the house can be sold safely
3. How does this work ๐ค?
The blockchain uses a ledger(record) to store the transactions.
The ledger isn't stored in a secure underground server in the middle of anatartica, as that would not be decentralised.
It's shared across computers which have a copy of the ledger.
Each computer or node stores data and executes computations.
Whenever a new transaction is done, each node verifies and secures it.
A group of transactions form a block which is then added to the blockchain.
Think of the blockchain as a book, and each block as a page.
All the transactions are hashed using cryptography
Therefore, if you change even a letter, the has changes.
Each hash stores the previous hash, so the entire chain breaks if a hash is changed.
The blockchain is like a linked list. Those hours of interview prep are now useful.
TLDR;
Blockchain is:
1. Decentralized - no central authority 2. Transparent - Anyone can see the records 3. Secure - It's hard to change the data due it's decentralisation 4. Immutable - Can't be changed once it's added
If you liked this tweet and learned something new, don't forget to like and retweet it so it reaches more people ๐.
Also, follow me on twitter for more such info on crypto and web development ๐
โข โข โข
Missing some Tweet in this thread? You can try to
force a refresh
โ Network with people and make new friends
โ Accommodate to large codebases faster
โ Attractive Github Profile = Job Opportunities
I'm not asking you to dig into react internals. You can work on simple things. Here's a thread ๐งต๐
1. Finding Repos
Unlike other articles who ask you to contribute to large repos like Typescript, React, Node etc, there's no shame in contributing to smaller libraries.
It can be as simple as adding a quick start tutorial to the docs, or migrating a component to typescript ๐
Assume you tried to learn redux toolkit, but you felt the quickstart guide was confusing so you had to refer to some articles online.
Now that you understand what it does, go back to the quickstart and see what it lacked.
Take notes, and we'll use it in the next step ๐