Categories
Property Insurance

A 14-year-old Stole 26 Kia and Hyundai in Two Months, What You Need to Know About Comprehensive Auto Insurance Coverage

The Takeaways:

  1. Design flaws (e.g., lacking electronic engine immobilizers in certain models of Kia & Hyundai) open the product up for theft or other property damages.
  2. Social media could be a fast contagious source of risk exposures and financial losses if coupled with lax regulations and little screening of posts/clips.
  3. Insurers can choose not to cover those models in the future, but existing policyholders of comprehensive coverage will still be covered under the current policy.

Owners can shop around for insurance carriers who do write policy for those models, and you can also find government sponsored insurance.

A Case of Youth Offenders Armed by Bad social media.

According to a February 5 report by Cleveland.com, criminal charges were filed in the week before against two 14-year-old Cleveland boys, one of them stole more than two dozen Kia and Hyundai cars that social media essentially unlocked them last summer.

The age of the suspects is not the only thing shocking, as “the number of insured Kias and Hyundais stolen in Cuyahoga County jumped more than 233% from October to December, when 656 cars were stolen in the county. Cleveland alone saw 459 thefts of the two makes in the final month of 2022.”

“The surge is sparked by a viral TikTok video from the so-called Milwaukee Kia Boys that showed how to steal the cars using a USB cable.”

“The technique works because the manufacturers did not install electronic engine immobilizers in models that require a metal key instead of a push-button start, an anti-theft measure that was ‘standard equipment on nearly all vehicles of that vintage made by other manufacturers,’ according to a September 2022 report from the Highway Loss Data Institute.”

The same HLDI report says stealing these vehicles became a social media trend in 2021 as car thieves began posting videos of their thefts and joyrides and even videos explaining how to steal the cars.

More specifically, HLDI released insurance claims data last September that confirmed that some 2015 through 2019 Hyundai and Kia models are roughly twice as likely to be stolen as other vehicles of similar age. Furthermore, these cars don’t have electronic immobilizers that were standard equipment on 96% of vehicles sold for the 2015-2019 model years.

In Chicago, where only 328 Kias were stolen in 2021, more than 3,500 were stolen last year, CBS Chicago reported.

According to Insurance Information Institute or Triple-I, three anti-crime organizations have asked YouTube to take down all videos that teach people how to steal Kia and Hyundai automobiles. The organizations – the National Insurance Crime Bureau (NICB), the Coalition Against Insurance Fraud, and the International Association of Special Investigation Units (IASIU) – made their request in response to a spike in thefts of these vehicles.

Celeste Dodson, president of IASIU, added, “When a vehicle is stolen, it is often not the end of the crime but the beginning. Vehicle thefts are associated with a multitude of criminal activity, including insurance fraud. The cost of these crimes is then passed on to consumers through higher premiums.”

Legal Ramifications

The story does not stop with those cars already stolen, owners of those makes and models are all affected. The aforementioned report by Cleveland.com says that “Progressive and State Farm, two of the country’s largest auto insurers, said in the last week that they have stopped writing new policies for certain makes and models of Kias and Hyundais. And some existing customers in places like Denver and St. Louis have seen their insurance premiums hiked in recent months, news outlets have reported.”

“A Missouri-based attorney filed a lawsuit in federal court in October that seeks class-action status on behalf of owners of the affected Kia and Hyundai models.

“Seattle on Friday sued the manufacturers after that city saw a jump from 48 of those makes stolen in August to 197 in December.

“Asked whether Cleveland would consider such an action, city spokeswoman Marie Zickefoose said, ‘the law department is evaluating options at this time.’”

How Bad social media can impact insurance.

  1. Spread of misinformation: Social media platforms can spread misinformation about insurance products and services, leading to confusion and mistrust among customers.
  2. Reputation damage: Negative comments and reviews about insurance companies can quickly spread on social media and harm their reputation. This can lead to a loss of trust and business.
  3. Cybersecurity risks: Insurance companies that use social media to collect sensitive information from customers may face cybersecurity risks, such as data breaches and hacking. The cases we are talking about here are of this category.
  4. Regulatory compliance: Insurance companies must comply with strict regulations regarding the use of social media. Misuse of social media, such as making false or misleading statements, can result in legal and financial consequences.
  5. Negative customer experiences: Insurance companies that use social media to process claims or respond to customer complaints may not always provide the level of customer service that customers expect. Negative customer experiences can be amplified on social media and harm the reputation of the insurance company.

Are Kia and Hyundai Owners Out of Luck?

If you’re a current owner of a Kia or Hyundai from those vulnerable model years, don’t worry if you bought a comprehensive coverage for your auto, which typically cover theft of a vehicle, including a Kia or Hyundai model without an electronic engine immobilizer.

Comprehensive insurance is a type of auto insurance coverage that protects against damage to your vehicle that is not caused by a collision. This includes theft, vandalism, fire, and natural disasters.

However, the exact coverage and details of a comprehensive insurance policy can vary depending on the insurance company and policy terms, so it’s important to review your policy documents or speak with your insurance provider to understand what is covered and what is not.

If you recently bought a secondhand Kia or Hyundai of those model years, even though some insurance companies won’t issue policy for your auto, you can still do your research and shop around to find insurance carriers that do provide coverage for your model.

You can also check with your local Kia or Hyundai dealership to see if they have any recommendations for insurance providers that offer coverage for their cars.

Additionally, you may be able to find coverage through a government-sponsored insurance program or a specialty insurance provider.

Categories
Liabilities Insurance

Boy Scouts of America Was Bankrupted from Sexual Abuse Lawsuits, What You Need to Know about Commercial Liability Insurance?

The Takeaways:

  1. The most fundamental commercial insurance is general liability insurance. No business should be doing any business without commercial liability coverage. In my opinion, commercial liability insurance should become mandatory by law, just like nobody should be allowed to drive without auto liability insurance for personal injures and property damages.
  2. Insurance coverage needs to meet the specific nature of business. BSA works exclusively with youth and therefore is exposed to sexual abuse with minors. It is far better to work on risk management to prevent risks from getting escalated and to avoid huge insurance payment.
  3. There will be lawyers trying to leverage the existing lawsuits to make money for themselves by filing unfounded claims. There will also be collusion between organizations and claimants to get insurers to pay. Once again, the best preventative step is to avoid lawsuits preemptively through means of risk management, especially in commercial insurance.
  4. Insurance and lawsuits are closely related. Insurers must pay close attention to legal battles that sometimes can make or break themselves.

The Stories in 2020 & 2023

This insurance journal article did a good job in offering a brief overview of the history of the Boy Scouts of America BSA bankruptcy case and quickly shows where the problem is:  

“When it sought bankruptcy protection in February 2020, the BSA had been named in about 275 lawsuits and told insurers it was aware of another 1,400 claims. The huge number of claims filed in the bankruptcy was the result of a nationwide marketing effort by personal injury lawyers working with for-profit claims aggregators to drum up clients, according to plan opponents.”

Guess what the number of claims is today? “More than 80,000 men have filed claims saying they were abused as children by troop leaders around the country… the staggering number of claims, when combined with other factors, suggests that the bankruptcy process was manipulated.”

Even “a plaintiffs’ attorney acknowledged that some 58,000 claims probably could not be pursued in civil lawsuits because of the passage of time.” That is, many or most men in the lawsuits will have little chance of winning any compensation.

Shortly after the bankruptcy in 2020, BSA had announced several plans (like this and this) to settle down its sexual abuse lawsuits with minors.

Why Insurers Want to Reverse the BSA Bankruptcy Reorganization Plan

Under the bankruptcy reorganization plan, which In September was approved by the U.S. Bankruptcy Judge Laurie Selber Silverstein for $2.46 billion, and described by the BSA as a “carefully calibrated compromise,” the BSA itself “would contribute less than 10% of the proposed settlement fund… The bulk of the compensation fund would come from the BSA’s two largest insurers, Century Indemnity and The Hartford, which reached settlements calling for them to contribute $800 million and $787 million, respectively. Other insurers agreed to contribute about $69 million.”

On the other hand, “Insurers opposing the plan argue that the BSA is contractually obligated to assist them in investigating, defending and settling claims, as it did before the bankruptcy. They say that the BSA, desperate to escape bankruptcy, colluded with claimants’ lawyers to inflate both the volume and value of claims in order to pressure insurers for large settlements, then transferred its insurance rights to the settlement trust. The insurers argue that if the BSA transfers its rights under insurance policies to the settlement trustee, it must also transfer its obligations under those policies.”

In other words, the insurance companies are accusing BSA for working under the table with claimants to inflate the value of claims and to shift the financial responsibility of compensating sexual abuse victims to insurers without working with insurers to verify the claims.

Lessons Learned

The bankruptcy of the Boy Scouts of America (BSA) serves as a case study in the importance of adequate insurance coverage.

Lesson 1: The importance of liability insurance. The organization was facing a large number of lawsuits related to the sexual abuse of minors. In the absence of adequate liability insurance, the BSA would have been forced to pay out millions of dollars in damages, potentially putting the organization’s very existence in jeopardy. However, the BSA had liability insurance in place, which allowed it to weather the legal storm and continue its operations.

Lesson 2: The need for insurance coverage to match the nature of the organization. BSA is a youth organization that works with minors, making it particularly vulnerable to sexual abuse lawsuits. Therefore, it was essential that the organization have liability insurance coverage that was adequate for this type of exposure. Organizations that work with minors should take this lesson to heart and ensure that their insurance coverage is sufficient to protect them in the event of similar lawsuits.

Lesson 3: The need for ongoing review of insurance coverage. BSA should have ongoing review of insurance coverage to ensure that insurance coverage remains adequate, as the insurance needs of an organization can change over time. For example, had BSA reviewed its insurance coverage in recent years and discovered that it was insufficient, it could have taken steps to increase its coverage and avoid the financial strain of the lawsuits it faced.

Lesson 4: The best strategy for all insurers is to manage risks and reduce them before they turn into large scale social scandals for policyholders, which will invite opportunists to seek financial gain from the “no risk, pure gain” legal class actions.

Categories
Property Insurance

Earthquakes Killed 17,500+ in Turkiye & Syria, What Lessons Can We Learn?

The Takeaways:

  1. Insurance matters all the time — oftentimes we don’t see until hit by a catastrophe. In the end, buying insurance could be the best investment you ever make in your life.
  2. Earthquake insurance coverage is not a decoration number to make the insurance book pretty, it can be the difference between life and death.
  3. Coverage must be enforced to save lives and get the places quickly up from disasters.
  4. Reinsurance matters especially for catastrophic events to keep insurance carriers on their feet rather than bankrupted or out of business.
  5. Some governments like China emphasized political mobilization of citizens to stay safe in pandemic, which has its own liability and risk. It is better to have risk management (e.g., massive social lockdown) and risk transfer (i.e., insurance coverage) at the same time.

Earthquake News in the Words of a Financial Rating Agency

According to financial ratings agency Fitch on Thursday February 9, the initial earthquake and numerous aftershocks struck southern and central Turkiye and western Syria on 6 February had claimed more than 17,500 lives so far from a maximum magnitude of at least 7.8, the most severe earthquake in the region since 1999. 

The toll is expected to rise as rescuers comb the rubble for survivors. On top of that, insurable losses are hard to estimate as conditions change all the time. At this time “they appear likely to exceed USD2 billion and could reach USD4 billion or more. However, insured losses could be much lower, perhaps around USD1 billion, due to low insurance coverage in the affected regions.”

“The Turkish Catastrophe Insurance Pool (TCIP) was created after the Izmit earthquake of 1999 to cover earthquake damage to residential buildings in urban areas. However, it does not cover human losses, liability claims or indirect losses, such as business interruption. Moreover, earthquake insurance cover is technically mandatory in Turkiye, but is very often not enforced in practice. As a result, many residential properties are not insured, particularly in many of the affected areas, where low household incomes constrain affordability.”

Six Lessons Learned

  1. Importance of insurance coverage: The low insurance coverage in the affected regions highlights the importance of having adequate insurance coverage. It’s crucial to understand the risks that you face and to make sure you have the right coverage in place to protect yourself, your family and your assets.
  2. Risks in underinsured regions: Natural disasters can strike anywhere and perhaps in least expected times. They can result in significant losses for sure. In regions where insurance coverage is low, the economic impact of a disaster can be even more devastating. This highlights the need for governments and insurance companies to work together to increase insurance penetration in these areas.
  3. Preparedness is key: While insurance can help mitigate the financial impact of a disaster, being prepared in advance is crucial. This includes having an emergency plan in place, taking steps to secure your home and property, and staying informed about potential threats. We don’t have detailed information on how well the Turkish people were prepared but judging from the low coverage rate we have reason to suspect a low preparedness this time.
  4. Reinsurance matters by sharing and spreading risk among insurance companies. Major catastrophes almost always rely on reinsurance to save insurers.
  5. The importance of accurate loss estimates: Accurate loss estimates are critical for the insurance industry to respond appropriately to a disaster. Insured losses from a disaster can have a significant impact on the financial stability of insurance companies and the broader economy. It is reasonable to think that preparedness and accurate loss estimates are linked such that when one is low, the other is low as well.
  6. Some places (e.g., China) have emphasized risk management (e.g., massive social lockdown and tests) during pandemic, but doing that without developing a good system of risk transfer (i.e., insurance) has its own risks. What we need is both risk transfer and risk management.

One Knowledge Point: Insurable vs. insured losses

In the above news by Fitch, there is a big gap between insurable loss and insured loss. Below is the highlighted difference between the two.

Insurable losses refer to the potential losses or damages that an individual or business can be covered from an insurance policy. This could include losses due to property damage, liability, theft, natural disasters, and other covered events as outlined in the insurance contract. Insurable losses are the losses that the insurance companies are willing to provide coverage for.

Clearly not all losses are insurable. Uninsurable losses are risks or events that cannot be covered by insurance due to various reasons, such as reputational risk, regulatory risk, trade secret risk, political risk, and pandemic risk. In addition, some risks may also be considered uninsurable due to the absence of adequate data or the difficulty in predicting the likelihood and severity of the losses.

Insured losses, on the other hand, refer to the actual losses that occur and are covered by an insurance policy. When an insurable loss occurs, and if the individual or business has insurance coverage, they can file a claim to receive compensation for the covered losses. The compensation provided is limited to the terms of the insurance policy, including the maximum coverage amount, deductibles, and exclusions.

From the Turkish earthquake we can see sometimes there can be a huge gap ($3 billion) between insurable ($4 billion) and insured losses ($1 billion), due to a low coverage rate and unenforced mandatory insurance in certain jurisdictions.

But Turkiye is not alone. According to this report, the cost of storm damage in an average year results in USD 19 billion in uninsured losses from flooding in the US, compared to USD 5 billion in insured losses. This is due to the fact that only one in six homes in the US has flood insurance, and many risks related to flooding are considered uninsurable.  

Reinsurance Matters

From the Fitch news we also learned that the bulk of the insurance cost will be covered by reinsurance and there is no major impact on the rating of the insurance companies.

So what is reinsurance? This article provides a highly readers friendly answer:

“At its most basic level, reinsurance is insurance for insurance companies. If there is a catastrophic event that affects many homeowners, like a hurricane or strong earthquake, those losses can be so staggering that paying claims could cause an insurance company to become insolvent.”

Reinsurance works by allowing insurance companies to purchase insurance policies from other insurers, thus spreading the risk across multiple companies. This helps to reduce the likelihood of large payouts for a claim and allows insurance companies to remain solvent by recovering all or a portion of their losses through the reinsurance process. For example, in a hurricane or strong earthquake that affects many homeowners, the losses can be too high for a single insurer to pay all the claims, causing the insurance company to become insolvent. In such a case, reinsurance allows the insurance company to transfer some of the risk to another insurance company, reducing the potential for insolvency.

Categories
Property Insurance

Oh No, a 50-Car Train Derailment in Ohio! What Insurance Covers That?

The Takeaways:

  • For train derailments the first thing coming to many minds is “inland marine” insurance, which however may not be true.
  • Commercial general liability insurance usually covers the most ground.
  • The cause of the derailment, the ownership of the train and cargo, and the location of the incident, these may all enter the equation.
  • If the train was carrying hazardous materials, there may also be environmental liability insurance in place to cover any cleanup and remediation costs, although this may not be relevant for trains carrying cars.

The Bad News

According to the AP news on February 4, 2023, “A freight train derailment in Ohio near the Pennsylvania state line left a mangled and charred mass of boxcars and flames Saturday as authorities launched a federal investigation and monitored air quality from the various hazardous chemicals in the train.”

“About 50 cars derailed in East Palestine at about 9 p.m. EST Friday as a train was carrying a variety of products from Madison, Illinois, to Conway, Pennsylvania, rail operator Norfolk Southern said Saturday. There was no immediate information about what caused the derailment. No injuries or damage to structures were reported.”

“20 of the more than 100 cars were classified as carrying hazardous materials — defined as cargo that could pose any kind of danger ‘including flammables, combustibles, or environmental risks.’”

50 Car Train Derailment in Ohio. Source: AP News Drone Image

Now, who is covering the big mess?

A 50-car train derailment can result in significant property damage, environmental harm, and liability for personal injury. The type of insurance that would cover this loss would depend on several factors, including the cause of the derailment, the ownership of the train and cargo, and the location of the incident.

Generally, liability coverage is provided by commercial general liability insurance and railway protective liability insurance. The railway company may also have a self-insured retention or deductible to cover smaller losses. If the train was carrying hazardous materials, there may also be environmental liability insurance in place to cover any cleanup and remediation costs.

In the event of damage to the train and cargo, the railway company and/or the owners of the cargo may have marine cargo insurance or inland marine insurance. If the train was being operated under a lease agreement, the lessee may have rolling stock insurance to cover the dam age to the train.

It’s important to note that insurance coverage for a train derailment can be complex and the actual coverage will depend on the specific policy language and any exclusions that may apply.

As a final note, the news did not tell us details about what caused the accident, who own the train and cargo. Knowing those will allow us to say more about the insurance.

Would inland marine insurance policy cover train derailment?

If you know even a bit of insurance, enough to get you pass the license exam, then you most likely will remember a type of insurance called “inland marine” insurance.

Inland Marine Insurance Covers Stuff in Move

This is a funny name because the term “marine” historically referred to transportation of goods by water or even ocean, but now it also covers transportation of goods by land. The term “inland” distinguishes this type of insurance from “ocean marine” insurance which specifically covers transportation of goods by sea.

Inland marine insurance generally covers goods in transit and other movable property, such as bridges and tunnels, and provides protection against loss or damage from various causes such as theft, fire, and weather events being moved within a country.

In the case of a train derailment, an inland marine insurance policy may provide coverage for the damage to the goods or property being transported by the train. This would depend on the specific policy language, the cause of the derailment, and any exclusions or conditions that may apply.

It’s important to note that while inland marine insurance may provide coverage for goods and property being transported by train, it is not specifically designed to cover train derailments. For that, the railway company and/or the owners of the cargo may have railway protective liability insurance or commercial general liability insurance.

Additionally, if the train was carrying hazardous materials, there may also be environmental liability insurance in place to cover any cleanup and remediation costs.

What is environmental liability insurance?

Environmental liability insurance is a type of insurance coverage that protects individuals and businesses against financial loss and legal liability for damages or injury to the environment, including natural resources and wildlife, as a result of their operations or products. It covers costs associated with cleaning up contaminated sites, compensating affected parties, and defending against legal action related to environmental issues. Environmental liability insurance is often required by law for certain industries and businesses, and is also available to protect against the risks associated with environmental incidents caused by a third party.

Environmental Liability Insurance Covers Hazardous Materials
Categories
Cryptocurrencies & NFTs Financial talks at dinner table

Algorithmic Stablecoins Require Right Mindset + Reserve

The Kingstons continued their conversation on stablecoins, especially on algorithmic stablecoins, the purest form of truly decentralized stablecoin that, in its extreme case like TerraUSD, may have nothing tangible to back it up in case of breaking the peg.

Kimberly: We haven’t talked about algorithmic stablecoins yet, and I feel we have to because they are more in troubles these days, like the Terra Luna stablecoin.

Greg: You are right. But first thing first, not all algorithmic stablecoins were born equal. I know many people are talking about TerraUSD and using that as a convenient case against all stablecoins. I recently went to an investment conference and one speaker there brushed away all stablecoins as “failed experiment” citing the Terra case. But Terra, or more accurately “UST” as the stablecoin in the Terra ecosystem is called, is an exception because it relies on smart contract algorithm, very little on full or excess backup reserve.

Kimberly: So does it mean having solid backup reserve is the key for the success of stablecoins?

Greg: I would say so at this early stage of stablecoins, which have yet to establish widely accepted trust or even broad awareness. But reserve matters even with public trust because trust does not fall from the sky but must grow up from the ground. Reserve provides the rich soil for trust to grow. To see it from a crisis prevention perspective, there is an article in Investopedia that says it well: Reserves are an antidote to panic.

Joy: The recent story with Tether proves how important reserve is. According to an article from blockworks.co, after the crash of UST, Tether investors rushed to redeem or to get rid of more than $16.3 billion worth of Tether token or “USDT” as the largest stablecoin is called. They either switched to dollars or to rival stablecoins like the second largest stablecoin USD Coin or “USDC.”

Emily: These names are confusing sometimes. But I guess they all start with USD, which stands for “US dollars”, right?

Joy: Right. The last letter tends to separate them. The “T” in USDT stands for Tether, “C” in USDC means Circle, the issuance entity for the USD Coin or USDC, while “T” in UST stands for Terra. BUSD is an exception because it uses the first letter of “B” to indicate the issuer of Binance.

Greg: The two stablecoin giants, number one ranked USDT by Tether and number two ranked USDC by Circle, clearly understand how important reserve is for getting public trust. After the crash of UST, these two stablecoins both tried to convince the public that they are financially fine with reserves. Circle announced they would publish weekly reserve report from now on, and Tether released an assurance report on its reserves by an auditing company MHA Cayman.

Joy: It’s interesting that Tether could only get a Cayman Island based auditing firm to write the report, not by a US based auditor. Its reserve composition is also less transparent than USDC is. I was worried that USDT would lose its crown as the top stablecoin. But in the end, although it experienced the largest “run” away that forced Tether to “burn” 20% of USDT token, Tether managed to keep its dollar peg and also the title of the largest stablecoin.

Greg: I wasn’t too concerned because USDT is centrally controlled and far better reserved than UST. During times of uncertainty, people always look for things they are familiar with, and having central control and backup reserve are the comforting factors.

Kimberly: Mom says USDT “burned” tokens, what does it mean?

Greg: “Burning” and “minting” are the two basic operations for changing the market supply of digital token or coin. I use “tokens” and “coins” interchangeably because digital coins are nothing but tokens. When they are “burned,” it means to send them to addresses or digital wallets that can only receive — never release or return — the token, as if they were dollar bills burned to ashes. Burned coins have been removed permanently from market circulation and the total coin supply is reduced.

Kimberly: But why do we want to do that? Are we having too many coins in circulation than needed?

Lily: Let me guess: The “law of scarcity” applies. When the USDT price drops below the peg, say one USDT only buys $0.989 instead of $1.00, it signals that the demand for USDT is lower than its supply, as more investors would keep dollars than USDT. Tether must “burn” some USDT tokens to take them out of circulation to push the value of USDT up to $1.00, all because things in short supply have higher value, other things equal.

Joy: And in the opposite scenario Tether must “mint” USDT when its price rises above the peg. Say one USDT coin can sell at $1.015, which means more investors want USDT than dollar. “Minting” USDT then increases the coin supply to push the price down to $1.00 peg.

Lily: So the story says “when USDT price drops, burn, when it rises, mint!”

Greg: To “burn” is to decrease USDT supply or equivalently to increase its scarcity; to “mint” is to increase USDT supply or decrease its scarcity. Think of the price of watermelons: In the summer more watermelons are available, and we can get one for just $4.99 even in the Bay Area. In the winter the supply of watermelons is decreased, so we must pay a higher price like $8.99. Now, if supermarkets want to keep the same price, say $6.99 throughout the year, they will put some watermelons into storage in the summer and release them from storage in the winter — assume a watermelon can be stored for months. Burning USDT is like putting watermelons into storage in the summer to raise its price from $4.99 to $6.99, while minting USDT is like releasing watermelons in the winter to lower its price from $8.99 to $6.99.

Kimberly: That makes sense. Do other stablecoins work the same as Tether’s USDT?

Greg: Yes and no. All stablecoins have the “burn” and “mint” operations but they do that somewhat differently. The two largest stablecoins, Tether’s USDT and Circle’s USDC, are both centrally controlled, which means they rely on a central authority to determine when to “burn” and when to “mint.” Algorithmic stablecoins are smarter as they rely on smart contract to automatically control burning or minting.

Kimberly: Speaking of algorithmic stablecoins, what about the most famous one, the UST? Does it use burning and minting as well?

Greg: Of course but in its own unique way. Basically it played a “seesaw” game using the stablecoin UST and a governance coin called “LUNA.”

Emily: What’s a governance coin?

Greg: It’s a coin that offers voting right to its owner, like stockholders voting for company issues. For our purpose it’s better to think of LUNA as a “sister” or a “utility” coin because it’s used as a tool or incentive to help UST maintain its peg with dollar.

Kimberly: How do the two work out together?

Greg: At the first glance you may think the design is clever. The Terra ecosystem has a special deal for trading between LUNA and UST. It says whenever investors swap LUNA token for UST or sell UST to buy LUNA, they can do that at a guaranteed fixed price of $1 — even though the prices of UST and LUNA are subject to market fluctuation. We can think of LUNA and UST as “identical twins” and if a LUNA owner wants to buy UST, or a UST owner wants to buy LUNA, the price will always be fixed at $1.00. This part of transaction sounds simple. But here is what gets complicated: The prices of LUNA and UST will both vary on the open market. This creates an opportunity for arbitrage.

Kimberly: It’s complicated indeed. Please give an example and explain what arbitrage is.

Greg: Let’s say in the stablecoin open market the UST is currently priced at $1.02, meaning one UST token or coin can sell for $1.02, 2 cents above the $1.00 peg. Meanwhile, say the current price of LUNA token is $0.50. I’m making it up because the real price of LUNA now is around $0.0001. If UST and LUNA were not “identical twins” with a price guarantee, LUNA owner will have to pay $1.02/$0.5 = 2.04 tokens to get 1 UST coin. With the price guarantee, whoever holding LUNA tokens will only pay $1.00/$0.5 = 2 LUNA tokens, not 2.04. Meanwhile everyone else without LUNA token have to pay $1.02 to get one UST coin. The saving of 2 cents is not much but comes risk-free because Terra system sets up that way. In addition, if I own one a lots of LUNA tokens and use them all to buy UST coins, the profit adds up quickly. This is how arbitrage works, which is nothing but legitimate ways to make money by taking advantage of price differences.

Kimberly: So Terra knew there would be price breaking away from the peg and designed the seesaw game to encourage arbitrage as a way to bring UST price back to the peg, right?

Greg: Yes. Now what would happen when investors all rush to get UST using every LUNA token they have? The price of UST will go down while LUNA price will go up. Why? Two ways to understand it. The first is to think about watermelons again: When all supermarkets are flooded with watermelons in the summer, they will lower the price for quick sale. This works the same for UST. When investors are buying UST, the market will be flooded with UST tokens, just like the watermelons in the summer. The UST price will go down. The other way to look at it is to think of the “burning” and “minting” operations. When investors are buying UST, new UST tokens must be minted, and the spent LUNA tokens will be burned. This also leads to a lower price of UST and a higher price of LUNA.

Kimberly: You just described the scenario when UST goes above the $1.00 peg. How about UST price going below the peg, which is more likely to happen as we all know?

Greg: It works the same way as a seesaw game. Say one UST coin only sells at $0.985 rather than $1.00 in the open stablecoin market, but within the Terra system one UST coin can still sell $1.00 worth of LUNA, which is 2 tokens. Guess what investors will do? Everyone will sell UST at $1.00 to buy 2 LUNA tokens, because in the open market one UST coin only gets you the equivalent of $0.985 in LUNA, which is $0.985/$0.5 = 1.97 tokens. From there the watermelon story repeats itself, in the sense that LUNA price goes down and UST price goes up. Again, arbitrage helps bring UST closer to the peg.

Seesaw Game by UST/LUNA Coins

Lily: It just came to me that the seesaw game played by UST works much like the central bank: Fed sells government securities to banks to reduce the money supply in order to raise the interest rate; Fed buys government securities from banks to increase money supply in order to lower the interest rate. Fed has a goal of keeping the inflation rate at 2%, just like stablecoins have a goal of $1.00 peg with the dollar. Fed manipulates government securities just like UST relies on arbitrage with LUNA to stay on peg.  

Kimberly: If so, why has UST failed so miserably while the Fed has been playing the same seesaw game for decades or centuries and it works fine.

Greg: It goes back to the backup reserve that we’ve been talking about. Fed has the deepest pocket that Terra can never match. Nobody will worry about Fed default because it has all the cash they want to buy securities. Terra on the other hand was severely under-reserved. An article published by Coindesk.com tells us that before its collapse in May 2022, UST had a market capitalization of $18 billion, but its reserve was less than $4 billion. 

Joy: The way I see it, we also have a mindset problem. In other words, there is more to stablecoin than scarcity. We need to understand social psychology to be successful in major innovations. Understanding public mindsets allows us to foresee things before price changes or more importantly before crisis hits. The sustainability and value stability of stablecoins demand more than scarcity. Meanwhile, many in the crypto world, from Satoshi to the Terra co-founder Do Kwon, only focus on scarcity. Satoshi and his followers believed controlling the total supply of Bitcoin to 21 million is enough to control inflation. Do Kwon believed playing a seesaw game between two coins of UST and LUNA is enough to keep the value of stablecoin stable. Reality has proven them wrong. Bitcoin has been a lousy “inflation hedge,” while UST had a free fall in value. It’s the willingness to adopt that plays a more important role.

Greg: Sounds interesting. How does the “willingness to adopt” works?

Joy: It’s about convincing as many people as possible, not just the current investors in UST or LUNA. To do that, we have to understand what public hidden concerns are and offer insurance or assurance. I want to cite the example of FDIC for bank deposits. FDIC works its wonder since 1933 not because it sits there waiting for scarcity to show up. Instead, it preemptively offers a signal of assurance to all depositors by promising a coverage of up to $250,000 to boost public confidence.  

Emily: What is FDIC?

Joy: Its full name is “Federal Deposit Insurance Corporation”. It’s a great way to ensure the safety and security of funds for all depositors. FDIC was founded in 1933 and ever since then it claims that not a single depositor has lost one penny of the deposited funds under its coverage.

Greg: Good point. I wish the Terra folks understood this before betting everything on UST and LUNA. It’s easy to ignore the big picture and single out scarcity and technicality — it’s easy to be penny smart and pound foolish. Many things done by central banks are not replicable by an entity because behind the Fed is the silent but almighty “Uncle Sam” who holds a unique and exclusive power of collecting taxes from every taxpayer. Fed should always issue a warning before making a policy move that says “Danger, do not try it at home!”

Emily: I want to go back to bank runs. Mom says investors were running away from Tether and redeemed $16 billion USDT for dollars, is that the same as bank runs?

Joy: Running away from a stablecoin is not the same as running away from a bank. The biggest difference still comes down to backup reserve. They also have different business models. With banks nobody can ask them to hold all the deposit, because banks make money by lending the deposits out or by investing the deposits in something else. To ask banks keeping all deposited money in their vaults is asking for bankruptcy.

Emily: Why is that?

Joy: Let’s say Bank of America receives $100 million from depositors in a month, if the Fed asks it to keep 10% of the deposits, Bank of America will lend $90 million out to earn higher interest to keep its door open. The Fed will never ask the bank to keep 100% of deposit.

Kimberly: But what if all depositors rushed to get their money out, no bank can pay them all and will be forced to shut down, right?

Joy: That’s where FDIC comes into play. Also, Tether has limited itself to institutional or large investors as it demands a minimum fiat withdrawal or deposits of $100,000. Clearly it is not for general public.  

Kimberly: Now we know how banks make money, what’s the business model for stablecoins? I mean how do they make money?

Greg: There is an article on the website Binzinga.com that talks about that. There are several ways. They can charge issuance and redemption fees. When an investor pays dollar or other collateral to get stablecoin, she’ll be charged “issuance fee.” When the investor wants to get rid of the stablecoin and get dollar or other collateral back, she’ll be charged “redemption fee.”

Joy: Centralized stablecoins makes money mainly through short term lending and investing. One example is Tether loaned $1 billion to Celsius Network in October 2021. The latter would pay Tether an interest rate of 5% to 6% per year, which means Tether received between $50 to $60 million dollars per year. 

Kimberly: So this works just like banks.

Joy: Except the required amount in reserve is usually higher — much higher — for stablecoins than for banks because FDIC does not cover stablecoins.

Greg: Lending is not the only way stablecoins make money. The other way is investment. Stablecoins are backed by assets, but not necessarily all by cash. For example, in July 2021, 61% of USDC reserves were in cash or cash equivalents while the rest was invested in a variety of assets such as Certificates of Deposit, corporate bonds, municipal bonds, U.S. Treasuries and commercial paper. They can invest in money market funds like commercial papers and better yet, treasury bill.

Emily: What is treasury bill?

Joy: It’s called “T-bill” for short. It’s short term debt issued by the Treasury Department to borrow money from the public. Its term ranges from 4 to 52 weeks, meaning an investor can buy T-bill today and the Treasury Department will pay her money back no later than the 52nd week. Because of the short time, T-bill will not pay interest, but investors can buy at a discount price from the par value.

Emily: What’s par value?

Joy: Par value is the face value of the T-bill. It’s the amount of money that the Treasury Department promises to pay the investor back when the bond reaches the maturity date. For example, say I bought a T-bill of $1,000 that is mature in 4 weeks. If the T-bill is discounted at 20%, I will only pay $800 today to receive the bond and after 4 weeks, the Treasury Department will pay me $1,000 to get the bond back.

Greg: Tether is not the only stablecoin doing the lending business. The second largest stablecoin, USDC, also does that. Jason, please check the market caps for top stablecoins from www.coinmarketcap.com.

Jason: It stays USDT ranks number three overall but the largest stablecoin by market cap. Its price is $0.9991. USDC is right behind Tether, with a price of $1.00.

Kimberley: How is USDC doing better than Tether in pegging?

Joy: According to an article by gemini.com, USDC has central control just like Tether does. Also like Tether, USDC is fully backed by reserve. What sets USDC apart is that its reserve is held at regulated US financial institutions, just like commercial banks do in the traditional finance. Furthermore, it’s audited by a U.S. accounting firm that issues monthly report on the reserves backing USDC.

Kimberly: If I remember correctly, Tether holds its reserve to itself, not to outsiders, right?

Joy: That’s right, and that may explain why the article from blockworks.co says only Tether knows what exactly its backup reserve is made up of. This also made it harder for Tether to obtain a creditable auditor willing to issue public reports about its reserve.

Lily: So the real lesson is that people are willing to invest in crypto and use stablecoins as long as (1) they are fully reserved, preferably in stable fiat; and (2) their reserve information is transparent and verifiable.  

Joy: I would add another lesson: it’s a good thing that we have different stablecoins at the same time, because it helps speed up the learning process. Think of it, if we only had Tether, we’d have to wait to see how it performs during bad times before trying anything else. Now we can compare different models of stablecoins and pick up the best.

Lily: Following your logic, having price ups and downs is also a good thing, because it provides a good testing environment for different stablecoins.

Greg:  The article on blockworks.co has an informative chart showing prices of top four stablecoins since May 1st: Tether or USDT, USD Coin or USDC, Dai and Binance USD or BUSD. We know one thing for sure: the demise of UST or TerraUSD has more negative impact on USDT than on anything else. Binance USD even has price higher than the peg, reaching a peak price of $1.07 on June 19, 2022.

Kimberly: Why is BUSD priced higher in the event of UST crash?

Joy: I wonder to what extent has that been caused by having a governmental agency in New York offering authorization of BUSD stablecoin, not just by fiat backup and auditing report.

Greg: I see what you mean. It also helps that the New York State Department of Financial Services or NYDFS authorized Paxos Trust Company LLC to offer a gold-backed virtual currency, the first such virtual currency. Keep in mind that Paxos is in a partnership with Binance to launch BUSD.

Lily: I find it funny that Crypto is supposed to be a game changer to traditional finance; yet in reality, its creditability and reliability still depend so much on traditional finance, like having fiat backup or setting up account in banks.

Kimberly: I agree. Bitcoin and other cryptocurrencies were designed to be unregulated, and they call for disintermediation; yet having a governmental approval helps Binance USD or BUSD succeed.

Joy: Bear in mind though that stablecoins are designed to be the bridge connecting digital currency with fiat, which means they have a naturally strong tie with traditional finance. Non-stablecoins may not have such a feature. But you are right, stablecoins works much like fiat: The more regulated and the closer the link with fiat, the safer it is perceived and the stabler during the time of uncertainties.

Categories
Blockchain Cryptocurrencies & NFTs Financial talks at dinner table

Some Stablecoins Are Already Digital Money

The family digs deeper today into stablecoins, focusing on reserve and collateral and how some fiat backed stablecoins like Tether is on its way to qualify for being a digital money.

Kimberly: Last time we were talking about depositing $2,000 worth of Ethereum before anyone can claim $1,000 worth of stablecoin. The ETH collateral is twice the value in stablecoin. I wonder if that is true in general.

Greg: Not really. The key question to ask is what are being used for collateral and how stable they are. For stable assets like many fiat currencies are, a stablecoin can get away without over-depositing or over-collateralization like in the ETH case.

Joy: In other words, to claim you have a stablecoin valued at $1 million, you only need to have $1 million in reserve if the asset is stable. That’s 100% backup or 1:1 reserve. But for unstable assets like cryptocurrencies it’s common to see $1.5 million or even $2 million worth of crypto deposited for $1 million worth of stablecoin.

Kimberly: This prepares for the scenario when the unstable asset suddenly decreases value, right?

Joy: Right. It provides an extra layer of protection to investors, just like insurance company will charge you a higher premium if you have a record of drunk driving or other risky behaviors.  

Greg: That’s a good analogy. I want to add that even with over-collateralization those stablecoins are not error-proof. In case a cryptocurrency is completely busted, over-collateralization won’t save the stablecoin.

Lily: How about backing up a stablecoin by a basket of cryptocurrencies, would that help?

Greg: Theoretically it would, except the history of crypto has shown a high correlation among the price movements of most if not all cryptocurrencies. This differs from the mature market of stocks and bonds, where diversification helps reduce non-systematic risk in the traditional financial market. Diversified collateralization by a basket of cryptocurrencies may or may not do the trick.

Lily: Why are the prices of cryptocurrencies closely related?

Greg: One reason is that the crypto market is heavily dominated by two big guys Bitcoin and Ethereum, followed by thousands of small guys. If you check out the site https://coinmarketcap.com you will see that except for Bitcoin, which is more than 40% of the market share, and Ethereum, which is around 15%, plus a few stablecoins, the market share for the others quickly drops to 1-2%.

Lily: So the small guys will have a price movement heavily influenced by Bitcoin and Ethereum, right?

Greg: Right. Another reason is that speculators have low royalty to individual crypto. They are constantly searching for the “next big one.” This makes all cryptocurrencies exposed to the same speculative risk.

Joy: I think future cryptocurrencies should specialize in industries or lines of business to reduce the correlation among them and also to grow quickly. Today’s innovations have focused on different features of the same cryptocurrency, but the future lies in “application specific crypto” or ASCs. Even a decentralized financial market has no space for nearly 20,000 cryptocurrencies. Integration will have to happen for the market to settle down, where many small crypto will be bought off by a few big guys.

Greg: I agree. Another thing to bear in mind is that despite its bad reputation of dramatic price shifting, cryptocurrencies may still be better than some fiat. Crypto price can go down but also go up. This is not the case with some fiat. The Argentina money, where the inflation rate hits 58%, is worse because it’s all inflation, unlikely to have deflation. A Bloomberg report says it right that in Argentina, nobody knows the price of anything.

Emily: What’s deflation?

Joy: That’s when prices of many things go down instead of going up. Deflation is good news for consumers as it offers higher purchasing power. Economists used to worry about deflation a lot as a sign for a weaker economy but not as much today, because lower prices can also mean higher productivity or economy of scale.

Lily: Oh yeah. I’ve read an article that lists 10 things that are cheaper now than 10 years ago, like smart phones, calculators, flat screen TVs, domestic flights.

Greg: In addition to what are used as reserves and how stable they are, it also matters a lot how a stablecoin makes its claims. Regulators will always come after you if they believe you’ve made misleading claims. Sometimes firms make their job easier. Tether, the largest fiat-backed stablecoin, used to claim its value has 100% backup “by the dollar.”

Joy: Yeah, they paid a big price for saying that. A Wikipedia page says Tether is to pay $41 million fine to the Commodity Futures Trading Commission, or CFTC. Now Tether only says its token is fully backed by its “reserves,” not dollars.

Greg: That’s true. Looking at Tether’s transparency page, you will see that “All Tether tokens are pegged at 1-to-1 with a matching fiat currency and are backed 100% by Tether’s reserves.”

Kimberly: Is the new claim accurate? Does Tether now have sufficient reserves to cover its ground?

Greg: Let’s find out. Jason, please go to this webpage https://tether.to/en/transparency/ and we can check the numbers to see if the total assets and liabilities of Tether on USD match.

Jason: Total assets $72,657,372,695.04 or more than $72.6 billion on June 10, 2022, total liabilities $72,494,981,446.98 or $72.5 billion. Looks like they have more assets than liabilities.

Greg: That’s Tether’s account balance for the dollar. Let’s look at the Euro as well.

Jason: Okay… Oh, same story here, total assets are more than total liabilities.

Greg: They do that to have extra room of cushion, which is called “shareholder capital cushion,” and also to impress investors and regulators.

Joy: There is a report by Quartz that tells us more details. Tether defends itself by saying that the findings were from more than two and a half years ago, that they always had enough money in reserve, that the fine only meant the reserves were not all in cash and all in a bank account titled in Tether’s name, at all times.

Lily: Do you think Tether was wrongly charged? I mean stablecoins have been unregulated and suddenly Tether was thrown a huge fine.

Joy: I’m pretty sure the CFTC has a solid legal ground for imposing the fine. If you read the Wikipedia page on Tether, you’ll see many problems associated with Tether, including the misleading statement of dollar reserves, having $31 million token stolen, and price manipulations and lack of auditing.

Greg: At a deeper level, let’s take one step back and ask ourselves why holding sufficient reserve is so crucial for stablecoins. The answer is in two words: “stability” and “liquidity.”

Kimberly: Could you elaborate?

Greg: “Stability” is easy because that’s what all stablecoins are named after, none of them calls itself “unstablecoin,” right? The whole reason for stablecoin to exist is to provide stability of value, which other cryptocurrencies do not have. Liquidity on the other hand means taking precautions to pass a “stress test” under extreme scenarios.  

Kimberly: Can we have an example what an extreme scenario looks like in a stress test?

Greg: Say all owners of Tether tokens were to cash out for dollars, will Tether still have enough cash or cash equivalent to allow investors to get their money out in dollars? Having liquidity means Tether can say “Yes” for sure, otherwise it will fail the test.

Lily: I see it now: When it comes to stablecoins, there is no shortcut and no need for getting creative. You just have to keep enough cash or cash equivalent in reserve. That’s the only way for Tether to possess stability and liquidity.

Greg: That’s right. That’s also why I believe Tether’s self-defense is weak. All reserves must be in cash or cash equivalent, and all must belong to Tether, not shared with anyone else.

Joy: It’s interesting that I’ve read an opinion piece that says the future of payment is not in stablecoins. One of the key arguments is that stablecoins tie up liquidity unnecessarily, making those dollars in reserve unavailable to other uses.

Greg: I see their points but ultimately it all comes down to the issue of trust, which does not fall from the sky — you must earn it over time. For now keeping 100% reserve with stable assets is a price stablecoins must pay, given its currently low public and regulators’ trust. Like Lily says there is no other way around that. I would not however rule out future payment possibility for stablecoins. To say stablecoins are not the future of payment is to deny the possibility for stablecoins to establish trust. That goes too far.

Joy: I agree. Commercial banks are not required to keep 100% reserve for issuing loans. In fact, since March 26, 2020, the Fed reduced the reserve requirement ratio to zero. Of course, that is in the traditional or centralized financial world but who is to say in the decentralized financial world things will never change and stablecoins will always be required to keep 100% reserve?

Emily: What’s the reserve requirement ratio?

Joy: That’s the amount of deposits a bank is asked to hold for customers’ withdraw. Let’s say a bank has $100 million in deposits from its customers. Banks make money by lending the deposited money out to earn a higher interest. But can the bank lend out all $100 million to businesses? Normally not, because the central bank will ask it to keep a part of deposited money, and that part is reserve ratio. Say the ratio is 10%, then the bank must keep $10 million and only lend out $90 million. Sometimes however the central bank may allow banks to lend out all the money to stimulate the economy.

Lily: I think the risk for a stablecoin is higher than for a commercial bank. The latter is a part of centralized system. It has less freedom than a stablecoin but also lower risk because the central bank will come to its rescue in case of a major crisis. A decentralized stablecoin has more freedom but higher risk as the central bank may or may not save it from its own trouble.

Greg: That’s true and we should keep the higher risk of stablecoins in mind. The future relationship between central bank and decentralized financial institutions is a very interesting topic. One possibility is that the Fed will keep its direct reign over all membership banks but will make suggestions or recommendations to decentralized finance entities to implement its monetary policies.

Joy: Maybe the Fed will tell future stablecoins that if you follow or coordinate with our monetary policies we’ll add you to our list of “associated members” to offer partial bailout in case of crisis. It’s unlikely for the Fed to order stablecoins to do anything, though — unless the law says otherwise.

Greg: Meanwhile, without central bank rescue stablecoins will have a higher risk of “bank run” unless they keep 100% reserve all the time. Future regulations may ask them to maintain a higher reserve ratio than that for the centrally controlled banks, other things equal.

Emily: What’s bank run?

Joy: A bank run happens when a large group of bank customers all want to withdraw cash from their bank accounts, either because of the bad news in the market or about the bank. You know banks make money by lending money out and they are only required to keep some cash. When many customers all want to get cash at the same time, banks quickly run out of cash and must close the door.

Lily: Let’s go back to Tether. I think it’s good for Tether now to keep more assets than liabilities.

Greg: If you think of it, having extra assets above and beyond liabilities is for Tether’s own good because it relies heavily on money market instruments, which are either unsecured, like commercial papers, or have penalty for early withdrawal, like certificates of deposit. They are cash equivalent but not exactly cash. Those extra assets help mitigate money market risk.

Emily: I meant to ask it before: What’s cash equivalent?

Joy: Let’s use Tether as a handy example. On Tether’s transparency page there is a reserve breakdown. We can see that more than 55% is US Treasury Bills, about 28% is in corporate commercial papers & Certificate of Deposits or CDs. The rest is money market funds and others. Treasury Bills, commercial papers, CDs are all cash equivalent, meaning they can turn into cash quickly if they must.

Emily: I remember commercial papers are short term debts of companies. What are money market funds?

Joy: Those are mutual funds that invest in cash and securities that are due within one year. These assets can all be converted to cash quickly. Again, they can all be converted to cash quickly.

Lily: Back to your comment, dad, on having extra reserve is good for Tether, did you mean some commercial papers may default, but Tether can use the extra reserve to pay investors? Say Tether has a total of $10 million commercial papers and $1 million defaulted. if Tether only had $10 million assets to meet $10 liabilities, it would be $1 million short after the default. But if Tether has additional $1 million extra reserve, it will cover all payments. Am I right?

Greg: Either that or let’s say they must withdraw CDs before the maturity dates, which will incur early withdraw penalty. Let’s say that’s $1 million. In that case Tether can still use its extra reserve to pay all investors in full.

Lily: That’s pretty impressive for Tether to do what it’s doing now.

Greg: That’s not enough, though. Tether also must constantly add cash or cash equivalent to its pool of reserve whenever it issues more tokens to investors. Let’s say Tether has issued another $500,000 tokens to old or new customers last quarter, Tether must add $500,000 to its pool of reserve to cover the new tokens.

Joy: Let’s not forget the dark side of Tether. If you look at Tether’s fee schedule, you’ll see that Tether requires a minimum of $100,000 per transaction of fiat deposit or fiat withdrawal. In other words, you can’t deposit or withdraw $10, $100, $1,000 or even $10,000. Tether also charges for withdrawing the dollar either $1,000 or 0.1%, whichever is greater. If you withdraw exactly $100,000 from Tether, it will charge $1,000 each time. Besides, it also charges $150 for verification of Tether token.

Greg: Tether also has a central control system, not exactly decentralized. I’m sure critics will say something about that. Finally, it does not serve any US residents, only entities established or organized outside of the United States or its territorial or insular possessions; and those having eligible Contract Participants pursuant to U.S. law.

Lily: That’s strange. Who are “eligible contract participants?”

Greg: Its webpage defines a participant as “a corporation that has total assets exceeding $10,000,000 and is incorporated in a jurisdiction outside of the United States or its territories or insular possessions.” Frankly, many if not most entities with more than $10 million total assets tend to have an overseas base outside the US.

Joy: Now the positive news for stablecoins. In January 2021, the Office of the Comptroller of the Currency, or OCC, has told federally controlled banks to treat stablecoins the same as SWIFT or ACH. Furthermore, these banks can participate in the Independent Node Verification Network or INVN, which is nothing but blockchain.

Lily: If that’s the case, how do we explain the recent crash of Terra/Luna stablecoin?

Joy: The OCC acknowledges the value of blockchain, and the role played by stablecoins. But not all stablecoins were born equal and OCC doesn’t or should not endorse everything about stablecoins. There are always bad apples, and the sad thing is that bad news travels fast.

Greg: All in all, I believe stablecoins — not including crypto backed and algorithmic stablecoins — are designed to be digital money because they meet the three money requirements: Store of value, medium of exchange and unit of account.

Emily: Could you tell us more?

Joy: There is a paper written by Federal Reserve Bank of St. Louis that does a good job explaining what money is. Let’s consider the three requirements one by one. A store of value is all about stability of value, meaning the value of money is stable enough for you to keep it for a reasonable period of time without worrying about losing that value significantly or even completely. Stablecoins meet that requirement because their value is stable, as the name suggests — except for algorithmic stablecoins as we have learned.

Kimberly: How long is that “reasonable period of time?”

Joy: It depends on which currency you are talking about. The key point, as the above Fed paper points out, is that money does not have to be perfect store of value because we do have to watch out for inflation, which lowers the value of money from the value before inflation.

Lily: So the now crashed “stablecoin” Terra Luna can’t pass this test.

Joy: No it can’t. The second requirement of money is a “unit of account,” which basically says money can be used to measure value of different things. Without money we’d have to resort to bartering, meaning we trade one thing for another, like one airplane for one million T-shirts. Fiat backed stablecoin meet that requirement.

Greg: We can break the “unit of account” concept down to three features: divisible, fungible and countable. Divisible means one dollar is always equal to four quarters, 20 nickels, 10 dimes and 100 pennies. Fungible means a dollar is a dollar, whether you get it from the bank or receive from your customer. They are always perfectly exchangeable. Countable means you can add, subtract, multiply and divide money anyway you want and still get the same result. Multiplying $1 10 times gets you $10, dividing $1 million by 4 gives you $250,000, and so on and so forth.

Joy: And that brings us to the last requirement of money as “the medium of exchange.” It essentially says money must be accepted as a way of payment. If you look at a dollar bill you will see a tiny note that reads: “This note is legal tender for all debts, public and private.”

Kimberly: But crypto is not legal tender.

Greg: True, but being a legal tender is not a required criterion of money. In other words, not being a legal tender does not eliminate stablecoins’ function as a medium of exchange for those backed by fiat, which are all legal tenders. The true test is market acceptance. The more a currency is accepted, the higher value it has as a medium of exchange.

Lily: Are you saying not all currencies are equally accepted? I would imagine being a government issued legal tender guarantees its acceptance.  

Greg: That’s right. In the near future cryptocurrencies, including stablecoins, are unlikely to compete with fiat in terms of market acceptance but the important thing is to have some and increasingly larger acceptance among some parties in the market. Stablecoins fit that requirement.

Lily: What’s the unique things a stablecoin provides but not by the dollar?

Greg: There is an article in Investopedia that summarizes the advantage of stablecoins well: “Stablecoins promise cryptocurrency adherents the best of both worlds: stable value without the centralized control attributed to fiat.” It also lists a few unique use cases that only stablecoins can do, like “using stablecoins to trade goods and services over blockchain networks, in decentralized insurance solutions, derivatives contracts, financial applications like consumer loans, and prediction markets.”

Lily: I don’t understand why these things cannot be done with dollar.

Joy: All decentralized transactions happen on blockchain, but the dollar is an off-chain asset, not an intrinsic part of blockchain. As far as blockchain is concerned the dollar does not exist. Trading with stablecoins allows investors to stay onchain all the time, not on- and off-chain.

Greg: I won’t say the dollar does not exist on blockchain because the value of all cryptocurrencies is still measured by the dollar. In fact, the link between crypto and fiat is like the “umbilical cord” we all carried on when we came to this world. It explains a great deal why the crypto price movement has so much to do with the fiat, just like decentralized finance or DeFi has so much to do with traditional finance TradFi.

Joy: You are right. I think the notion that Bitcoin is a hedge against inflation also makes little sense, even though its supply is set by algorithm at 21 million. An article by the economist Eswar Prasad said it right, scarcity alone is not enough to create value, there must be demand.

Greg: I won’t use the term “scarcity” for Bitcoin because by the time you call something “scarce” you already implicitly imply a short supply relative to demand. Bitcoin is simply a story of “limited supply,” not scarcity, because Satoshi’s algorithm only governs the supply side. It had no idea how much demand there would be when the algorithm was written. Supply side was all Satoshi could control.  

Joy: Okay I’ll buy that. There is a recent report by Bank of America that shows the correlation between Bitcoin and S&P 500 has been very high, while its correlation remain near zero with gold. This defeats another myth that Bitcoin is like digital gold.

Greg: The other “umbilical cord” for Bitcoin, or all cryptocurrencies for that matter, is financial regulations. Satoshi envisioned Bitcoin to be unregulated and disintermediate, meaning banks and existing financial institutions will be cut off from playing any role related to Bitcoin. But that’s utopian as it’s impossible for Bitcoin and all cryptocurrencies to be unregulated completely. If I were Satoshi, I would try my best to gain all the regulatory supports I can get for my innovation.

Joy: I agree. It is also dangerous without regulation. This explains why the price of cryptocurrency is so sensitive to the monetary policy of the Fed. I would change the famous saying: There are three certainties in life: death, regulations and taxes.

Categories
Cryptocurrencies & NFTs Financial talks at dinner table

Talking About Stablecoins

The Kingstons have decided to switch the gear toward what is happening in real life instead of abstract knowledge points.

Lily: I feel we have been out of touch with reality by talking about blockchain, cryptography, hash and hashrate, nonce, and even proof of work and proof of stake. They are foundational of course but we need to look at the “livelier” developments.

Kimberly: I agree. We also have had a very positive tone about cryptocurrency or the blockchain. We rarely talked about whether the whole thing of cryptocurrencies is worth it. After all, if famous investment gurus like Warren Buffett have questions and reservations about investing in cryptocurrency, shouldn’t we think twice about that as well?

Lily: To give a good example, what about the recent crash of stablecoins? I’ve read a report on CNBC the other day, talking about whether this 30-year-old South Korean founder of a stablecoins project will face jail time or just civil penalties.

Emily: What happened to the project? What is a “stablecoin?”

Lily: The idea of stablecoins sounds very attractive. It addresses one of the biggest problems with cryptocurrency. You know, their prices jump up and down dramatically. Stablecoins were born to change that.

Emily: How do stablecoins do that?

Lily: It helps to keep in mind we have two currencies today: dollar and crypto. They are not isolated from each other. The value of all cryptocurrencies is always measured by dollar. Jason, could you find out the dollar prices for Bitcoin and Ethereum today, please?

Jason: Let me Google it: It says $30,041 for Bitcoin and $1,809.64 for Ethereum.

Lily: Thanks. If you think of it, those prices really are the exchange rates between the dollar and crypto. Remember last year we had a trip to France and at the airport we used our dollars to buy Euros?

Emily: Oh yeah. Euro was more expensive than dollars. We gave them $200 but only got about 190 Euros back.

Lily: If you think the Euro is expensive, wait to see the exchange rate of Bitcoin. You heard Jason just said: One Bitcoin is sold for more than $30,000 dollars.

Joy: Just so you know, on May 1st I invested $1,000 on Bitcoin and $500 on Ethereum. Want to guess the prices back then? I have them on my iPhone: Bitcoin (BTC) was $38,890.81 and Ethereum (Ether) was $2,856.45.

Emily: You’ve lost money on cryptocurrencies. No wonder investors all want stabilized crypto prices.

Lily: That’s not true. Many speculative investors actually prefer big movement in price because it’s easier to make money that way. They all try to buy low and sell high.

Greg: Lily said it right earlier: We have two currencies within the country. With two currencies, what’s gonna happen is there will be an exchange rate between currencies.

Kimberly: A quick question: Exchange rate is the rate at which one currency can buy another, right?

Greg: Right. Normally exchange rate keeps changing because things change. However, sometimes a country decides to have a fixed exchange rate with another currency. This is called “currency peg.” The Hong Kong dollar for example has been pegged to the U.S. dollar since 1983.

Kimberly: Why would they want to do that?

Greg: Currency peg is a national policy to promote international trade. Many businesses involved in international trade have a low profit margin. Even a little fluctuation in exchange rate could wipe out their profits. A currency peg means a fixed exchange rate and it’s a godsend because it eliminates foreign exchange risk.

Kimberly: I can see currency peg is useful for international trade but we are talking about stablecoins, why is currency peg relevant?

Greg: Because the same idea of currency peg drives stablecoins. You guys may not have been keeping up with the latest in the payment business. Both crypto platforms like Coinbase and legacy service providers like Visa and Mastercard are pushing for direct deposits or cryptocurrency wallets and accepting both dollars and crypto. In the first half of 2021, Visa reported that it had processed over $1 billion worth of cryptocurrency payments

Joy: Yeah, for a currency to be useful for payment people all prefer stable value. Price jumping around too much turns people off from using it. This is why so many people are interested in stablecoins, which keep the exchange rate fixed between currencies — or so promised.

Kimberly: I see a big reason for stablecoins. Nobody wants to use a currency that can buy 10 gallons of gas today but only 7 gallons next month.

Greg: Another reason stablecoin is needed is that certain institutional investors like pension plans would desire stablecoins. At retirement ages people just want to preserve their hard earned money, they have little taste for speculation. I read the news that Fidelity Investment now let companies offer their employees Bitcoin in their 401(k) plan for up to 20%.

Emily: What’s 401(k)?

Joy: That’s a retirement savings plan sponsored by employers for employees named after a section in the U.S. Internal Revenue Code. It’s the best deal because if an employee deposits $500 each month to the plan, many employers will match that and add another $500 to your savings account.

Lily: Another reason stablecoins are such a big news is that some platforms offer big incentives to investors. The LUNA project once promised almost 20% annual return on anyone’s deposit on the platform. That’s crazy when others were paying 1% or less.

Greg: If something sounds too good to be true, most likely it’s not true. Unfortunately some always find excuses to believe the unbelievable. This billionaire investor named Mike Novogratz even made a tattoo on his arm to memorialize his membership in this LUNA club. The project quickly gathered almost $60 billion but today is almost worthless. I found this article from Motley Fool published right before Luna’s crash in May very insightful.

Joy: I’ve read from online that stablecoins are valuable to migrant workers who need to sent remittance money home fast and inexpensively compared with other means of sending money internationally. It also preserves value of foreign aids.

Kimberly: Should we get back to Emily’s question of how stablecoin works?

Joy: Of course. From what I understand, there are different models of stablecoins. Some are safer and stabler than others. The key terminology is “algorithms stablecoins.” The LUNA project Lily was talking about is an example of that.

Emily: “Algorithm stablecoins?” It sounds complicated.

Greg: Let’s go back to the “currency peg” and it helps us understand algorithms stablecoins.

Emily: Please give an example of currency peg.

Greg: Let’s say Hong Kong dollar is pegged at 1:8 to US dollar, meaning one US dollar will always buy 8 HK dollars. Normally the exchange rate is not fixed but fluctuates, so bear in mind this is unusual.

Emily: Because a fixed exchange rate helps exporting goods, right?

Greg: Right. Say last year one US dollar could buy 8 Hong Kong dollar, but this year one US dollar can buy 8.5 Hong Kong dollars. We say American dollar is stronger and Hong Kong dollar weaker. A stronger dollar can buy more imported stuff from Hong Kong, or Hong Kong can export more stuff to the US. That’s what Hong Kong wants.

Emily: What if things change and the exchange rate shifts away from 1:8?

Greg: That is called “breaking the peg.” Let’s say for some reason capital starts to flow out of Hong Kong, like businesses are leaving and foreign investments are leaving. What would that mean to Hong Kong dollar?

Lily: I would say Hong Kong dollar will be weaker because Hong Kong economy is weaker.

Greg: Right. A weak currency does not always signal weak businesses, because sometimes a country would intentionally make its currency weak just to increase its trade competitiveness. However, other things equal, a weak economy usually means weak currency.

Emily: But Hong Kong wants to have a fixed exchange rate with US dollar, what can Hong Kong do to keep the peg?

Greg: A country’s central bank keeps watching the exchange rate closely and if there are signs of deviation from the pegged rate the central bank will respond to drive the exchange rate back to the pegged value.

Emily: Details please?

Greg: In order to keep the exchange rate going down from 1:8 to 1:8.5, Hong Kong Monetary Authority will buy Hong Kong dollars from local banks, which will cut down the amount of Hong Kong dollar in circulation. When money supply is reduced, what happens to interest rates?

Lily: We learned from school that the interest rate is the price of borrowing money. So if money is in short supply, just like everything else, its price — the interest rate — goes up.

Greg: Yes, now when Hong Kong interest rate is up, it will attract money back into the city. Say interest rate goes from 1% to 2%, the same $1,000,000 Hong Kong dollars deposited in a Hong Kong bank will get interest payment of $20,000 rather than just $10,000.

Lily: More money flowing back to Hong Kong will make Hong Kong dollar stronger, and that’s how the peg is maintained or restored.

Joy: Hong Kong is a special case because it’s a part of China and does not have central bank. If China wants to maintain a stable exchange rate of Yuan with US dollar, the Chinese central bank will rely on open market operations to keep the pegging.

Emily: So what will Chinese central bank do if the Yuan goes down in value relative to US dollar?

Joy: Ask yourself this question: If the prices for something is down, does it mean the demand for that something is up or down?

Emily: I would say down, otherwise the price would go up for something that’s popular, like housing in California, right?

Joy: You got it. The same idea applies to currency as well. If the value of a country’s currency goes down, it usually means there is insufficient demand for it. Chinese central bank will then sell some of the US Treasuries and use the money to buy its own Yuan. This way it creates artificial demand for Yuan to bring its value up.

Kimberly: If China’s Yuan goes up too much in value relative to US dollar, China’s central bank will buy more US securities to raise the demand — and the value — for US dollar, right?

Joy: Right. Because central bank’s deep pocket, anytime it buys a currency, its value will go up and when it sells a currency, its value will go down. This is called “open market operations.”

Kimberly: I wonder how many countries can afford the pegging. Not all countries have a deep pocket of US currency or treasuries like Hong Kong and China.

Greg: That’s exactly right. It’s never easy nor free to keep the currency peg.

Emily: So for stablecoins to keep a stable value with the dollar, they use the same open market operations to maintain the peg, right?

Greg: Yes and no. There is an article that summarizes four types of stablecoins. I’ll simply break them into two types of collateralized versus non-collateralized stablecoins. The former works just like currency peg and requires collateral asset, such as fiat currency, bonds, commercial paper or crypto tokens, while the latter only depends on algorithm and smart contract.

Emily: I remember Lily told me collaterals are backup asset, but what is a “smart contract?”

Joy: A smart contract is like other contracts with one exception: It does not require an intermediary or a third party because it can execute itself when certain specified conditions are met. Think of them as “If – Then” automatic contracts.

Kimberly: So if a stablecoin’s exchange rate moves away from 1:1, then the contract will automatically trigger open market operations to move it back to the pegged rate.

Joy: That’s the case for collateralized stablecoins. A few things to keep in mind. First of all, keeping a peg requires resources. If you are pegging to Euro, you need to have sufficient amount of Euro in reserve, ready for backing up to keep the peg.

Greg: The same is true for crypto-collateralized stablecoins. Say you want to have $1,000 worth of stablecoins, the smart contract will ask you to deposit $2,000 worth of Ethereum as the collateral. That amount will be locked up before the $1,000 stablecoin is created or “minted.”

Joy: The second condition in a stablecoin smart contract is that you can choose to peg a single currency or a basket of currencies like the Euro, Japanese Yen and the dollar. Pegging to several currencies is generally better than pegging to a single currency because more currencies mean less price movement. The idea is the same as investing in more stocks is safer than pouring all the money into one stock.

Greg: A country can also have a “soft peg,” which allows the exchange rate to stay in a limited range rather than an exact point.

Kimberly: So Hong Kong may choose a pegged rate not exactly one dollar buying 8 Hong Kong dollars, but perhaps one dollar buying between 7:85 and 8:15 Hong Kong dollars.

Joy: That’s right. Finally, pegging can be done not just to currencies but commodities like gold, precious metals, bonds, commercial papers or even real estates.

Emily: Is commercial paper some kind of newspaper?

Joy: No, it is a type of “I Owe You” note issued by a corporation to borrow money from investors and usually will be paid back within 270 days maximum.

Greg: I’ll add one more note regarding collateralized stablecoins: Cointelegraph.com reported last year that the Office of the Comptroller of the Currency, or OCC, allowed national banks to run independent nodes for distributed ledger networks like blockchain.

Joy: Yeah I remember that report as well. The OCC essentially says banks should treat blockchains the same as other legitimate global financial networks like SWIFT and ACH.

Greg: The government formally promised to have collateralized stablecoin backed up with its full faith and credit.

Emily: What about the non-collateralized stablecoins?

Greg: That’s a different story. Let’s talk about it next time.

Categories
Blockchain Cryptocurrencies & NFTs Financial talks at dinner table

Proof of Resources & the “Quantum Attack”

The family has largely shifted into non-technical topics this time.

Emily: I think we should talk more about the difference between Proof of Work and Proof of Stake.

Lily: I agree. I’ve read a report about some a billionaire named Bill Miller claiming that if Ethereum does accomplish its upgrade to Proof of Stake, it will give Bitcoin a huge advantage.  

Emily: Why’s that?

Lily: Apparently Bitcoin has no plan to walk away from its tradition of Proof of Work to Proof of Stake, so this billionaire believes Proof of Stake is in favor of miners with rich resources. Switching from Proof of Work to Proof of Stake will make the inequality problem much worse.

Joy: Yeah, I’ve heard about that. The billionaire says Proof of Stake is “the most unequal thing you can imagine, because the rich people make all the decisions.” On the other hand, he believes Bitcoin’s Proof of Work is democratic. One reason he says that is because, as the report reveals, he himself owns a lot of Bitcoin, not Ethereum.

Emily: Okay, this is a good time to talk about the difference between Proof of Work and Proof of Stake. Looks like the two top cryptocurrencies, Bitcoin and Ethereum, are moving toward different directions, making it even more relevant and interesting for us to get a good handle on the two approaches.

Joy: That’s true. The good news is that we already talked about Proof of Work, like the level of difficulty, the fierce competition among all miners, the guessed number of nonce, the decreasing or halving of Bitcoin reward, the single winning miner. Now we only need to add Proof of Stake to that.

Emily: It’s good to know we are halfway done. But how is Proof of Stake different?

Joy: Let’s introduce some acronyms first. PoS is short for Proof of Stake, and PoW is for Proof of Work. One easy way to think of PoS is that it adds an extra “qualifying” layer to PoW, meaning before you become a PoS miner, who are called “validators,” you must prove you have sufficient ownership stake of cryptocurrency, such as owning at least 32 Ethereum coins. This is how PoS gets its name from.

Greg: Staking is pledging, promising or depositing. Say you own 32 units of Ethereum or ETH, you can pledge them to make yourself a validator. All you need to do is to deposit those coins, or to lock them up, not to use them for anything else.

Lily: That sounds like collateral.

Emily: What’s collateral?

Lily: It’s any asset a bank accepts before it lends you money. Say our family wanted to buy a new house, banks will use our current house as a collateral before they give us new mortgage. In case we were unable to pay back the mortgage, banks have the right to sell our current house to cover the loan.

Joy: The deposited coins are collateral because if the validator messes up things, acts dishonestly or lazily in verification, she’ll lose at least a part of their stake. The other way to lose or decrease stake is to fail to participate when she’s called upon. One thing that makes deposited coins different from collateral is that its purpose is not for bank loans but for the right to validate transactions and to get reward from doing that.

Emily: How do you define dishonest behaviors?

Joy: I assume there are different ways to define dishonesty, but I’ll quote an article from Ethereum that says one either proposed multiple blocks in a single slot (equivocating) or submitted contradictory voting for verification.

Emily: If a validator acts honesty she would not be in danger of losing her deposited coins, right?

Joy: No, she retains the full ownership of the coin unless she’s penalized for malicious behavior. Furthermore, she can change her mind and un-stake the coins.

Kimberly: Back to the criticism of the billionaire about PoS promotes inequality, are all validators equal in power?

Joy: Good question. The answer is no, those with more coins in stake have more power. Part of it is that if you only have a few coins to stake, you will have a lower chance to be selected as the validator. As the Motley Fool article points out, if your stake is only 0.0001% of the total stake, you only have 0.0001% of chance to be selected. I guess that’s why that billionaire with heavy investments in Bitcoin was saying that PoS is unfair and biased in favor of rich people.

Greg: Let’s have a look at the big picture first. I’ve seen a fairly recent report from the Forbes that says about 64% of the total market capitalization of all cryptocurrencies use PoW. Bitcoin is the biggest one of course. Since we only have two major consensus mechanisms, either PoW or PoS, it’s probably safe to say that about 36% use PoS.

Emily: What’s market capitalization?

Greg: “Market cap” is short for market capitalization and is very intuitive and simple; it refers to a company’s total market value in dollar. You multiply a company’s total number of shares in the market by its price per share. Say Google has a total of 1 million shares in the stock market and each share is priced at $100, then Google has $100 million in market cap.

Emily: So 64% of market cap is not saying 64% of cryptocurrency companies use PoW, right?

Greg: That’s right. A few large crypto companies can easily make up 80% of the market, while many smaller ones can barely add up to 20%. I bet after Ethereum completes its upgrade to PoS, its position will be much stronger. That’s why so many people are talking about it now.

Lily: Once we have validators, how exactly does PoS work?

Joy: First thing first, while PoW is fairly standard, when it comes to PoS, there are many protocols, and they tend to work differently from each other, sometimes significantly. Bear in mind there are well over 10,000 cryptocurrencies.

Greg: That’s right. That Motley Fool article tells us that Cardanoprotocol selects only one validator, who then determines whether the block of transactions is valid or not. But check the Ethereum Wiki and its Proof of Stake FAQ page, it says not just one validator, but all current validators can participate in the process and their consensus takes control. On the other hand, another cryptocurrency exchange called Binance Coin uses the “Proof-of-Authority” consensus, which uses just 21 validators and each of these validators must be approved by Binance itself. 

Joy: For some crypto coins the number of PoS validators is much smaller than PoW miners. This report from TheStreet.com published in last October says Cardano has 2,924 validators that are responsible for finding or verifying cryptocurrency transactions in blocks, while Ethereum has nearly 3,500. Once the transition to PoS is done, however, Ethereum will have 243,000 validators in the network.

Greg: Yeah, that article also separates PoW and PoS in terminology. For example, it tells us that mining and hashrate are specific for PoW, while stake pools and validatorsonly for PoS. Both systems have nodes. To respect their differences, we should follow those guidelines.

Joy: It’s not hard to follow. For example stake pools are obviously only for Proof of Stake, and mining is for PoW. I have a picture that provides intuitive sense: PoW has a miner holding a pickaxe, while PoS has a validator holding a key to a safe box.  

PoW vs PoS

Emily: A couple of questions: What is a “node” again and what is “hashrate?”

Joy: There is an article from Blockchain Council that explains a node well. A node is “any system or physical equipment that is connected to a network and capable of performing specific duties such as creating, receiving, or sending data across a communication channel.”

Lily: So a node is basically a computer connected to a network of other computers. I believe nodes and network must co-exist. You can’t have a network without nodes, and a node is useless unless connected to a network.

Greg: You would be right for all other nodes and networks. But for Bitcoin it’s different. Here a node can exist independently of other nodes in the same network, because a Bitcoin node contains a complete copy of all the blocks and transactions, just like any other nodes. This is due to decentralization, meaning maintaining duplicated copies all over the world for exactly the same blockchain, so we won’t have a single point of failure like in a centralized control system.

Lily: Oh yeah! Thank you for reminding me of that.

Emily: It’s funny that I’ve been thinking all along that nodes and miners as the same thing.

Greg: You are not alone. The truth is they are closely related but not the same. First, a node is not just any computer but one equipped with cryptocurrency software in it. Also, nodes and miners work together to get verification of transactions done. I have this picture from River financial website that does a good job illustrating how miners and nodes work.

Miners & Nodes of Blockchain

Lily: In the end it is miners’ job to grow the blockchain because they are the ones verifying transactions.

Greg: Right. A node or a blockchain can’t grow itself. Remember a blockchain is just a decentralized and distributed digital ledger. If you read the article by River financial, you will see two types of nodes, one is full, and another light weighted but nowadays the latter are rarely seen.

Joy: Sometimes I can’t help thinking that Bitcoin really did it with a “security overkill.” It’s virtually impossible for Bitcoin to be hacked, although the cost is also extremely high, both in energy consumption and in human inputs. Basically, the Bitcoin algorithm makes it extremely hard to attack because miners work extremely hard.

Greg: I agree. Look at the hashrate now to get back to Emily’s question what is hashrate: It’s a measure of computing capacity for the network. An article from Robinhood.com explains it well: “A hashrate measures how many calculations can be performed per second and can be measured in billions, trillions, quadrillions, and quintillions. For example, a hashrate of 1TH/s means one trillion calculations can be performed every second.”

Emily: One trillion calculations in one second? That’s incredible.

Greg: Computers or nodes can do much better than one trillion calculations per second. An article from Robinhood.com says the Bitcoin hashrate has been as high as 179 exahashes per second (1 exahash = 1 quintillion). In case you don’t know, one quintillion is one million trillion or one trillion times one million, and yet miners are still working on it, apparently the reward is bigger than the cost.

Joy: Hashrate is not just about computing resources but also is used as an indicator of decentralization.

Lily: Really, how so?

Greg: Your mom said it right. Generally, the more miners participating in a network, the higher that network’s hashrate will be. Meanwhile, the fewer miners, the lower the hashrate. So let’s say the hashrate becomes lower this week, it means fewer miners are participating in mining. But with fewer miners, hackers or the bad guys will need less computing power to mess up the verification. The opposite holds for higher hashrate.

Lily: Wow, mining is a democratic game. This is not much different from an election: The more voters showing up, the better election results.

Kimberly: Enough for the details, what do you think of the two approaches, PoW and PoS?

Joy: The story is more complicated than simply claiming one is definitely better than others. Like I said earlier, both approaches end up being proof of resources more than anything else, they rely on different resources, though.

Emily: What do you mean?

Joy: Well, for PoS it’s about financial resources, meaning how many coins you have in stake matters the most. For PoW it’s about computing resources, meaning how powerful your hardware is matters the most.

Kimberly: I guess we haven’t talked much about computing resources until this point. I heard that in PoW, miners compete to have the fastest hardware in order to win the reward. One thing they all want is called ASIC or Application Specific Integrated Circuit. If you only have a laptop, you are doomed to lose the competition.

Greg: That’s right. The sad thing is that ASICs are designed only for Bitcoin mining, uncapable of doing anything else. This is a bad news to hackers because they would have to buy ASIC equipment, otherwise it’s impossible to become a winner.

Joy: In other words, investing in ASIC equipment increases cost for everyone, including hackers, which is a good thing for the security of Bitcoin.

Lily: But all hardware can be purchased with money. In the end, it’s all about financial resource, don’t you think?

Joy: I see your point, but it’s more complicated than that as subtle differences exist. For example, PoS critics are saying allowing current big owners of cryptocurrency to confirm transactions makes little sense because owners are biased. It’s better to let professional miners in a peer-to-peer network do the job of transaction verification. They would disagree with you that everything is about money but would rather argue that money should stay out of the mining process.

Greg: Yeah, that’s a good point. Unfortunately, whether it’s financial or technical, resources tend to be concentrated quickly to the hands of a few people rather than evenly spread out among everyone. That Forbes advisor article I was talking about earlier correctly points out that in PoW the power can become concentrated to those with fancy hardware. There is no easy solution because that’s how market works.

Joy: Having a few miners winning reward all the time in PoW is just as bad as having a few owners of cryptocurrencies to verify transactions in PoS.

Lily: I would prefer finding a balance between efficiency and equality. Isn’t that true that we should seek tradeoff between efficiency and equality? Can we find a way so that we can have “democracy” in mining but also efficiency in getting transactions confirmed?

Kimberly: By “democracy” you mean to get more people involved in the mining process?

Lily: Yeah! Remember that billionaire criticizing PoS for letting a few rich people validate all the transactions? That doesn’t sound good, and we don’t want that to happen.

Joy: Things can be more complicated than just efficiency and equality. We also must pay attention to the environment. One major weakness of PoW is its huge energy consumption from hundreds of thousands miners all the world busy mining. PoS reduces the number of validators involved and therefore significantly reduces energy consumption from mining.

Greg: Although one may argue that energy consumption is one dimension of efficiency. So the challenge is still about finding the best tradeoff between efficiency and equality.

Joy: You are right on that. The good news is that there are ways to overcome financial or computing constraints and still allow sufficient number people to participate in the mining process for both PoW and PoS. For example, people without Ethers can join a “staking pool” to get qualified for validation. Similarly, people without advanced hardware like ASIC can join a “mining pool” for faster mining.

Greg: That’s true. Those pools may be called social solution to the better tradeoff. I’m also optimistic that someday we will find a more efficient way to mine so that even though a million people are mining at the same time, the energy cost is still controllable.

Joy: In a sense the technology is already born with quantum computers. We just need to make it better and more accessible. From what I’ve read, like this one by Coinshares.com, the energy use of quantum computers is far lower than digital computers, even with much faster computing speed.

Emily: What is quantum computing and why are digital computers using so much energy?

Joy: From what I can understand, and from an article I read from livescience.com, quantum computing is a new generation of technology that is 158 million times faster than a digital computer. I remember two numbers well: What it takes four minutes to finish by a quantum computer can take a digital supercomputer 10,000 years to accomplish.

Greg: To answer your second question: Most energy in mining is used on the cooling system, not exactly on computing. Once again, quantum machines are more efficient on energy. It’s reported that the Google Quantum computer was about a trillion times more energy efficient than a summit supercomputer, the fastest digital computer in the world today.

Joy: I heard that quantum computing poses extra risk for cryptocurrencies.

Greg: Yeah, it is called “quantum attack” these days. But I wonder how much we should “cry wolf” before determining if the danger is real. I mean we can take precaution without exaggerating the risk.

Joy: From what I’ve read, the current cryptography is vulnerable to quantum attack. I read a report on a website called “investmentmonitor.ai” that says some four million Bitcoin addresses could in theory be hacked by a quantum computer. And that’s not the only problem. Quantum attack can happen to Bitcoin transactions in transit.

Greg: I’ve also heard about that but still, we must keep in mind that PoW is vulnerable to 51% attack, not to a single hacker standing alone by himself. My sense is that in one or two decades quantum computing will enter the mainstream but that will be a good news because it is unlikely for a single quantum equipped “bad” guy to dominate the network.

Emily: What’s a 51% attack?

Joy: That’s when some bad guys were able to work together either by themselves or by convincing at least 51% of miners that a transaction is true, which is required consensus for a transaction to be verified in PoW.

Greg: Looking at the positive side, we’ve already seen some “post-quantum” cryptography algorithm being developed. Hopefully this helps speed up the race against time and against risk of quantum computing.

Lily: What’s your closing argument on PoW versus PoS?

Greg: I think both have pros and cons, strengths and weaknesses. In the end, it is likely that both will exist and serve different audiences. Some people care less about decentralization and more about fees, while others are all about getting the highest yields. For those who really care about safety of large amount transactions, PoW is likely to be the choice. On the other hand, if someone does not possess many coins, and cares about environmental impact, she would prefer PoS.

Joy: I agree. For the society in general, keeping both PoW and PoS is the best idea. We are still early in the game and with so many cryptocurrencies competing with each other, it’s hard and unwise to claim or even to aim a single winner. While PoW has been proven working well and Bitcoin has some first mover advantage, PoS still has some way to go but Ethereum is unlikely to sink.  

Categories
Cryptocurrencies & NFTs Financial talks at dinner table

Merkle Tree & Double Spending

The family today will wrap up the technical issues and move on to big picture issues associated with cryptocurrencies and blockchain.

Greg: Okay, last time we talked about Merkle Tree but did not find the time to talk more about it. To begin, I think the key is to understand different hash values. We have transaction level hashes, meaning each transaction has its own hash, although we barely talk about that.

Emily: Yeah, why is that?

Greg: Because the “block hash” steals the show. In fact, we talk about block hash so much that we may even believe there is only one hash in each block. But if you think about it, that can’t be true because we want to make sure every transaction is immutable, not just immutability for the entire block.

Jason: That’s true. I remember watching that video you recommended, and it shows every time the guy typed something in the data column, the hash changes. It’s not like the hash only changes once at the end when all data are entered.

Greg: It has to be that way. If anyone can mess around each and every transaction inside a block without any change in hash, what does it mean to have a secure block? It means nothing. A secure block must make sure all the records it contains to be secure. We can think of a block as a movie theater, which is not safe unless all movie-goers are safe. If one were to be kidnaped in it, nobody could claim the theater safe.

Lily: The key is to link record level security to block level security I think.

Greg: Exactly! And that’s where Merkle tree fits in. Let me show you a picture of that tree.

Merkle Tree, Merkle Root & Block Headers

Emily: It looks complicated.  

Greg: That’s because it shows more than a Merkle Tree. It has three blocks, or more accurately three block headers. Merkle Tree is shown for the middle block. Let me show you another picture from Investopedia that contains only Merkle Tree, no block headers:

Transactions (T), Hashes (H), Merkle Tree & Merkle Root

Emily: What’s the basic idea of the picture?

Greg: The tree keeps pairing up transaction’s hashes, called “leaves hashes,” to combine them all into one single “root” for all transactions. In the pictures the root is called “Tx_Root” or Habcdefgh where “Tx” or “T” stands for transactions. Most people call it Merkle root to honor the author who invented it. “H” is always for hash.

Kimberly: It’s funny that you call it a tree, but the root is at the top.

Greg: I was gonna point that out. Yes, the Merkle Tree is always upside down with the “leaves” at the bottom and “root” on the top. Furthermore, it is the same fingerprint machine, SHA256, that is used to build the tree. It starts by creating one hash for each transaction and then retains the hash, no need to keep transaction details, which saves space.

Lily: Let me guess: The fingerprint machine keeps pairing up hashes until there is just one hash, which will be the Merkle Root hash, right?

Kimberly: Also, once we have linked all records in a block, we then link blocks. This is done by each block header always containing the block hash of the preceding block, like its parent, which has its own parent block. That way once a block is added to the blockchain, it cannot be easily changed.

Greg: Both of you guessed right! A couple details. First, if the number of hashes is an odd number, we will simply duplicate one hash to ensure all hashes will be paired up. Secondly, the Merkle root hash is always 32 bytes, whether it’s for one transaction or one thousand. Finally, SHA256 actually hashes block header twice, which is why sometimes you will see notions like SHA256-2 or SHA256 Squared (SHA2562).

Emily: Why is that?

Greg: I don’t think we need to worry too much about it, but the most popular theory is that hashing twice helps protect against the so called “length extension attacks.”

Emily: What’s that?

Greg: According to this Wikipedia page, it’s a risk where a hacker can use the output hash and the length of input messageto calculate another hash controlled by hacker, without needing to know the content of input message. By the way all SHA-2 algorithms, which include SHA256, are vulnerable to this but the future generation like SHA-3 won’t have the problem.

Joy: We probably should only remember that the reason behind hashing twice is to increase the security of the hash.

Greg: That’s right. Now to wrap up, here is a pretty good overall picture from Tutorialspoint.com:

Overview of Bitcoin Block Hashing

Emily: This one has all the six fields in a block header.

Greg: Yes, it does. One terminology issue: The level of difficulty is sometimes called “Bits” like in this picture. Just so you know.

Kimberly: I have had a question for a while but did not get to ask: What exactly is the “double spending” problem. Almost all discussions on mining mentioned this.

Joy: There is an article by Investopedia that offers a good explanation. It says the problem is mostly for digital money, not paper money. Spending the same $20 bill twice is virtually impossible, just like you can’t have a cake and eat it. After you hand your $20 bill out to the cashier for a 16’’ pizza, you can’t get that bill back, unless the pizza had the wrong topping, like you ordered mushroom, but you got meatball. You can demand for a refund and get the $20 back — but then you didn’t get the pizza.

Jason: It is possible though that the store manager may let you keep the meatball pizza for free and give your $20 back. A friend of mine told me a story like that before.

Greg: Good try, Jason! But that is not a “double spending” case. Instead, it’s “no spending” because you did not spend a penny in the transaction.

Kimberly: But why do cashiers in supermarkets or stores constantly check every dollar bill from the customers?

Joy: I was thinking of the same thing. Supermarkets are looking for fake money, but fake money is one feasible way to double or even multiple spending. It uses one real dollar bill to produce thousands or millions of fake bills. To be sure, fake paper money is only possible with the right printing equipment and paper. With central bank’s monopoly power, it is impossible to produce fully authentic paper money. Cashiers with a simple device can quickly tell the difference.

Kimberly: So is it true that digital money is more vulnerable to double spending than paper money?

Greg: Let me first make a quick comment that we need to separate digital money from cryptocurrency.  The former is centrally issued just like the paper money but only exists in digital format, while the latter is decentralized, encrypted and distributed.

Kimberly: Wow, up to this point I thought “cryptocurrency” and “digital money” were different names of the same thing!

Greg: I recommend this article of Investopedia entitled “Digital Currency.” The authors correctly point out that all cryptocurrencies are digital currency, but not all digital currencies are cryptocurrency. Digital money has three types. The first is cryptocurrencies like Bitcoin and Ethereum; but we also have the so called “virtual currency” like casino tokens; and finally Central Bank Digital Currencies or CBDC, issued by central banks.

Joy: I remember reading this article from Times of India that says one of the striking facts of life is that an estimated 92% of the world’s currency is digital. I believe that estimate is right because all transactions between banks, between banks and firms, between firms and firms, they happen more often in digital form than in paper money. The bigger the transaction size, the more likely it is in digit form.

Greg: That’s right. If you expand the definition of digital currency to those frequently but not necessarily exclusively existing in digital form, then we can totally believe more than 90% of money today belong to that group. They are simply digital tokens. Yes, they can be printed out if needed, although I have a hard time imaging why we would want to do that.

Kimberly: Perhaps not printing out but cash out from an ATM machine. Like someone receives her monthly salary in digital form to her bank account but may need to take out a $5 bill to pay the toll if she does not have a FasTrack device.

Greg: That’s true.

Kimberly: So what does it mean for the double spending problem?

Greg: Is digital money more vulnerable to double spending than paper money? I would say no. In fact, I would say the double spending problem for digital money is overstated. There is an important technical reason for that: Digital money is much easier to be copied than paper money. However, just because it’s technically feasible does not mean it’s inevitable, because we already have powerful means to control and prevent the problem.

Kimberly: What are the means you have in mind?

Greg: Because digital currency is centrally controlled, the same central authority becomes the means to fight double spending. It will have detailed ledger to track down every digital dollar and nobody can escape from that monitoring and central auditing — unless the kind of double spending approved by the central authority.

Kimberly: We can have legitimate way of double spending?

Greg: Oh yeah, it happens all the time. All commercial banks are required to have certain amount of money in reserve but can make commercial loans above its limit. This is a legitimate way of double spending the reserved money. Say a bank only has $1 million in cash but can make $1.5 million loans. We just don’t call it “double spending” but “leveraging.”

Joy: On the other hand, like we talked about earlier, paper money is not any safer than digital money. Fake paper money can happen to every one of us on a daily basis. Just because one cannot spend the same dollar bill twice does not mean double spending is impossible for paper money. It is possible, mostly through fake dollar bills.

Lily: What about cryptocurrency? Are they more vulnerable to double spending?

Greg: Once again, the possibility of double spending for cryptocurrency is exaggerated. If anything, the blockchain has made double spending very difficult — even without a central controlling authority. There is an article in Investopedia that says that the “likelihood of a secret block being inserted into the blockchain is very slim because it has to be accepted and verified by the network of miners.” In fact, “it is more likely that a cryptocurrency is stolen from a wallet that wasn’t adequately protected and secured.” In conclusion, it says “(t)here isn’t actually any recorded instance of double-spending. The cryptocurrency community believes that all double-spending has been thwarted.”

Emily: We still have not touched on the comparison between Proof of Work and Proof of Stake yet. Looks like we will get to that another day.

Categories
Blockchain Cryptocurrencies & NFTs Financial talks at dinner table

Digging Deeper into Crypto Mining

The Kingstons continues their intellectual journey on blockchain in relation to cryptocurrency. The previous days were on foundational topics like the cryptocurrency algorithms, decreasing reward to miners, and most importantly the cryptography that sits behind all cryptocurrencies. Today they are ready to talk about details of mining itself, finally addressing Emily’s question from days ago.

Greg: So does everyone have the chance to watch the video I recommended? Don’t mean to put pressure on you guys.

Jason: I did. You are right and I was able to understand the show most of the time. Now I have something to brag about in my school to other kids.

Emily: It looks like the thing called “nonce” plays a crucial role in mining, Am I right?

Joy: That’s right. To mine is to play with numerous nonces. Similarly, to win in the mining game is to find the “Golden Nonce” that leads to a hash that fits the criterion or the standard hash.  

Emily: But what exactly is “nonce?” The video did not tell us, it just shows up like a magic number.

Greg: Nonce stands for “number used once,” where the first letter “n” is for “number,” and “once” for “one time.” It’s 32-bits — or 4 bytes because one byte is 8 bits and 32 divided by 8 is 4. This is a good size because it’s much smaller than SHA-256 that’s 32 bytes, again 256 divided by 8 is 32, yet big to generate a large number of combinations. Anyone wants to guess how many possible combinations there will be for nonce?

Jason: Let’s see: 32 bits and each bit has two values “0” and “1,” the possible combination will be, let me get it from my phone. “Hey Google, what is 2 to the power of 32?” Wow! It’s 4,294,967,296 or more than 4 billion different values.

Greg: Great! We need that many nonces because each one can be used only once. I hope we can get to the point later that even these many nonces sometimes may not be enough.

Joy: Now we can finally answer Emily’s questions what mining is: It is a process in which miners enter different nonces into the SHA-256 the digital “fingerprint machine” to produce different hashes and one of them may be a or acceptable for validating the entire block of transactions.

Greg: More accurately SHA-256 does not work just with nonce but with the whole block header.

Emily: What is that? I’ve heard block in a blockchain but never block header.

Greg: A block header is a “headshot” of the block with 80 bytes of 6 fields. Sometimes you see people writing down fewer than 6 fields, but they should really have listed all as all are useful. These fields are “software version” that has 4 bytes, “previous block hash” of 32 bytes, “Merkle root” of 32 bytes, “Timestamp” of 4 bytes, “Difficulty target” of 4 bytes, and finally “nonce” of 4 bytes.

Emily: Wow, lots of information here. Do fields with more bytes more important than others?

Greg: Not necessarily. Nonce for example only has 4 bytes but as the video shows it plays a crucial role in mining. The 6 fields in a block header are divided into three types. Nonce is the only one that miners have control. Others are either predetermined like previous block hash or controlled by the system like software version, difficulty target and the Merkle root, or controlled by nature like timestamp. I have a table from the book “Mastering Bitcoin,” 2nd edition by O’Reilly Media Inc in 2017. But we don’t have to understand all the details for each field, just focus on difficulty target and Merkle root and Nonce.

SizeFieldDescription
4 bytesVersionA version number to track software/protocol upgrades
32 bytesPrevious Block HashA reference to the hash of the previous (parent) block in the chain
32 bytesMerkle RootA hash of the root of the Merkle tree of this block’s transactions
4 bytesTimestampThe approximate creation time of this block (seconds from Unix Epoch)
4 bytesDifficulty TargetThe Proof-of-Work algorithm difficulty target for this block
4 bytesNonceA counter used for the Proof-of-Work algorithm
Block Header the Headshot of the Block

Jason: Just a curiosity: what exactly is Timestamp? The description says seconds from Unix Epoch.

Greg: The Unix “epoch” timestamp is based on the number of seconds elapsed from January 1, 1970, midnight UTC/GMT.

Emily: After watching the video I think I have an idea of what mining is. You click a button and computer quickly runs through different nonce until it finds one that fits the target of difficulty. What I still don’t understand is how the target hash is set.

Greg: The target is set by the algorithm. Remember we talked about how the level of difficulty is set every two weeks? The reason behind the difficulty target is also simple: We just want to keep the pace of releasing new Bitcoin at ten minutes per block. The Mastering Bitcoin book said it very well: That ten minutes per block is the “heartbeat” of Bitcoin.

Joy: That is a good expression.

Greg: The fun comes when we put nonce and target together to get a complete picture. I find this article by Kirill Eremenko in 2018 that does a fairly very good job explaining how. Another article by Blockchain Council also explains nonce well. I specifically like the simple math classroom analogy it uses.

Jason: I like math. Sowhat is the analogy?

Greg: Very simple and yet very interesting, it says in a math class the teacher gave the following problem for students to solve, and whoever gets the answer first win some award: 315 + ? = 319.

Jason: That’s it? That number is 4! 315 + 4 = 319. I bet even Cleo can solve it.

Greg: Theproblemiseasy, but it offers hints to several important concepts in mining. Turns out that “4” is nonce, “319” is the target of difficulty, and “315” is previous block hash or anything that nonce is added to for mining. Mining is to find the piece of the cryptographic puzzle — the nonce and hash value — to meet the level of target difficulty. Take a look at this picture I draw to see how nonce and target work together to produce acceptable hashes for Proof of Work. This is inspired by a similar drawing in this article but with changes.

How Level of Difficulty Controls Proof of Work

Kimberly: What changes have you made from the original?

Greg: The biggest one is to make the target hash an area rather than a single line. This reflects the changing level of target difficulty, called “retargeting,” because a higher level of difficulty means a smaller target hash. So of the two yellow broken lines the one below is harder than the one above.

Emily: It’s never clear to me how to control target hash or level of difficulty. I heard someone saying the other day that it is controlled by the leading zeros in the target hash. Why’s that?

Greg: Because with any number of a fixed length, more leading zeroes always make it smaller. Let’s compare two 5 digit numbers, one is 01234 and the other 00123, which is smaller? Of course the second one with two leading zeroes. I can even change the second number to 00987 and it won’t make a difference. This is why the number of leading zeroes controls level of difficulty. If the algorithm needs to raise the level of difficulty, just add more leading zeroes. Do the opposite and drop at least one leading zero to lower the level of difficulty.

Emily: Oh, that’s it? It sounds so easy.

Joy: It is easy. You often read people saying that mining involves solving complicated math problems. Not true. The math is easy and simple, the solution however requires more computing resources. That’s why I said that both Proof of Work and Proof of Stake are Proof of Resources.

Emily: But I still don’t see how a smaller target hash will make mining more difficult than a larger target?

Greg: Because a smaller target squeezes the space for finding acceptable hashes. Look at the picture again and if the target hash was the yellow broken line above, not below, there would be more acceptable hashes to be found, mining is easier.

Joy: Think of a room with a high ceiling versus another room with a very low ceiling, which room can hold more stuff? The one with high ceiling, right? A larger target hash is like a larger room to accept more hash values.

Greg: Chapter 10 of the book Mastering Bitcoin I mentioned earlier has an excellent analogy I believe would help us all. It tells a dice rolling story. Someone rolls two dice, and the goal is to show a number of dots below a target, just like our proof of work problem. Now, one dice has six sides with 1 to 6 dots on each side. Jason, if I roll two dice at the same time, how many possibilities of dots there will be?

Jason: Well, each dice has 6 possibilities, and two independent dice will have 6 x 6 = 36 possibilities.

Greg: Right. Now let’s say the target is to show 12 dots on two dice rolling together. Is it easy to get a “Golden Nonce,” meaning the right nonce to solve the mining problem of finding acceptable hash value?

Jason: Very easy! The only time one would loss is when she has (6,6), meaning both dice have “6” dots. All other combinations are winning.

Greg: Right! Now let’s lower the target to 11 dots. That would still be easy, as long as they show up anything below 11 dots. Keep lowering down the target until it’s 5 dots, then it’s harder, because most rolls will show up above or equal to 5 dots. Jason, how many rolls would meet the target?

Jason: Let’s see: (1,1) for both dice showing one dot; (1,2) for one dice 1 and the other 2 dots, (1,3) for one with 3 dots and another 1 dot and finally (2,2) for both showing 2 dots. I guess only 4 out of 36 possibilities qualify. 4 divided by 36 is roughly 11%, so nearly 90% of the time one loses.  

Greg: How about a target of 4 dots? Only (1,1) + (1,2) = 2 possibilities to win. For target 3 it drops down to (1,1) = 1 winning possibility.

Emily: I see your point: The smaller the target the harder to get the required nonce to produce satisfied hash values.

Greg: I’m not done yet. Let’s go down to a target of 2 dots on the same pair of dice, then we will see a really tough game, because nobody can win no matter how many times she rolls the dice.

Emily: Interesting! Are you sure about that?

Greg: I’m positive. The book I am citing from claims one possibility of (1,1) will win but that’s not true. Remember the challenge is to go below — not equal to — the target of 2 dots. The only “chances” to win are (1,0) + (0,0) = 2 possibilities but those are impossible since no dice has 0 dot as the minimum dot is 1. That’s why for two dice to show dots below 2 is impossible. Game over and nobody win.

Lily: So does it mean sometimes we will have no winner and no new Bitcoin will be released?

Greg: Of course there will be winner and a new block of transactions will be verified and added to the blockchain. It just means sometimes we will run through all the 4+ billion nonces and still find no acceptable hash below the target.

Lily: It’s amazing that even 4 billion nonces are not enough to solve the mining problem.

Greg: It’s understandable if you know how powerful computers are today. The article by Kirill Eremenko tells us that “even an average mining device can calculate up to 100 million hashes per second, and therefore will go through the Nonce range in 40 seconds. And that’s an average miner. Mining pools and industrial scale mines are able to go through the Nonce range in fractions of a second.

Lily: Okey, I can see that 4 billion nonce is not that much in the eyes of modern computers. But what we do to make sure we find the right hash to verify the new block of transactions?

Greg: That’s why Proof of Work is not just a game of nonce, we must utilize other things in the block header I was talking about earlier and then use the SHA-256 fingerprinting machine to make sure we get Proof of Work done.

Kimberly: The block header contains a total of 6 fields, we’ve used nonce and previous block hash, what else would we use?

Greg: The first extra field to be utilized is Timestamp. As Eremenko points out, “all we have to do is wait until the timestamp increases. A change in the timestamp will mean that the combination is now different and if we try all 4 billion Nonce values again, every time we will get a brand new hash value.

Kimberly: Sounds like we solved the problem once and for all.

Greg: Not really. Turned out that even the timestamp, which increases by second, is not updated fast enough. The mining pools, where miners form a club to mine together, can finish running through 4 billion nonce in a fraction of one second. We need other ways to help find the Golden Nonce.

Emily: Wow! Now what?

Greg: If there is a will, there is a way. Turns out that we can use Coinbase transaction to solve the problem.

Emily: What’s that?

Greg: Let’s first find out what Coinbase is. According to this Wikipedia page, Coinbase is “an American company that operates a cryptocurrency exchange platform.” “It is the largest cryptocurrency exchange in the United States by trading volume.” What makes Coinbase transaction special is that it is always the first transaction in each block, and it is created by miners who use it to collect the block reward and other transaction fees.

Emily: How does it work for solving our problems here?

Greg: It may sound complicated, but the idea is simple: We use the Coinbase transaction data as extra space to hold extra nonce.

Lily: How much space can we get from the Coinbase transaction?

Greg: Quite big, it can hold anywhere between 2 and 100 bytes of data. That space is called “extra-nonce space,” which provide an extra nonce mining solution. Say we use 8 bytes of the Coinbase data space, plus 4 bytes of “standard” nonce space, there would be 12×8=96 bits, or “2 to the power of 96” instead of “2 to the power of 32” as previously with the standard nonce.

Lily: Wow, with this much space we don’t have to use the Timestamp.

Greg: That’s right. The other good thing is that Coinbase transaction always enters Merkle Tree, so anytime there is a change in Coinbase transaction, it will change the block hash.

Emily: What’s a Merkle Tree?

Greg: That’s the question for another day. We will also talk about encryption and compare Proof of Work and Proof of Stake.