@@ -111,8 +111,7 @@ The intended recipient has to provide something to redeem the payment
111111- Some transactions require multiple parties to provide something before the locking script is unlocked.
112112
113113## Unspent Transaction Output (UTXO)
114- UTXO is the output of a transaction which may be spent as an input
115- in a subsequent transaction.
114+ UTXO is the output of a transaction which may be spent as an input in a subsequent transaction.
116115
117116- “Sending” a recipient some bitcoin is done by creating some UTXO registered to their address
118117 - Encumbered to their public key hash or to a script
@@ -121,6 +120,23 @@ in a subsequent transaction.
121120- It is locked to a specific address and may be scattered.
122121- A wallet will aggregate the UTXO belonging to a single address
123122
123+ The main ** advantages** of an UTXO system are:
124+ - UTXO allows for Simple Payment Verification, where a client verifying payment does not need to download
125+ the entire Bitcoin blockchain.
126+ - This allows for multiple verification processes checking on different transactions can do so in parallel
127+ since they are checking on different inputs, which allows for greater scalability.
128+ - UTXO systems allow users to generate different system addresses for the outputs for each transaction,
129+ which supports privacy of transactions.
130+
131+
132+ The main ** disadvantages** of UTXO are:
133+ - Apps built on top of the Bitcoin blockchain are limited in the amount of blockchain state they can impact.
134+ This feature may be considered by some to be a security advantage, since it reduces the potential impact of programs
135+ running over the blockchain.
136+ - Each output is owned by one user (the user having the private key for that Bitcoin address),
137+ whereas use of smart contracts may often require outputs to be owned by multiple users.
138+
139+
124140## Standard Transactions
125141These are based on what is needed to redeem the payment (ie, to satisfy the encumbrance)
126142- Pay-to-Public-Key-Hash (P2PKH)
@@ -275,8 +291,8 @@ If nodes behave badly, they forfeit their stake
275291 - 100 people sitting around a table signing competing documents
276292 - Each person only gets paid if they sign the documents that a majority of
277293 other people sign
278- - So payment can only be at the end.
279-
294+ - So payment can only be at the end.
295+
280296#### Possible Flaws
281297- Initial distribution problem
282298 - How to incentivize users who have initial coins to transfer coin ownership,
@@ -324,7 +340,12 @@ If nodes behave badly, they forfeit their stake
324340 Hyperledger platform
325341 - Intended to be run in a secure hardware environment for permissioned ledgers
326342 - So perhaps less prone to attack by malicious nodes.
327-
343+
344+ ### Comparison
345+ <div style =" text-align :center " >
346+ <img src =" /static/course/postgraduate/blockchain/procon.png " alt =" " />
347+ </div >
348+
328349## Consensus Attacks
329350### Sybil attacks
330351- A malicious node creates proxies that appear to be run by different owners
@@ -389,22 +410,78 @@ So the blockchain eventually confirms TX2 and not TX1.
389410 - Unlike say cattle (which eventually die)
390411- Not easy to counterfeit
391412 - Use of watermarks, holograms.
392-
413+
393414## Inflation and Hyperinflation
415+ ### Fiat Money
416+ Fiat money is a currency (a medium of exchange) established as money, often by government regulation.
417+ Fiat money does not have intrinsic value and does not have use value.
418+ It has value only because a government maintains its value, or because parties engaging in exchange agree on its value.
394419
420+ ### Inflation
395421- If banks issue too much money (or make lending too easy), then
396- - There is more money available than goods to be purchased (at least in the
397- short-term)
422+ - There is more money available than goods to be purchased (at least in the short-term)
398423 - The price of goods rises (because demand for them exceeds supply)
399424 - The average price of goods rises, and so we get inflation
400425 - The rate of increase of prices per unit time.
401426- There is no upper limit on the level of inflation
402427- Hyperinflation: When inflation rate exceeds 50% per month.
403428
429+ ### Stable Coin
430+ Stable coins are the digital currencies pegged to the cost of fiat money, or any other asset.
431+ - is a price stable cryptocurrency
432+ - whose market price is pegged to another stable asset
433+
434+ #### Fiat Collateralized
435+ Backed by a real-world currency.
436+ Supported by fiat money or physical values (Tether, TrueUSD).
437+
438+ Pros:
439+ - Simplest
440+ - 100% price stable
441+ - Less vulnerable to hacks since no collateral held on the blockchain
442+
443+ Cons:
444+ - Centralized as a trusted custodian must store the fiat
445+ - Need audits ensure transparency
446+ - Highly regulated
447+ - Expensive and slow liquidation to fiat
448+
449+ #### Crypto-Collateralized
450+ Backed by a cryptocurrency.
451+ The price is tied to the value of other cryptocurrencies (Dai).
452+
453+ Pros:
454+ - More decentralized
455+ - Can liquidate cheaply and quickly into underlying crypto collateral
456+ - Easy for everyone to inspect the collateralization ratio of the stable coin
457+
458+ Cons:
459+ - Less price stable than fiat
460+ - Can be auto-liquidated during a price crash
461+ - Tied to the health of a particular cryptocurrency
462+ - Inefficient use of capital
463+ - Highest complexity
464+
465+ #### Non-Collateralized
466+ Stable price by itself using smart contract.
467+ The price is regulated by the issue of coins, but at the same time it is not supported by
468+ either traditional money or other cryptocurrencies (Carbon, Havven).
469+
470+ Pros:
471+ - No collateral required
472+ - Most decentralized and independent
473+ - Not tied to any cryptocurrency or fiat
474+
475+ Cons:
476+ - Most vulnerable to crypto decline or crash with no ability to liquidate
477+ - Some complexity
478+ - Difficult to analyse safety bounds or health
479+ - Require continual growth
480+
404481## functions of cryptocurrencies
405482A cryptocurrency may be useful as:
406483- A medium of exchange
407- - A common measure of value and a unit of account
484+ - A common measure of value, and a unit of account
408485- A store of value
409486- A means of anonymous payments
410487- A means of deferred payments
@@ -433,8 +510,7 @@ However
433510- Can the supply be altered easily?
434511 - For BTC, new Bitcoins are issued according to an algorithm
435512- Is the supply under the control of the community or of a smaller group?
436- - For Bitcoin, change to the supply algorithm would require a fork (and thus
437- community agreement)
513+ - For Bitcoin, change to the supply algorithm would require a fork (and thus community agreement)
438514 - Not the case for all cryptocurrencies.
439515
440516** Demand side** :
@@ -470,12 +546,48 @@ However
470546- ICOs
471547 - Presale of tokens
472548
473- ### ICO/IPO
549+ ## Check on investors
550+ - ** KYC** : Know Your Customer regulations
551+ The know your customer or know your client (KYC) guidelines in financial services require that
552+ professionals make an effort to verify the identity, suitability, and risks involved with maintaining
553+ a business relationship. The procedures fit within the broader scope of a bank's Anti-Money Laundering (AML) policy.
554+ - Identity
555+ - Location
556+ - Wealth & assets
557+ - Other investments
558+ - ** AML** : Anti-Money Laundering regulations
559+ Anti-money laundering (AML) refers to the laws, regulations and procedures intended to prevent criminals
560+ from disguising illegally obtained funds as legitimate income.
561+ - the source(s) of funds
562+ - Money-laundering
563+ - Proceeds of criminal activity (often in cash)
564+ - Proceeds of transactions with entities under sanctions
565+
566+ ### Howey Test
567+ The Howey Test refers to the U.S. Supreme Court case for determining whether a transaction qualifies
568+ as an "investment contract," and therefore would be considered a security and subject to disclosure
569+ and registration requirements under the Securities Act of 1933 and the Securities Exchange Act of 1934.
570+
571+ Under the Howey Test, a transaction is an investment contract for securities if four conditions are satisfied:
572+ - It is an investment of money
573+ - "Money" may include other forms of near money
574+ - There is an expectation of profits from the investment
575+ - The investment of money is in a common enterprise
576+ - Pooling of funds into a joint-stock company or similar joint enterprise
577+ - Any profit comes from the efforts of a promoter or third party
578+ - If profit arises from investor’s own actions, then likely not a security.
579+
580+ ## ICO/IPO
474581Initial Coin Offering (ICO) is the cryptocurrency equivalent of an Initial Public Offering (IPO), where a company goes
475582from private to public status by selling shares for equity. This is typically done to get funds without the need to go
476583to a Venture Company (VC) or bank. An ICO solves the basic problem of initial coin distribution. Also called a Token
477584Generation Event (TKE).
478585
586+ ICOs also retain at least two important structural ** differences** from IPOs.
587+ 1 . ICOs are largely unregulated, meaning that government organizations like the
588+ Securities and Exchange Commission (SEC) do not oversee them.
589+ 2 . Due to their decentralization and lack of regulation, ICOs are much freer in terms of structure than IPOs.
590+
479591## Token Standards (Ethereum)
480592A protocol for tokens to interact on the Ethereum network
481593- So that tokens can easily be sent and be received without developers of new tokens have to re-create interaction code
@@ -562,6 +674,19 @@ A protocol for tokens to interact on the Ethereum network
562674<img src =" /static/course/postgraduate/blockchain/dlts.png " alt =" " />
563675</div >
564676
677+
678+ ## Difference with Blockchain
679+ A distributed ledger is decentralized to eliminate the need for a central authority or intermediary to process,
680+ validate or authenticate transactions. Enterprises use distributed ledger technology to process,
681+ validate or authenticate transactions or other types of data exchanges. Typically, these records are only
682+ ever stored in the ledger when the consensus has been reached by the parties involved.
683+
684+ A blockchain is essentially a shared database filled with entries that must be confirmed and encrypted.
685+ The name blockchain refers to the "blocks" that get added to the chain of transaction records.
686+ To facilitate this, the technology uses cryptographic signatures called a hash.
687+ In short, blockchain is a specific type of distributed ledger. It is designed to record transactions or
688+ digital interactions and bring much-needed transparency, efficiency, and added security to businesses.
689+
565690## Main Benefits of DLT
566691- Shared state
567692 - Different organizations needing the same data
@@ -574,6 +699,25 @@ A protocol for tokens to interact on the Ethereum network
574699- Witnessing of transactions
575700- In case of transfer of digital assets, settlement is immediate
576701
702+ A distributed ledger gives control of all its information and transactions to the users and promotes transparency.
703+ They can minimise transaction time to minutes and are processed 24/7 saving businesses billions.
704+ The technology also facilitates increased back-office efficiency and automation.
705+
706+ Distributed ledgers such as blockchain are exceedingly useful for financial transactions.
707+ They cut down on operational inefficiencies (which ultimately saves money).
708+ Greater security is also provided due to their decentralized nature, as well as the fact that the ledgers are immutable.
709+
710+ Alternatively, blockchain technology offers a way to securely and efficiently create a tamper-proof log
711+ of sensitive activity. This includes anything from international money transfers to shareholder records.
712+ Financial processes are radically upgraded to offer companies a secure, digital alternative to processes run
713+ by a clearinghouse. Altogether avoiding these often bureaucratic, time-consuming, paper-heavy, and expensive processes.
714+
715+ When you write data to a blockchain, it gets etched on the network. When you have a series of transactions over time,
716+ you gain an accurate and immutable audit trail. This is very useful for financial audits.
717+ Having data stored in a place where no single entity owns or controls it, and no one can change what’s already written,
718+ gives you benefits similar to double-entry book-keeping. Ultimately, this means that there are fewer chances of errors
719+ or fraud.
720+
577721## Major Use Cases
578722- Shared state: Cross-organizational workflows
579723- Stateful (history kept): Provenance tracking
@@ -607,6 +751,8 @@ A protocol for tokens to interact on the Ethereum network
607751 - Smart contracts are programs which seek to change the state of the machine
608752
609753### Ethereum Gas
754+ Gas is an internal currency in Ethereum used to control demand and supply of transaction processing on the platform,
755+ and to prevent infinite loops.
610756- Ethereum separates cryptocurrency from measurement of work done
611757- Gas cost – unit of measurement for transactions
612758 - eg, 6 gas for each 256-bit hash
0 commit comments