PoE: Proof of Effort

I really liked this idea of Proof of Effort, a riff off Proof of Work and Proof of Stake consensus mechanism in cryptocurrencies. Strikes me as a variation of RTFM. People are more inclined to help once you have shown you have tried to solve your own problems.

First Article, On-Spec: Ergo’s Hybrid Method for Counting Costs

I wanted to note that I wrote an on-spec piece for the Ergo cryptocurrency that was published yesterday. It started with watching this developer update, where Joe Armeanio, the business manager for the Ergo Foundation, mentioned that they were looking to translate a technical topic for a general audience. I volunteered to do it. The editorial team sent me the link to the developer’s paper (morphic). I did a summary. morphic reviewed what I had written, twice, and we got it to the point where he thought it was correct. An editor from the group reviewed the article, and he made a significant number of changes. The community read it, and someone made a title change suggestion. It went from idea to finished piece in just over 24 hours.

It’s the first time I’ve been paid to write. The funny part, I had so much help, it hardly feels like I wrote it at all. Recommended experience.

Why Ergo?

Ergo is different from other blockchains. It is focused on providing a decentralized, open, permissionless, and secure platform for contractual money that is usable by ordinary people to pursue their common good over the long term. It is designed to be resilient in the face of different economic environments and competing interests, allows individuals to choose how much privacy is right for them, and offers economic opportunity to the people using the blockchain.

Ergo has the technical capability to provide a wide variety of services to the decentralized financial cryptocurrency ecosystem and to enjoy comparative advantages, whether that comes from oracle pools, logarithmic mining, profit sharing protocols or other innovations. However, while Ergo offers a lot of technical capability not available on other chains, the real value of Ergo is its focus on providing the tools for the financial success of ordinary people, like you and me.

Introduction

“The real problem of humanity is the following: we have Paleolithic emotions, medieval institutions and god-like technology.”

–E.O. Wilson

We are witnessing the birth of a new era, one where well-established elements of computer science, such as cryptography and distributed systems, are combining with fields of finance and game theory to bring a new economic and social order. Who will reap the benefits of this new era?

Shifts of this kind tend to create new social classes. For example, the Industrial Revolution and the emergence of capitalism made being royalty and a feudal landlord less important.

With change, there is opportunity. But, frequently, the opportunity is limited.

What is new is that blockchains make it possible to facilitate transactions between businesses of any size, between people in any geographic location and that can work in any economic, social or political environment. Blockchains can unlock synergies and new ways of exchange and interacting.

Blockchains are a new method of accounting. Just as double entry accounting introduced a formal and methodological rigor to bookkeeping that transformed medieval businesses into capitalist enterprises, blockchains have the potential to upgrade our medieval institutions into something that serves the common interest more than elite interests by providing mechanisms for financial exchange, decision-making, arbitration, and so forth that were not possible before.

The Challenge

People don’t like change. Medieval institutions who serve entrenched corporate, state and other interests will want to limit the opportunities of blockchains to enrich themselves. Even with the best of intentions, it is a challenge to broaden access to opportunity. Everyone wants to help the hungry, but few people want to give up their lunch in order to do it.

So, the question is how do you grow the pie? Do you grow the pie by focusing on large economic actors, such as governments or businesses in the Fortune 500, who then, presumably, pass along portions of the pie in the form of more goods and services at less expensive prices? Or, do you grow the pie by focusing on the needs of ordinary people and creating new opportunities with this technology that didn’t exist before?

And while it is necessary for a blockchain to have multiple constituencies with different interests, such as miners, liquidity providers, developers, entrepreneurs, users and so forth, some groups are in opposition. If you are focused on cross-border payments for large businesses, it’s not the same as being focused on cross-border remittances of people without access to traditional financial services. The software for these two use cases will be very different. While it is possible the same blockchain can serve both groups, it’s going to serve one of them better.

When using, or investing, in a blockchain, one of the key questions is: Whose interests does the blockchain serve? Who is threatened by it? And how can it be attacked?

The Power of Ergo’s Proof of Work

Ergo’s proof of work provides a powerful example of seriously considering the problems that come from various attacks, whether they be 51% attacks via centralized pools or regulatory attacks on infrastructure, such as China’s displacement of blockchain miners.

Ergo addresses this issue by implementing an algorithm designed to be mined on commodity hardware by users of the blockchain. Right now, there are smart contract pools that allow people with a single GPU graphics card to mine Ergo and verify the blockchain in return for some cryptocurrency. And with Moore’s Law, this commodity hardware becomes more accessible over time, as graphic cards with the same capability become less expensive.

It provides more opportunity, for more people and results in a more secure blockchain. What’s not to like?

Capabilities & Environments

Almost every blockchain claims to value decentralization. But, if you need people with specialized hardware to maintain your consensus, then you are beholden to people with that specialized hardware, or to the governments that can ban them.

People talk about the number of transactions per second, the market capitalization, the price, the size and productivity of the applications on the chain. But, there is much that is not discussed.

For example, people rarely think about longer term issues, such as the fact that blockchains have lifecycles. Blockchains will have to operate during times when a significant portion of the local, regional and global environment is experiencing a pandemic, a war, or some other factor that threaten their ability to function. How prepared are they to meet that challenge?

It is not hard to imagine that various blockchain ecosystems becomes important to our daily lives, such as when there is a digital national currency, and a failure could lead to catastrophic outcomes, such as famine. How many people in the cryptocurrency space have given that possibility consideration? Your lambo is useless in an environment where you don’t have enough food to eat.

At this time, most blockchains are building their infrastructure. They aim to increase their market share and capability of their dApps. But, if you don’t have your eye on the potential problems that will manifest over time, you’ll make design decisions that will be difficult to fix later, e.g., Ethereum’s move toward Proof of Stake in an effort to resolve their problems with fees. And every design decision has positives and negatives.

Ergo’s Positives & Negatives

  • Financial capital: A fair launch means you don’t have a lot of money sitting around to fund development. There are ways this problem can be solved, such as establishing funds that people that are interested in certain kinds of development or a particular dApp could contribute to that would help make them a reality. This also has the advantage that it establishes that there is interest and perhaps even a market for the software being developed.
  • Human capital: There are many excellent developers already working on Ergo. With financial constraints, it isn’t possible to bring on as many developers as some other blockchains, but this fact also leaves more room for organic growth. If adoption were only about market share, then Ergo is at a disadvantage. However, there are many niches that Ergo’s technology can fill. Some niches may not have many options and developers will be enticed to the platform because it can solve problems other blockchains cannot.
  • Infrastructure: You need wallets, dApps, APIs and so forth. The software that faces the user of the chain needs a lot of work. However, the underlying chain technology is great, or has great potential, and the dApps and consumer facing technology will only improve from this point.
  • Open source: It’s important to recognize that open source does have drawbacks. Many open source projects are a labor of love that don’t have good incentives, which can negatively impact projects by making it difficult to keep developers, create schisms that undermine the project or lead to other problems . But, there is also real value in not having to reinvent the wheel when building an application. It’s easier to leverage an existing code base, modify, and iterate than it is to write code from scratch. However, open source requires evolution, which takes time and implies some tolerance for error.
  • Synergy: The ecosystem is young. But, there is evidence of clustering of services, such as the development of a profit sharing contract that can be used by any dApp, the building of cross-chain functionality, the launch of a variety of stablecoins, etc. These kind of interactions implies both competition and an attempt to accommodate a variety of use cases.

Conclusion

Who is using the blockchain? Without many dApps, it is primarily people investing in the chain and transferring Ergo to and from exchanges and wallets. So, Ergo is a promise. It’s an idea that blockchains can be a vehicle for the economic good of ordinary people. But, there needs to be a lot of development before Ergo can fully deliver on that promise. Investing in that promise before it is fulfilled will both help make it reality, and it has the potential, if the promise is fulfilled, to benefit those willing to make that investment.

Acknowledgements: Many of the ideas in this essay came from Joe Armeanio’s response to a reddit post outlining Tascha’s A Checklist for Layer 1 Blockchain Investment.

Mining the Ergo Cryptocurrency in the ergo.getblok.io Pool

Mining Ergo as part of the ergo.getblok.io mining pool is easy, particularly on Windows. If you already have a Ergo wallet, it can be set-up on a computer with a GPU video card compatible with mining Ergo in less than 5 minutes.

For Ergo, you need a card with a minimum of 4GB of RAM, ideally more. Create a Ergo wallet using Yoroi, if you don’t have one already. Download mining software compatible with your card, i.e., T-Rex (Nvidia) or RedTeamMiner (AMD). Extract the mining software file in your Download directory. Open a text editor, and type in (or copy & paste) the following, assuming in this example you are on Windows:

setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100

C:\Users\your_username\path\to\mining\file\t-rex.exe -a autolykos2 -o stratum+ssl://ergo.getblok.io:4056 -u <YourErgoAddress>.<AnyNameYouWantToIdentifyTheComputer>

For clarity, <YourErgoAddress>.<AnyNameYouWantToIdentifyTheComputer> should look something like:

C:\Users\cafebedouin\Downloads\t-rex-0.24.7-win\t-rex.exe -a autolykos2 -o stratum+ssl://ergo.getblok.io:4056 -u 9g1p6UU8XoAeU4yGPLpbTHYiG8aBHwfCFzQqJZrfzuLnmF3zb7P.covertmixeraddress

You can find your address by going to the Receive tab in Yoroi, you can then go to the getblok.io website and put in the information this page asks for and it will provide the information above for you. Save the file as ERGO_mining.bat. To start mining, simply click on the file.

Note: If you have a virus protection program like McAfee, you’ll need to restore the t-rex.exe file after extraction and exclude it from Real-Time Scanning in order to run it.

If you want the mining software to start when you reboot your computer, then, save ERGO_mining.bat in C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. If you have trouble finding the Startup folder, you can always save ERGO_mining.bat somewhere, type the Windows key + R to get the shell prompt, then type:

shell:startup 

This will bring up the Startup folder, and you can drag and drop the Ergo_mining.bat file into it.

Linux

This is harder for me to comment on since I am using a AMD card on my Linux machine, which can be a bit of a PITA to configure correctly. These instructions will get you in the ballpark with an AMD card, but be prepared to do some troubleshooting.

Let’s assume that you somehow managed to get your graphics card working on Linux. Then, the process is very similar to Windows above. Open a text editor and type the following:

#!/bin/bash

export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1

/home/cafebedouin/Downloads/teamredminer-v0.8.6.3-linux/teamredminer -a autolykos2 -o stratum+ssl://ergo.getblok.io:4056 -u  9g1p6UU8XoAeU4yGPLpbTHYiG8aBHwfCFzQqJZrfzuLnmF3zb7P.covertmixeraddress

Then, save the file as ergo_miner.sh. At the command prompt: chmod 744 ergo_miner.sh and then just run it as usual, by typing: ./ergo_miner.sh at the prompt. If you want it to automatically run whenever you restart your machine, this image from linuxconfig.org tells you everything you need to do to set it as a systemd service.