Decentralized Finance
Decentralized Finance
Decentralized Finance
3) Miners compete in solving a problem and whoever it is the first to solve it, creating a new block,
gets rewarded with a certain amount of cryptocurrency.
The cryptocurrency used by a certain blockchain is its native currency.
Mining pools combines the computational power of a group of miners and split the bitcoins generated
among the participants to smooth revenues (i.e., decrease the volatility of results). Usually mining
pools charge a fee to provide this and other (e.g., providing a Merkle root hash) services.
4) The byzantine generals problem says is a game in which participants win only if everyone takes the
same decision.
Blockchain proof-of-work uses the same logic for requiring consensus: if one single block is changed
the entire chain will “lose”, i.e. identify the error. QUINDI TUTTI VALIDANO O SOLO LA
MAGGIORANZA?
Alternative to Proof-of-Work is proof of stake, which select a group of validators of the transaction
based on the amount of stake they have (since if you have high stake you are not incentivized to hack
the chain) and punish who validate it in the wrong way, decreasing its stake.
1) Stablecoins
Currency with fixed value, obtained stacking cryptocurrency.
The value of stablecoins you receive is lower than the amount of crypocurrency you deposit. The
overcollateral is used to secure potential losses of value of the deposited crypto.
If value of the deposit reaches the value of stablecoins, the position is closed.
Stablecoins are an equivalent of a overcollateralized loans. They provide liquidity to crypto holders,
allowing them to have cash while still being exposed to deposited cryptocurrency (avoiding losing
potential returns in the case the position is closed).
AMMs work with liquidity pools: instead of executing orders one by one, all the supply is collected in
a pool. The advantage of that method is that in low liquidity situation there will be no need to wait for
a match between demand and supply.
The AMM does not update this price as other markets move around it. The market price only
moves as the reserve ratio of the tokens in the pool changes, which happens when someone
trades against it. If, for any two cryptos, exchange rate in the pool differs from ratio of traded
prices there is an arbitrage opportunity.
3) Lending market
You can lend crypto earning interest rate (fixed or variable) based on rules of smart
contracts.
Interest income is split among all lenders. Since usually amount borrowed > amount
supplied, interest rate by a borrower > interest received by a lender (which is split among
different lenders)