Lesson 1
Blockchain Basics: Distributed Ledger, Hashing and PoW vs PoS
A blockchain is a distributed ledger of blocks linked by cryptographic hashes, which makes the transaction history tamper-evident. Consensus mechanisms such as Proof of Work and Proof of Stake let untrusting nodes agree on the ledger's state.
Distributed ledger
- Many nodes hold copies of the ledger instead of relying on a central authority.
- Transactions are grouped into blocks, and each block stores the hash of the previous block.
- Changing an old block changes its hash and breaks every later link, which makes tampering evident.
Hashing
- A hash function maps any input to a fixed-size output (e.g. SHA-256 gives 256 bits).
- Properties: deterministic, fast to compute, pre-image resistant, collision resistant, avalanche effect.
- A Merkle root summarises all the transactions in a block.
Proof of Work
- Miners vary a nonce until the block hash is below a target, i.e. starts with enough leading zeros.
- Finding a valid hash is hard, but checking it is easy.
- The longest (most-work) chain wins, so an attack needs more than 50% of the hash power.
- Used by Bitcoin; it is energy-intensive.
Proof of Stake
- Validators lock up (stake) coins and are chosen to propose or attest blocks in proportion to their stake.
- Misbehaviour is punished by slashing the stake.
- It is far more energy-efficient than PoW; used by Ethereum since 2022.
Key terms
- Distributed ledger
- A database replicated and synchronised across many nodes.
- Hash function
- A one-way function producing a fixed-length digest of the data.
- Nonce
- A number that miners vary to find a valid PoW hash.
- Proof of Work
- Consensus based on expending computational effort.
- Proof of Stake
- Consensus where validators are selected by the coins they stake.
- Slashing
- Confiscation of stake as a penalty for dishonest validation.
Lesson 2
Bitcoin, Ethereum and Crypto Wallets Explained
Bitcoin is the first decentralized cryptocurrency, designed as peer-to-peer digital money secured by proof-of-work mining. Ethereum extends blockchain into a programmable platform that runs smart contracts, and wallets manage the private keys that control crypto assets.
Bitcoin
- Launched in 2009 by the pseudonymous Satoshi Nakamoto after the 2008 whitepaper.
- Purpose: peer-to-peer electronic cash without banks or central authorities.
- Fixed supply cap of 21 million BTC; new coins issued as block rewards that halve roughly every four years (the halving).
- Secured by proof-of-work: miners compete to solve hash puzzles; blocks average about 10 minutes.
- Often described as 'digital gold' and used as a store of value.
Ethereum
- Launched in 2015 (Vitalik Buterin and co-founders); native currency is ether (ETH).
- A programmable blockchain: runs smart contracts on the Ethereum Virtual Machine (EVM).
- Transaction fees are paid in 'gas', priced in ETH, to pay for computation.
- Switched from proof-of-work to proof-of-stake in 2022 ('The Merge'), cutting energy use dramatically.
- Hosts tokens (e.g. ERC-20), NFTs, DeFi and decentralized apps (dApps).
Crypto Wallets
- A wallet stores private keys, not coins; the coins live on the blockchain.
- Public key/address: shared to receive funds. Private key: signs transactions and must be kept secret.
- Seed (recovery) phrase: 12-24 words that can regenerate all keys; whoever has it controls the funds.
- Hot wallets (online apps, browser extensions) are convenient but more exposed to hacks.
- Cold wallets (hardware devices, paper) are offline and more secure for long-term storage.
- Custodial wallets (e.g. exchanges) hold keys for you; non-custodial wallets give you full control: 'not your keys, not your coins'.
Key terms
- Proof-of-work
- Consensus mechanism where miners expend computation to add blocks.
- Proof-of-stake
- Consensus mechanism where validators lock up (stake) coins to propose and validate blocks.
- Halving
- Periodic 50% cut in Bitcoin's block reward, about every 210,000 blocks.
- Gas
- Fee unit paying for computation on Ethereum.
- Private key
- Secret number that authorizes spending from an address.
- Seed phrase
- Word list used to back up and restore a wallet's keys.
- Cold wallet
- Wallet whose keys are kept offline.
Lesson 3
Smart Contracts, DeFi, NFTs and Tokenization
Smart contracts are self-executing programs on a blockchain that enforce agreements automatically. They power decentralized finance (DeFi), non-fungible tokens (NFTs), and the tokenization of real-world and digital assets.
Smart Contracts
- Code deployed on a blockchain that executes automatically when conditions are met (if X, then Y).
- Deterministic, transparent and usually immutable once deployed.
- Remove the need for a trusted intermediary to enforce terms.
- Need oracles (e.g. Chainlink) to bring off-chain data such as prices onto the chain.
- Risks: bugs and exploits are hard to fix after deployment, so audits matter.
Decentralized Finance (DeFi)
- Financial services built from smart contracts instead of banks.
- Decentralized exchanges (DEXs) like Uniswap use automated market makers and liquidity pools.
- Lending/borrowing protocols (e.g. Aave) use over-collateralized loans.
- Stablecoins (e.g. USDC, DAI) keep value pegged to a currency like the US dollar.
- Composable ('money legos'), permissionless and open 24/7; risks include hacks, impermanent loss, liquidation and regulation.
NFTs
- Non-fungible tokens: unique tokens that are not interchangeable one-for-one.
- Common standards: ERC-721 (unique) and ERC-1155 (multi-token) on Ethereum.
- Represent ownership of digital art, collectibles, game items, tickets, memberships.
- Usually the token points to metadata/media stored elsewhere (e.g. IPFS); owning an NFT does not automatically grant copyright.
Tokenization
- Representing rights to an asset as tokens on a blockchain.
- Fungible tokens (e.g. ERC-20) are interchangeable; NFTs represent unique items.
- Real-world assets (real estate, bonds, art, commodities) can be tokenized.
- Benefits: fractional ownership, faster settlement, 24/7 trading, more liquidity and transparency.
- Challenges: legal enforceability, regulation (securities law), custody and reliable off-chain links.
Key terms
- Smart contract
- Self-executing program on a blockchain that enforces agreement terms.
- Oracle
- Service that supplies external real-world data to smart contracts.
- DeFi
- Financial services run by smart contracts without central intermediaries.
- Liquidity pool
- Pooled tokens locked in a contract that enable trading or lending.
- Stablecoin
- Token designed to hold a stable value, usually pegged to a fiat currency.
- NFT
- Unique, non-interchangeable token proving ownership of a specific item.
- Tokenization
- Converting rights to an asset into blockchain tokens.
- Fungible
- Interchangeable unit for unit, like one dollar for another.
Lesson 4
Enterprise Blockchain Use Cases
Enterprises use blockchain, usually permissioned networks, to share trusted, tamper-evident records among multiple organisations. Strong use cases include supply chain traceability, trade finance, cross-border payments, healthcare data and digital identity, but blockchain only fits where multiple parties need shared data without a single trusted intermediary.
Enterprise Blockchain Basics
- Usually permissioned/private or consortium networks where known participants are vetted.
- Platforms: Hyperledger Fabric, R3 Corda, Quorum/enterprise Ethereum.
- Value: shared single source of truth, immutability/audit trail, reduced reconciliation, automation via smart contracts.
- Permissioned networks offer privacy, higher throughput and regulatory compliance compared with public chains.
Major Use Cases
- Supply chain: track provenance of goods, e.g. food traceability (IBM Food Trust with Walmart cut tracing time from days to seconds).
- Trade finance: digitize letters of credit and bills of lading to reduce paperwork and fraud.
- Cross-border payments and settlement: faster, cheaper transfers between banks (e.g. JPMorgan's Onyx, RippleNet).
- Healthcare: secure sharing of records, drug supply-chain integrity against counterfeits.
- Digital identity and credentials: verifiable, tamper-proof certificates and KYC sharing.
- Others: insurance claims automation, energy trading, tokenized securities, government registries (land titles).
When Blockchain Fits (and When It Doesn't)
- Good fit: multiple parties, no single trusted party, need for shared, tamper-evident records and audit.
- Poor fit: a single organisation controls the data; a traditional database is cheaper and faster.
- Challenges: interoperability, scalability, integration with legacy systems, governance among consortium members, regulation.
- 'Garbage in, garbage out': blockchain cannot verify that off-chain data entered is true.
Key terms
- Permissioned blockchain
- Network where only authorised, known participants can join and validate.
- Consortium blockchain
- Network governed jointly by a group of organisations.
- Provenance
- Verified record of an item's origin and history.
- Hyperledger Fabric
- Open-source permissioned blockchain framework for enterprises.
- Reconciliation
- Process of matching records between parties, reduced by a shared ledger.
Lesson 5
Crypto Tax in India: 30% Tax, 1% TDS, PMLA and Risks
India taxes virtual digital assets (VDAs) such as crypto under a strict regime introduced by Finance Act 2022: a flat 30% tax on gains (plus surcharge and cess) and 1% TDS on transfers. Since March 2023, VDA service providers are also covered by the Prevention of Money Laundering Act (PMLA), and investors face significant market, regulatory and security risks.
30% Tax on VDA Income (Section 115BBH)
- Applies from 1 April 2022 (FY 2022-23) to income from the transfer of virtual digital assets.
- Flat 30% rate plus applicable surcharge and 4% cess, regardless of income slab or holding period.
- No deduction is allowed except the cost of acquisition. Expenses such as fees or infrastructure costs cannot be deducted.
- Losses from VDAs cannot be set off against other income or other VDA gains, and they cannot be carried forward.
- Gifts of crypto may be taxable in the recipient's hands under the gift provisions.
1% TDS (Section 194S)
- Effective from 1 July 2022.
- 1% TDS is deducted on payments for the transfer of VDAs above thresholds: Rs 50,000 a year for specified persons and Rs 10,000 otherwise.
- Exchanges usually deduct it. Its purpose is to create a trail of transactions.
- The TDS can be claimed as a credit when filing the income tax return.
- VDA income is reported in Schedule VDA of the ITR.
PMLA Coverage
- A March 2023 notification brought VDA service providers under PMLA as 'reporting entities'.
- Covered activities include exchange between VDAs and fiat, exchange between VDAs, transfer, safekeeping/custody and related financial services.
- Obligations: KYC, record keeping, and reporting suspicious transactions to the Financial Intelligence Unit (FIU-IND).
- Offshore exchanges serving Indian users must register with FIU-IND.
Risks
- Extreme price volatility and speculative losses.
- Regulatory uncertainty: crypto is not legal tender in India, and the RBI has repeatedly cautioned against it.
- Security risks such as hacks, scams, rug pulls and lost private keys.
- No investor protection or deposit insurance.
- Misuse for money laundering and terror financing.
- Heavy tax burden, made worse because losses cannot be offset.
Key terms
- Virtual Digital Asset (VDA)
- Defined in Section 2(47A) of the Income Tax Act; includes crypto and NFTs, but not CBDC.
- Section 115BBH
- Provision that taxes VDA transfer income at a flat 30%.
- Section 194S
- Provision requiring 1% TDS on payments for the transfer of VDAs.
- PMLA
- Prevention of Money Laundering Act, 2002, the anti-money-laundering law that now covers VDA service providers.
- FIU-IND
- Financial Intelligence Unit-India, which receives suspicious transaction reports.
