Whether youre on the head or tail end of the cryptocurrency craze, one thing is for sure: These digital assets are hitting the mainstream hard, and dont seem to be going away anytime soon. Notably, the country of El Salvador recently adopted bitcoin as legal tender, and New Yorks incoming mayor Eric Adams is intent on transforming New York City into a hotspot for cryptocurrency.
Although only 16 percent of Americans say they invested, traded, or used cryptocurrency, almost 90 percent have heard about it, according to a recent Pew Research Center survey.
Advocates for cryptocurrency and decentralized finance (where people can make financial deals with one another without being moderated by a middleman or central authority like a bank) in general argue that these platforms are transparent and simultaneously anonymousboth good things.
The key to this vision lies in a digital technology called the blockchain, which undergirds all cryptocurrencies. The blockchain serves as a virtual hall of records, or a public ledger, that records every transaction, detailing the amount as well as the sender and receivers wallet addresses.
Yet, critics and regulatory bodies are worried about the potential for harm from cryptocurrencies, such as people using them for scams, money laundering, or funding illegal activities (not to mention the enormous carbon footprint that some of these cryptocurrencies have). And experts have raised concerns about the strength of cryptocurrency networks against attacks, and whether the design of some systems have warped over time to become centralized or inherently allow the rich to get richer.
[Related: Cryptocurrency scammers are mining dating sites for victims]
For those who are just wading into the crypto territory, heres a basic explainer on how the computer science behind these systems work.
To start at the front end, this is what happens when you send and receive cryptocurrency. Keep in mind that all cryptocurrencies are just based on computer programs, bitcoin included, and that these coins are not actually money, but clippings of computer code that transfer value from one user to another. To become a part of this process, first you have to create a digital wallet. Bitcoin and Ethereum both have recommendations on what wallet works best with their cryptocurrency, and specialty exchanges like Coinbase and Gemini also offer wallets.
Whenever you create a new wallet, the algorithm running that cryptocurrency will generate a paired private key and public key associated with it. You can think of the public key as like an address or bank account number, and the private key proves your ownership. These keys are a long string of characters that identify where the crypto should go. Usually, the addresses only accept the type of cryptocurrency theyre affiliated with (although something called cross-chain bridges and exchanges can help link up different cryptocurrencies).
[Related: 6 apps to get you started on crypto]
You do not have bitcoins in your possessionyou have proof that somebody in the past sent you those bitcoins, says Nicolas Christin, an associate professor of computer science, engineering, and public policy at Carnegie Mellon University.
You can then tap some of the unspent value in your wallet, and send it to someone elses public key. When you sign to verify that you want to send the bitcoins, you generate a small personalized piece of code attached to the transaction, and the system creates a mathematical puzzle that locks up that value and scrambles the code. When the recipient is ready to spend the money, they will put a corresponding piece of code into the transaction. Everybody in the network can verify that the two pieces of code fit together (through a process called transaction confirmation, also known as miningmore on that later). This entire operation is called signature verification.
[Related: Bitcoin is having a bumpy rollout as an official currency in El Salvador]
Its impossible for someone to find a missing piece if they dont have the right information, but its super easy for anybody to verify that two pieces fit, Christin explains. Bitcoin has very little additional computational abilities beyond signature verification. Satoshi Nakamotos [the pseudonym of the alleged creator of Bitcoin] vision was to have programmable money, initially. The problem is Bitcoin became very popular very quickly and the developers decided to freeze the features where they were.
However, a new upgrade released last week could open up the possibility for supporting expanded functions beyond signature verification.
Many modern cryptocurrencies derive from the Bitcoin model. For example, Litecoin is in many respects similar to Bitcoin, but the puzzle component was slightly altered. They replaced the mining algorithm (called SHA-256) thats used in Bitcoin with a function called Scrypt, which they claim takes less energy to run. On the other hand, the creators of Bitcoin Cash branched off from a team that was working on Bitcoin to make a Bitcoin-esque cryptocurrency that can process more transactions per second.
Ethereum, however, takes a different approach. Its blockchain has an added feature called loops, which allows it to repeatedly run a piece of code, and engineers can program on top of it. Ethereum uses a mechanism called a gas that charges the person who initiated the transaction a fee to run a programming instruction. The program burns up the gas as it runs, and when its out of gas, the program either completes or terminates.
[Related: NFTs are blowing up the digital art and collectibles worlds. Heres how they work.]
Developers can build a cryptocurrency on top of Ethereum (like the stablecoin DAI), create mortgages, or unique non-fungible tokens, since theyre all pieces of code. All of those are pieces of code that are extensions of Ethereum transactions, says Christin.
Ethereum is also credited with the nifty innovation of integrating smart contracts onto their blockchain. Ethereums developers describe these as code scripts that performs some actions or computation if certain conditions are satisfied, comparing the logic of the code to how a vending machine works. If a digital art NFT lives inside a smart contract, for example, the artist can create a royalty schedule that accrues a fee every time the art is transferred on the blockchain.
Or, as another example, imagine walking into a bank and asking to borrow $10 million for the day without telling anyone your name. Somebodys going to be reaching for a red button under a desk somewhere, says Ari Juels, a professor of computer science at Cornell Tech. But you can actually do something like this on a blockchain.
You would borrow money using a smart contract, and you use it to do whatever you want to do. Typically, its used for arbitrage, where you buy and sell tokens at profit. Then, you pay back the loan, and all of that is contained in a single transaction. The way that blockchains work, if you fail to pay back the loan, the whole transaction can just be aborted, Juels says, which means that its as though you never borrowed the money to begin with.
Now, to peel back the curtains some more: To keep any cryptocurrency system running, there has to be a way to release new coins into the network, along with a way of maintaining the public ledger that tracks where all the new coins come from and where they go.
But since these cryptocurrencies are all meant to be peer-to-peer, theres no one entity that does all this, the way a traditional bank does. Instead, the responsibility of running the system falls to the whole network of participants, which is why they have to come to a form of consensus about whether transactions are valid or invalid. Each transaction made on the blockchain needs to be verified. A batch of transactions make up a block, and several blocks make up a chain.
The blockchain provides you with a different trust model, says Juels. The rules are very well defined and transactions can be executed in a rigorous, programmatic way.
[Related: What exactly is a digital dollar, and how would it work?]
There are a variety of methods used by different cryptocurrencies to accomplish those two standard tasks. Proof-of-work is the process used by most cryptocurrencies, including Bitcoin and Ethereum, to do this. Although all users get to check if the transaction was good in the end, only one user can be elected to lead the validation, add the transaction to the blockchain, and receive a reward. These rewards are how new currencies get released into the system. This operation is also known as mining. But first, the users, called miners, have to compete against each other to solve a cryptographic puzzle whose difficulty is proportional to the number of people trying to solve the puzzle. The puzzle is created by an algorithm. The only way to solve it is to try many different numbers, and powerful computers or processors can try more numbers quicker so are more likely to get the correct answer.
With Bitcoin, there is a limited amount of bitcoins in the system (21 million) and the rewards for mining decrease over time, although miners are still incentivized because they can receive a portion of the transaction as a fee. The ideal goal of Bitcoin was one vote per CPU. That has ultimately been subverted, says Juels. People are using specialized mining hardware to participate in the system. As bitcoin mining heated up, people developed and burned through specialty hardware, guzzling up electricity and creating tons of waste.
Proof-of-work still functions according to the original principle of requiring an investment of resources in order to participate in the system to mine blocks, Juels notes.
Meanwhile, in proof-of-stake systems, you pay to play, and have to stake tokens as a resource investment to participate, like putting in a security deposit that you get back once the transactions you added to the blockchain are approved by the network. The system chooses a staker who is online at the time randomly and they get to validate the transactions and receive the rewards. Because it doesnt require solving puzzles, in theory, it should use less energy.
[Related: Renewable energy cant cure Bitcoins environmental woes]
In Bitcoin, your participation in the system is proportional to the amount of computation you do, says Juels. In a proof-of-stake system, its proportional to the amount of cryptocurrency you hold in the system.
Typically the way that [both proof-of-work and proof-of-stake] systems work is that the rights to create the next block is determined randomly in a kind of lottery where your chances of winning the lottery are proportional to your resources, he adds.
While Ethereum said that it was transitioning to a proof-of-stake system, that jump has not yet happened. The existing cryptocurrency projects that use proof-of-stake have their own variations of it. For example, Cardano uses a proof-of-stake system called Ouroboros that incorporates stake delegation and stake pools. And Solana, a blockchain that you can also build smart contract programs and other decentralized apps on, combines proof-of-stake with another consensus algorithm called proof-of-history to incorporate timestamps on transactions.
Despite proof-of-stake being faster and more energy efficient, many experts have concerns about its stability and the barriers to entry. In Bitcoin, you can just start mining, in principle, with your laptop. You wouldnt do very well, but you can join the system without any type of previous investment of resources, says Juels. In the case of these proof-of-stake systems, you need to go buy some coins to participate, or be assigned the coins at the outset of the protocol. There are some people who object to the need to obtain coins in order to participate to begin with, but that is a necessity.
Alternatively, a cryptocurrency project called the XRP ledger uses a consensus protocol unlike proof-of-stake or proof-of-work thats almost democraticbut validators do not receive any rewards.
Theres another concept to know, too. Proof-of-storage (otherwise known as proof-of-space) is where youre committing an amount of space for storage in the network. The idea initially was digital preservationwe want to record everything, so at least we can use the disk space for a good purpose. It turns out its less needed than we thought, says Christin. Theres a need for digital preservation but it doesnt scale as quickly as a currency would. Juels proposes that these systems could potentially be useful for storing data from NFTs. One project testing out this concept is Filecoin.
Ultimately, despite gaining ground with large finance platforms like PayPal, Mastercard, and Robinhood, the future of cryptocurrency is still uncertainlooming federal regulations could dramatically reshape the community and the ecosystem. And the value of currencies like bitcoin remain volatile and represent risky investments. Wherever the next chapter of cryptocurrency leads, its indisputable that the popularity of this new wave of technology has already forced large financial institutions to evolve their thinking on how people want to interact with money, and with each other using money.
More:
The tech behind popular cryptocurrencies, explained - Popular Science
- University of California expands list of courses that meet math requirement for admission - EdSource [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Bombshell Betty Race car to be Reengineered and Restored By UVU Students to honor the Legacy of its Owner - GlobeNewswire [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Phyllis Coleman Mouton to receive Trailblazer Award at Women Who Mean Business ceremony - The Advocate [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Fairfield University Partners with Pulse Secure on New Cybersecurity Lab to Prepare the Next Generation of Information Security Professionals -... [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Global Cloud Identity and Access Management(IAM) Market Segmentation By Top Key Players- IBM Microsoft Oracle Computer Science CA Okta NetIQ Sailpoint... [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Stanford supports alliance of universities in diversifying STEM postdocs - The Stanford Daily [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- N.C. A&T Welcomes New and Newly-Appointed Administrators and Faculty - Yes! Weekly [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Calvin Students Place In Top 10% Of Worldwide Programming Competition - News - Calvin News [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Multiple tenure-track positions in Computer Science & Engineering job with University of Minnesota-Twin Cities Computer Science & Engineering... [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- New smartwatch app alerts deaf and hard-of-hearing users to common home-related sounds - National Science Foundation [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- MTRAC Innovation Hub for Advanced Computing awards $270000 to Wayne State University artificial intelligence projects - The South End [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- New study outlines steps higher education should take to prepare a new quantum workforce | College of Science | RIT - RIT University News Services [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Carleton Hosts Herzberg Lecture on Increasing Diversity in Computer Science with Maria Klawe - Carleton Newsroom [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- Baylor University Invites Application for McCollum Endowed Chair of Data Science - Analytics Insight [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- CHEN | Put Computer Science in the Common Core - Cornell University The Cornell Daily Sun [Last Updated On: November 11th, 2020] [Originally Added On: November 11th, 2020]
- GCVI's Tremain running to the NCAA on scholarship - GuelphToday [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Faculty, alumni, other members of U of T community named to Order of Canada - News@UofT [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Why 4-year colleges are tapping Amazon to help deliver cloud computing degrees - Education Dive [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Army Teams With Howard University on AI Center MeriTalk - MeriTalk [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- McGrath one of 10 women to earn STEM scholarship - The Riverdale Press [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- This learning platform is proving adults can benefit greatly from learning math and science - iMore [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Artificial Intelligence Is Now Smart Enough to Know When It Can't Be Trusted - ScienceAlert [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Students and schools in the news - Blue Springs Examiner [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Missouri S&T News and Events Missouri S&T faculty honored for outstanding teaching - Missouri S&T News and Research [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- HCCC Offers Opportunities for Adjunct Faculty and Instructors at Virtual Job Fair - The Hudson Reporter [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- 4-H ignites a passion for science and technology in Minnesota youth - Southernminn.com [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- MIT's New Center to Advance Predictive Simulation Research Will Focus on Exascale Simulation of Materials in Hypersonic Flow Environments -... [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Computer scientist James Allen named AAAS fellow - University of Rochester [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Center to advance predictive simulation research established at MIT Schwarzman College of Computing - MIT News [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Setting the pace in computer science education | Opinion - Paragould Daily Press [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Mohammed VI University in Benguerir Launches School of Computer Science - Morocco World News [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Asa Hutchinson: Setting the pace in computer science education - Searcy Daily Citizen [Last Updated On: November 28th, 2020] [Originally Added On: November 28th, 2020]
- Former FX tech person points out the racist trajectory of skin and hair CGI - Boing Boing [Last Updated On: December 11th, 2020] [Originally Added On: December 11th, 2020]
- AI is not yet perfect, but it's on the rise and getting better with computer vision - TechRepublic [Last Updated On: December 11th, 2020] [Originally Added On: December 11th, 2020]
- Philosophy Threatened at University of Evansville - Daily Nous [Last Updated On: December 11th, 2020] [Originally Added On: December 11th, 2020]
- Two Maryland Teachers Receive National Honors in Math, Science Education - maryland.gov [Last Updated On: December 11th, 2020] [Originally Added On: December 11th, 2020]
- Special Scientist Research, Department of Computer Science job with UNIVERSITY OF CYPRUS | 238208 - Times Higher Education (THE) [Last Updated On: December 11th, 2020] [Originally Added On: December 11th, 2020]
- Computer science jobs pay well and are growing fast. Why are they out of reach for so many of America's students? - The Conversation US [Last Updated On: December 11th, 2020] [Originally Added On: December 11th, 2020]
- Computer science grad finds success and a new academic family in cybersecurity - ASU Now [Last Updated On: December 11th, 2020] [Originally Added On: December 11th, 2020]
- What is Computer Science? in the US - International Student [Last Updated On: December 11th, 2020] [Originally Added On: December 11th, 2020]
- Accurate Neural Network Computer Vision Without The 'Black Box' - Duke Today [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Crick Named Mathematical Sciences Distinguished Alumnus Of The Year - The Chattanoogan [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Nadya's Hot Chocolate Bombs: yummy for the tummy - theday.com [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Trouble hearing in a crowded room? New 'cone of silence' could help - Science Magazine [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- James Fujimoto wins the Visionary Prize from the Greenberg Prize to End Blindness - MIT News [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- To the brain, reading computer code is not the same as reading language - MIT News [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- U of Texas will stop using controversial algorithm to evaluate Ph.D. applicants - Inside Higher Ed [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Gift from Ann S. Bowers '59 creates new college of computing and information science | Cornell Chronicle - Cornell Chronicle [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- NYS Board of Regents adopts first-ever learning standards for computer science and digital fluency - RochesterFirst [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Computer science prof Townsend recognized for educational contributions - DePauw University [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Missouri S&T News and Events New faculty in computer science - Missouri S&T News and Research [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- Retired UW computer science professor embroiled in Twitter spat over AI ethics and cancel culture - GeekWire [Last Updated On: December 19th, 2020] [Originally Added On: December 19th, 2020]
- How UC fought COVID-19 in 2020 - University of California [Last Updated On: December 23rd, 2020] [Originally Added On: December 23rd, 2020]
- Search committee appointed for dean of Princeton's School of Public and International Affairs - Princeton University [Last Updated On: December 23rd, 2020] [Originally Added On: December 23rd, 2020]
- How Yale economists are informing India's COVID-19 response - Yale News [Last Updated On: December 23rd, 2020] [Originally Added On: December 23rd, 2020]
- Top MIT research stories of 2020 - MIT News [Last Updated On: December 23rd, 2020] [Originally Added On: December 23rd, 2020]
- St. Albans City School kids were 'on the case' for Computer Science Week. What mystery did they solve? - St. Albans Messenger [Last Updated On: December 23rd, 2020] [Originally Added On: December 23rd, 2020]
- Cobb Schools receives grant for computer science teacher training - The Catoosa County News [Last Updated On: December 23rd, 2020] [Originally Added On: December 23rd, 2020]
- Scholarship honors the legacy of Terry Arthur's dedication to students - Augusta Free Press [Last Updated On: December 24th, 2020] [Originally Added On: December 24th, 2020]
- This tool helps predict which COVID patients will need hospitalization and which can be sent home - Press-Enterprise [Last Updated On: December 24th, 2020] [Originally Added On: December 24th, 2020]
- Students express concerns over teaching appointment of Jason Mars - The Michigan Daily [Last Updated On: December 24th, 2020] [Originally Added On: December 24th, 2020]
- Prince Mohammad Bin Fahd University hosted the International Conference on Computing, Mobility, and Manufacturing (CMM 2020) - PRNewswire [Last Updated On: January 10th, 2021] [Originally Added On: January 10th, 2021]
- These Are the College Majors That Pay Off the Most - 24/7 Wall St. [Last Updated On: January 10th, 2021] [Originally Added On: January 10th, 2021]
- He Was Going to Close the Family Diner. Then He Got a Sign. - The New York Times [Last Updated On: January 10th, 2021] [Originally Added On: January 10th, 2021]
- Members of Several Well-Known Hate Groups Identified at Capitol Riot - FRONTLINE [Last Updated On: January 10th, 2021] [Originally Added On: January 10th, 2021]
- Carver Community Center to offer free pampers to mothers, free coding classes for youth - Marshall News Messenger [Last Updated On: January 10th, 2021] [Originally Added On: January 10th, 2021]
- MIT's College of Computing building takes shape as Alexandria and BioMed make moves in Boston - Cambridge Day [Last Updated On: January 10th, 2021] [Originally Added On: January 10th, 2021]
- Bylaws of the Department of Computer Science and Engineering - Nevada Today [Last Updated On: January 10th, 2021] [Originally Added On: January 10th, 2021]
- Student-run HPAIR conference goes virtual this year - Harvard Gazette [Last Updated On: January 16th, 2021] [Originally Added On: January 16th, 2021]
- JUST IN: Computer scientists in breakthrough - The Herald [Last Updated On: January 16th, 2021] [Originally Added On: January 16th, 2021]
- Optimizing Traffic Signals To Reduce Intersection Wait Times - Texas A&M University Today [Last Updated On: January 16th, 2021] [Originally Added On: January 16th, 2021]
- STEM Majors: Interested in a 1-Credit Course About Teaching Math, Science or Computer Science? - University of Arkansas Newswire [Last Updated On: January 16th, 2021] [Originally Added On: January 16th, 2021]
- Stanford AI scholar Fei-Fei Li writes about humility in tech - Fast Company [Last Updated On: January 16th, 2021] [Originally Added On: January 16th, 2021]
- Professor in Computer Science - The Voice Online [Last Updated On: January 16th, 2021] [Originally Added On: January 16th, 2021]
- Expansion project to grow computer science learning, research at Algoma University - Northern Ontario Business [Last Updated On: January 31st, 2021] [Originally Added On: January 31st, 2021]
- Teacher of Year finalist expanding Walden Grove computer science program - KGUN [Last Updated On: January 31st, 2021] [Originally Added On: January 31st, 2021]
- Here's why you should get a master's in computer science - Study International News [Last Updated On: January 31st, 2021] [Originally Added On: January 31st, 2021]
- Two UWF teams place in top 5 in national artificial intelligence competition - University of West Florida Newsroom - UWF Newsroom [Last Updated On: February 5th, 2021] [Originally Added On: February 5th, 2021]
- WNMU Board of Regents Virtually Sits Down With Legislators, Governor - WNMU News [Last Updated On: February 5th, 2021] [Originally Added On: February 5th, 2021]
- Department name change signals broad impact on computer and information technologies - Princeton University [Last Updated On: February 5th, 2021] [Originally Added On: February 5th, 2021]