Crypto Economies Do Not Own Fighter Jets
Got any alpha this week? Join me in thinking about court systems and economies, but make it virtual and techy
first, a word from me
~Just your standard edition this week~
If you want a rare genesis POAP, I have a few leftovers. Reply to this or shoot me a DM and I'll send you a code that someone didn't claim (first in, first out). Also, a reminder if you're an OG subscriber to claim yours before the code gets reused!
You're amazing for reading this. I'm writing IoV because I want to write about crypto, and I'm thankful for all of you that choose to read along with me, even if it's too much jargon.
also, check out these sick NFTs I picked up this week
media that caught my attention last week
👨💻 Eye-watering $600M exploit, but it's getting returned (?)
🔥 50,000 ETH has been burned since Ethereum upgraded to EIP1559
dune analytics dashboard of the week
my weekly alpha
Saber is a stable swap protocol on Solana. On Ethereum, we have Curve finance. These protocols are useful for swapping between assets that are 1:1 in value. Examples of these include the different stablecoins (USDC, DAI, etc...) as well as derivatives of assets like ETH and BTC (e.g. wrapped bitcoin). On Solana, you can use Marinade finance to stake your SOL tokens and receive mSOL as a liquid asset. You can supply either mSOL or SOL to the pool on Saber, stake that, and earn ~10% APY in Saber's token SBR on top of any pool fees (which are usually a few percentage points or less) and on top of mSOL staking rewards. Why do I like this? You get exposure to SOL and mSOL staking rewards, earn some extra swap fees when people use the pool, and get to mine SBR, which is an important piece of DeFi on Solana. There's no peg risk since mSOL can always be trustlessly unwrapped back for SOL. There's one caveat — when you provide liquidity to the pool, roughly half your assets will be in SOL and the other half in mSOL, which means you get less exposure to staking rewards from mSOL. This is made up for in the SBR rewards and pool fees, but if the rewards stop and trading volume decreases significantly, it'll just be better to hold mSOL.
Conflict Resolution, Optimistically
There's an analogy I've heard a number of times that is paraphrased as:
When you go to buy a coffee, it's the fighter jets in the US Military that, after quite a sequence of cause & effect, ensure that your credit card transaction credits the merchant.
This sounds absurd, but it's really not. Provenance in the real world is tricky. Our trust assumptions rest on our courts upholding a fairly neutral account of (paper) law. But what upholds the courts? Well if you're an individual challenger, maybe a police officer or two will "uphold the courts." if you're a large, organized group, or perhaps a nation-state, the military will uphold the courts. The point is that government in the physical world has a sort of monopoly on violence, and under that assumption, we're free to go about making deals and contracts with other people.
Crypto is quite wacky. If someone halfway around the world steals your funds or your favorite NFT project rug pulls, there's no universal authority you go to right the wrong. In fact, with the way crypto is built, you'll likely never be able to resolve the problem after the fact. Crypto economies differ from traditional economies in that:
Crypto economies are sovereign and self-sustaining, and can even function in a (virtual) vacuum.
Traditional economies scale with labor, while crypto economies scale with the distribution.
When enough participants of a shared system are at risk of general conflict, we need a mechanism for consensus. Paying for your coffee at Starbucks, consensus lies with a centralized authority that is likely Visa or Mastercard (and the courts as a backup if they become unruly). When sending cryptocurrency like bitcoin, the consensus is the proof of work algorithm that miners run on dedicated hardware that underscores the bitcoin network.
It's a huge breakthrough that consensus in crypto is derived from cryptography. There's a side argument to be made around social consensus on which blockchain is legitimate, but assuming the big ones like Bitcoin, Ethereum, and Solana have a sufficient number of people that believe assets in their ecosystem are real, the consensus is then fully derived from cryptography.
The handy thing about cryptography is that it is as sovereign as the laws of physics. There's no human influence, and you're better off trusting (to the nth degree) information made by wallets signing with a private key over trusting information from "people" on social media networks.
Ethereum scaling solutions
Conflict resolution re-enters the sphere of thought once we look at scaling blockchains by doing things off-chain and then reporting related data on-chain. This is essentially what the rollups do. Think of it as a zip file for transactions. Rather than using precious units of gas on an expensive chain like Ethereum, why not compute the result somewhere else and just post the result? The technical issue is with conflict resolution. In a world without zk-snark rollups (that let us prove the computation was correct with cryptography), we need ways to resolve conflict when a rollup posts the wrong data/results. The elegant consensus for this turns out to simply be optimistic.
Optimistic conflict resolution says that we only assume no conflict until there's proof that wrongdoing happened. Optimistic rollups as an Ethereum scaling solution, hence, can zip up any number of transactions and say they happened to Ethereum.
Example: Say I'm a participant in the economy on Arbitrum (an optimistic rollup). I'm providing whatever value by selling NFTs, and Arbitrum makes these transactions way cheaper by computing my complex royalties logic for how much I should get paid when people are trading my art, and then simply posting the resulting balances back to good ole secure Ethereum. If a bad actor colludes with an Arbitrum node to trade one of my NFTs without paying the royalty defined in the smart contract, I'm on the tail end of that and will be upset. Thankfully, conflict resolution is simply going to Ethereum, and asking it to prove the legitimacy of the suspicious transaction. The cryptography will quickly surface that the result is fraudulent since I wasn't credited my royalty, and punish the node that colluded with the bad actor. A lose-lose situation for all.
Oracles
Oracles are so important to blockchain economies because they inform autonomous participants like smart contracts what's going on outside (i.e. I want to know the weather in Boston to settle a bet). Oracles are a tough problem because we cannot use cryptography to stop them from posting wrong answers. We can only achieve strong oracles through incentives and reputation. The problem space that intrigues me here is (surprise) optimistic oracles.
Here's a thought experiment. You and I are going to race, 100 meters. I'm confident that I'll smoke you, and you are equally as confident that you will prevail. Let's highlight two variants of outcomes. In one variant, there's a clear winner, and in the other, it's too hard for you and me to tell. In the former case, when the race ends and I win, we're fine settling the bet between us since it was obvious I won. In the second case, we were neck and neck, and we can't be sure that I won. If I try to claim victory, you'll object, and we'll ask our friend who was watching. They say I won and we settle the bet.
An optimistic oracle does nothing most of the time as the resulting data that is needed is entered manually by parties and everyone agrees.
UMA has such a neat implementation of this. It's literally a court system built on-chain that acts as the fighter jets for any smart contract ecosystem. Without this system, smart contracts would have to query an oracle like Chainlink for any off-chain info, adding to costs and complexity. With UMA oracles, we can go about making deals & contracts with each other and with smart contracts, knowing that we can integrate with UMA and settle disputes with their DVM (data verification module). I think this is crucial for a crypto economy.
Parting words (I'm very tired at this point)
Optimistic conflict resolution has served humanity well for centuries and has now shown its prowess in virtual economies. While ZK-proofs (a technology so powerful that it'll be a game-changer for this century) might offer the transcendence step to perfect provenance, in the meantime, let's build optimistically.
Cool!
poap