Web3 Terms

What is a blockchain?
Blockchain is an immutable, digital ledger that facilitates the process of recording transactions and tracking assets in a network; it is updated and shared across many computers in a network.

How does a blockchain work?
Each transaction that occurs is recorded as a “block” of data. Each block is connected to the ones before and after it, forming a chronological “chain” of data as an asset moves or ownership of an asset changes. The blocks confirm the exact time and sequence of transactions, and the blocks link securely together to prevent any block from being altered or a block being inserted between two existing blocks. Each additional block strengthens the verification of the previous block and hence the entire blockchain, making the blockchain immutable.

But how does it really work? Blockchain networks are driven by systems of aligned incentives. A well-functioning public blockchain requires a community of users, node operators, developers, and miners, who all play roles in a mutually beneficial network ecosystem. A blockchain is maintained by a distributed network of parties (“miners” or “validators,” depending on the kind of chain). These parties produce blocks jointly via consensus. In simple terms, the parties vote on how to process a set of transactions—or in other words, how to construct the next block. The block with majority support is the one that is written permanently onto the chain.

What are nodes?
Nodes are the “boots on the ground” of blockchain networks. They are the physical computer hardware that runs their respective platform’s blockchain software.  Nodes serve several critical functions:

  1. They vote on and validate blocks of transactions
  2. They communicate with other nodes to agree on the state of the blockchain
  3. They store the history (state) of the blockchain as a universal source of truth
  4. They are the endpoints of the network that enable users to access and interact with applications built on the network.

What is ~Ethereum~???
Ethereum is a decentralized, blockchain-based global supercomputer that launched in 2015 to serve as the foundation for an ecosystem of interoperable, decentralized applications (dApps) powered by token economies and automated smart contracts.

  • Assets and applications designed on Ethereum are built with self-executing smart contracts that remove the need for a central authority or intermediary.
  • The network is fueled by its native cryptocurrency ether (ETH), which is used to pay transaction fees on the network.
  • Open-source, programmable, private, and censorship-resistant, Ethereum forms the backbone of a decentralized internet, which has already spawned significant innovation like Initial Coin Offerings (ICOs), stablecoins, and decentralized finance (DeFi) applications.

What are smart contracts?
Smart contracts are programs (chunks of code) stored on a blockchain that automatically execute when predetermined conditions are met. Smart contracts are typically used to automate execution of an agreement so that all participants can be immediately certain of the outcome, without any intermediary’s involvement or time loss. Smart contract applications include everything from games to logistics tools to DeFi dapps.

What is composability?
Composability allows anyone in a network to easily build on top of and around existing products and services to devise new use cases; use cases that many did not know were possible until they were invented. (Think about Excel, and how chaining functions creates an enormous number of potential computational pipelines, add Excel’s power and flexibility grows with each additional function.) Ethereum’s composability has allowed users a high degree of freedom in being able to affect relatively complex transactions under one security framework, on one chain, and with relative ease.

What are gas fees?
Gas fees are essentially the transaction fee people pay to submit a transaction to the block. Gas fees go towards incentivizing miners to spend the money required, in the form of hardware and electricity, to solve the puzzle and create the block.
Gas fees are typically measured in GWEI:

  • Gwei is a denomination of ether, the native cryptocurrency of the Ethereum blockchain. 1 gwei is equal to 0.000000001 ETH.

Wallets & Keys

  • Wallet
    • Owning cryptocurrency requires using a crypto wallet to store your funds. A crypto wallet can be hosted online, or it can be software downloaded on your phone or computer or a specialized piece of hardware, among other options.
    • Regardless of the crypto wallet type, they all store public and private keys which control the associated crypto and allow you to send and receive cryptocurrency. Transactions are then completed on the blockchain using the keys held in your wallet.
    • Custodial vs. Non-custodial
      • Custodial: using a custodial wallet means the keys in your crypto wallet are controlled by someone else. These wallets are typically exchange or web-based wallets that you can access through your phone or desktop.
      • Non-custodial: A non-custodial crypto wallet enables you to control your private keys yourself, rather than delegating the job of securing the keys to a third party, like an exchange. This is considered more secure but requires you to take more responsibility.
  • Public Key
    • Your public key allows you to receive cryptocurrency transactions. It’s a cryptographic code that’s paired to a private key.
    • While anyone can send transactions to the public key, you need the private key to “unlock” them and prove that you are the owner of the cryptocurrency received in the transaction. The public key that can receive transactions is usually an address, which is simply a shortened form of your public key.
  • Private Key
    • A private key gives you the ability to prove ownership or spend the funds associated with your public address. NEVER share your private key with anyone. If you lose your private key, you lose your cryptocurrency forever.
    • If you keep cryptocurrency on an exchange (like Coinbase), then the exchange is the custodian of your private keys; you’re trusting it with your keys in the same way you’d trust a bank’s vault to hold your gold
      Learn more: Crypto Keys and Wallets

What are dApps?
Decentralized applications (dApps) are digital applications or programs that exist and run on a blockchain or P2P network of computers instead of a single computer, and are outside the purview and control of a single authority.
dApps are most commonly used for:

  • NFTs
  • DeFi
  • Gaming
  • Social
  • Exchanges
    Check out the most popular dApps on DappRadar

What are tokens?
At the simplest level, tokens are just code that lives on a blockchain. But unlike other forms of money, they’re digitally native, programmable, and secured by one’s crypto wallet and private key. Cryptocurrencies are just one type of token.

  • Fungible
    • Fungible tokens will be used to exchange goods, store value, and make collective decisions.
  • Non-fungible (NFT’s)
    • NFTs (Non-Fungible Tokens) are tokens that we can use to represent ownership of unique items. They let us tokenize things like art, collectibles, even real estate.
    • NFT’s can only have one official owner at a time and they're secured by a blockchain (Ethereum & Solana are the most popular) – no one can modify the record of ownership or copy/paste a new NFT into existence.
      Learn more: A Guide to Crypto Tokens (a16z)

What are DAOs?
A DAO (Decentralized Autonomous Organization) is a mechanism that enables online communities to form and coordinate economically. It is a new kind of digital and economic entity that runs as code and is owned and controlled by its members. DAOs make it possible for an online group with members from anywhere in the world to pool capital and hard-code rules — entirely in software — for how that capital will be managed and deployed. Those rules are then enforced by the underlying blockchain.

Consensus Mechanisms

Proof of Work

Under PoW, a distributed network of miners around the world race to solve increasingly difficult cryptographic problems in order to create a new block on the blockchain containing the new transactions. Solving these problems requires a lot of energy. When a block is entered into the blockchain, the transactions in it officially become part of the record. Miners who successfully create a block are rewarded with freshly-minted tokens and all of the transaction fees within the block.

Proof of Stake

Under PoS, participants (validators) deposit a certain number of native coins as stake into the network of validator nodes. If a node is chosen to validate the next block, they'll check that all the transactions within the block are valid. If everything checks out, the node signs off on the block and adds it to the blockchain. As a reward, the node receives the fees associated with the transactions inside the block and freshly minted tokens. If a validator approves fraudulent transactions, they’ll lose a part of their stake. As long as the validator’s stake is higher than what they receive from transaction fees, they can be trusted to correctly do their job. Proof of History  (technically not a consensus mechanism).

Proof of History

Proof of History uses cryptographic timestamps to sequentially order each transaction that occurs on Solana to provide verifiable ordering without requiring all nodes to agree simultaneously.
Learn more: PoW, PoS, PoH

What is staking?

Staking refers to the process of actively participating in transaction validation on a proof-of-stake (PoS) blockchain. In the context of Ethereum, stakeholders (called validators) contribute ETH to a staking pool in exchange for rewards in proportion to the size of their stake. The Ethereum network selects a winner based on the amount of ETH each validator has in the pool and the length of time they’ve had it there (rewarding the most invested participants). After the winner has validated the latest block of transactions, other validators can attest that the block is accurate; after consensus is reached, the blockchain is updated, and all participating validators receive a reward in ETH.

What is Yield Farming?

Yield farming is the practice of staking or locking up cryptocurrencies within a blockchain protocol to generate tokenized rewards. Many DeFi projects rely on yield farming to incentivize users to contribute to the network's liquidity and stability since these projects do not rely on a centralized market facilitator.

What is TVL (Total Value Locked)?
Total value locked (TVL) is a metric that measures the aggregate value of all crypto assets locked in decentralized finance (DeFi) protocols via smart contracts. TVL can also refer to the amount locked on a specific protocol (such as Aave or Uniswap).

What are stablecoins?
A stablecoin is a digital currency created with the intent of holding a stable value. The value of most existing stablecoins is tied directly to a predetermined fiat currency or tangible commodity. However, stablecoins can also achieve price-stability through collateralization against other cryptocurrencies or algorithmic token supply management.

What are sidechains?
A sidechain is an external secondary blockchain protocol that is connected to a primary blockchain network (mainchain).

Sidechains are typically designed to allow for the transfer of data and value between themselves and the mainchain, and oftentimes use a different consensus mechanism than the mainchain. As a result, sidechains can allow for a higher degree of flexibility and scalability, given that systems with a significant sidechain interoperability component are often designed to cater to a broader range of enterprise and individual users.

What is a bridge?
A bridge allows independent blockchains to communicate with each other.
Ex. On the Polkadot network, a bridge is used to attach parachains and the main Relay Chain to other external blockchain networks such as Bitcoin and Ethereum. Polkadot data transmits from its main Relay Chain to parachains, attached to which collator nodes assemble all the transactions

What is a fork?
A fork happens whenever a community makes a change to the blockchain’s protocol, or basic set of rules. When this happens, the chain splits — producing a second blockchain that shares all of its history with the original, but is headed off in a new direction.

Most digital currencies have independent development teams responsible for changes and improvements to the network (much in the same way that changes to internet protocols allow web browsing to become better over time), so sometimes a fork happens to make a cryptocurrency more secure, add functionality, or to resolve a disagreement within the community about the cryptocurrency’s direction.

  • Soft fork: Think of a soft fork as a software upgrade for the blockchain. As long as it’s adopted by all users, it becomes a currency’s new set of standards. Because the end result is a single blockchain, the changes are backward-compatible with the pre-fork blocks.
  • Hard fork: A hard fork happens when the code changes so much the new version is no longer backward-compatible with earlier blocks. In this scenario, the blockchain splits in two: the original blockchain and new version that follows the new set of rules. This creates an entirely new cryptocurrency – and is the source of many well-known coins.

What is sharding?
Sharding is a mechanism that is used to partition a blockchain network or other type of computer network or database. Its purpose is to distribute the network's computational and storage workload across a broader set of devices, or nodes, in order to increase the throughput and transaction speed of the entire system.

What are Layers 1 and 2?

Layer 1’s

  • A Layer-1 blockchain (also known as the parent chain or root chain) is typically a name used to describe a main blockchain network protocol such as Ethereum or Bitcoin.. Layer-1 blockchains are simply the main network that a Layer-2 scaling solution attaches to in order to improve the scalability and transaction throughput of the main chain, or Layer 1.
  • The name Layer 1 comes from its relationship with Layer-2 scaling solutions such as state channels, rollups, nested blockchains, and plasma side chains

Layer 2

  • Layer-2 protocols are specifically designed to integrate with the underlying blockchain to improve the transaction throughput. They rely on the consensus mechanism and security of the main chain.
    • Ex. Immutable X is a Layer-2 scaling solution for NFTs on Ethereum. It allows developers to build marketplaces, games, apps, and more. While Ethereum handles only about 15 transactions per second and suffers from high-gas fees, an L2 solution like Immutable X handles 9,000 transactions per second with zero gas fees. It leverages Ethereum’s well-developed security, connections, and ecosystem to help developers.

Layer 2 Scaling Solutions

Roll-ups
In short, Rollups are solutions that perform transaction execution outside Layer 1 but make transaction data available on Layer 1. By moving computation off chain, they free up more space on-chain. Onchain data availability is crucial, since it allows Ethereum to double check the integrity of rollup transactions.

  • ZK roll-ups
    • ZK-rollups are one of many Layer 2 scalability solutions and work by rolling up mass transfer processing into a single transaction. ZK roll-ups use zero-knowledge succinct non-interactive arguments of knowledge (zk-SNARKs) to validate transactions. Zk-snarks refer to a proof construction where one can provide proof of certain information, e.g. a secret key, without revealing that information itself, and without any interaction between the prover and verifier.
    • ZK = “Zero Knowledge”...As a "zero knowledge proof" approach is used to present and publicly record the validity of the block on the Ethereum blockchain, ZK reduces computing and storage resources for validating the block by reducing the amount of data held in a transaction; zero knowledge of the entire data is needed.
  • Optimistic roll-ups
    • In optimistic rollups, batches of transaction data are posted to the main chain and presumed to be valid (optimistic) but can be challenged. Theoretically, anyone can challenge them by submitting a claim, also known as fraud proof, to prove that a batch committed to the chain contained invalid state transitions. If the fraud proof is valid, these invalid state transitions would be rolled back
    • The challenge with optimistic roll-ups, from a usability perspective, is that batches posted to the main chain can be disputed for several days (typically 1 week) during which funds on these Layer 2s cannot be withdrawn back to the main chain - this means Layer 2 users are not liquid.

Plasma & Validium

  • Plasma
    • Plasma is a construction scalability method that places layer 2 blocks on top of the Ethereum blockchain in the form of a side chain. The implementation of Plasma gives the ability of hundreds of side chain transactions to be processed offline with only a single hash of the side chain block being added to the Ethereum blockchain. The problem with Plasma is that for a user to withdraw from the side chain, they must retain a high amount of data so that enough exists for validation; a lengthy challenge period also requires users to stay online or lose reward.
  • Validium
    • Validium works very similar to ZK rollups except data is stored offchain. Since transaction data is not published on-chain, this introduces new trust assumptions as users must trust an operator to make data available when it is needed. This is typically achieved through a committee of known entities who stake their business reputation on being reliable data providers. If an L2 node operator stops servicing withdrawal requests, this committee will make its copy of the data publicly available.
Subscribe to Deb
Receive the latest updates directly to your inbox.
Verification
This entry has been permanently stored onchain and signed by its creator.