Hack. Eat. Sleep. Repeat!!!
Satoshi Nakamoto described that Bitcoin will be facilitated by peer to peer transactions over a decentralized networked with cryptography.Smart contracts are a set of instructions executed in a decentralized way without the need for a centralized or third party intermediary.Ethereum and Bitcoin.Technically Bitcoin does have smart contracts but theyâre intentionally turing incomplete.Oracle Problem.Blockchain works on data within their ecosystem and to make the compute real world data, real world data are required.Uniswap.SBF FIX company which presented itself as a WEB3 company but a web2 one under the hood which used cryptocurrency without smart contracts.Virtual Testnet on dashboardfaucet is required to get free tokens.Transaction fee = gasPrice * gasUsed.block is divided into block,nonce and data.All three are then run through the hash algorithm, producing the hash for that block. As a result, even a minor change in the data leads to an entirely different hash, hence, invalidating the block.In essence, mining involves the computational trial and error process of finding an acceptable value to produce a hash which typically follows a certain pattern, such as starting with four zeros. The value found, which satisfies this criterion, is known as the ânonceâ.Genesis Block.Wei: 1,000,000,000 Wei = 1 Gwei (Gigawei)
Gwei: 1,000,000,000 Gwei = 1 Eth
Gas Limit: This is the maximum amount of gas allowed for the transaction. This can be set by the user prior to sending a transaction.
In the traditional world applications are run by centralized entities and if that entity goes down or is malicious or decides that they want to shut off - they just can.Blockchains, by contrast, donât have this problem. If one node or one entity that runs several nodes goes down, since there are so many other independent nodes running, it doesnât matter, the blockchain and the system will persist so long as there is at least one node always running. Luckily for us, the most popular chains like Bitcoin and Ethereum have thousands and thousands of nodes. Malicious nodes are kicked from the network, or even punished in some cases. Majority rules when it comes to the blockchain.
Proof of work and Proof of Stake, they both fall under consensus.Consensus is defined as the mechanism used to reach an agreement on the state or a single value on the blockchain especially in a decentralized system.chain selection rule is implemented as a means to determine which blockchain is the real blockchain. Bitcoin (and prior to the merge, Ethereum), both use something called Nakamoto Consensus. This is a combination of Proof of Work (Etherum has since switched to Proof of Stake) and the longest chain rule.Chainlink or Arbitrum.Layer 1(L1) is the base layer of the blockchain that allows nodes to reach consensus. It operates without any additional plugins and is often referred to as the settlement layer.Examples of L1 chains include Bitcoin, BNB Chain, Solana, and Avalanche. In this course, we primarily focus on Ethereum, which serves as the hub of the Ethereum ecosystem. Applications directly deployed on Ethereum, like Uniswap, are not considered L2s but rather dApps on L1.Layer 2(L2) are built outside the L1 blockchain that hooks back into it.There are different types of Layer 2, for example Chainlink, a decentralized Oracle networks and event indexing networks like The Graph, which enable applications to access on-chain data. But the most popular type of L2 is the rollup, or L2 chain.