Tokenomics for Censorship-Resistance

Token Engineering Barcamp Paris 2023 · 22 Jul 2023 · 30:12

At the Token Engineering Barcamp in Paris, Nate of Token Dynamics argues that protocols built for censorship resistance need more from their tokenomics than ordinary projects do. Building on his demand-side framework of protocol utility, value capture and economic security, he shows how the three pull against each other, with Uniswap, Terra and Bitcoin as examples. His main case study is Tornado Cash, which he walks through user group by user group to argue that too little privacy and value capture left its developers exposed. He closes by calling for privacy by default at the base layer and for treating economic security as something a protocol inherits from its dependencies.

Speakers

Topics

From Token Engineering Barcamp Paris 2023, hosted by Token Engineering Academy.

SUPINFO Paris

Transcript

here really appreciate it pretty excited about this talk this is going to be a building on my demand side tokenomics talk with chamber so if you haven't seen that check it out after this one it'll make a little more sense we go in some more detail on demand side tokenomics but today I'm going to be talking about how to design when censorship resistance called my name is Nate I go by eating sleep crypto I've been writing about token economics and related to the last six ship resistance is near and dear to me because this is what it's all about it's about censorship resistance built can't be stopped whether that's by an economic competitor or a state actor and so I'm going to be talking today

about how to do that for the protocols that you were designing and give you some tips on building tokenomics and design token economic at first I want to start by defining what tokonomics is I use the word tokenomics to describe all the things that everyone calls token economics or token engineering or tokenomics and I recognize that there are some nuances there but I'm going to be using the word tokenomics to describe all umbrella term for and tokenomics as a word is made up of token and economics and economics is made up of supply and demand so the first thing I want to talk about a little mental model for you is the idea

of demand side tokenomics not illustrate the differences between supply-side tokenomics and demand domain so supply side is mostly concerned with creating artificial scarcity to pump the topic price it's also concerned with the tokenomic mechanisms that you're using that are decreasing the front and with Supply allocation and distribution these are the three principles of supply-side tokenomics if you need whereas demand side tokenomics and I'll go into this in more detail maximizes the token's value based on its use in the product we're getting users to purchase this

token off of order books in order to use it in the protocol and that's made up of the principles of tokenomics or principles that I've created over the last few years that I'm going to Dominic and just to give a a functional definition of tokenomics to Comics is the study of how a token's use affects its price it also incorporates protocol design there's governance as a subject sub header of that but this is a functional definition for us and another functional definition tokenomics are the ways in which a token is used that cause it to accrue value so supply side to economics first if you've been in the space for any amount

of time you've probably seen a cap table that looks like this it has a lot more colors but this is the essence of those cap tables those user investor split in a product a protocol allocate allocate and supply-side tokenomics is made primarily of supply-side concerns so Supply like what is the emission schedule how many tokens are we giving out at what frequency to whom and then lock-ups are an example of a supply side tokenomic mechanism these decrease the amount of circulating tokens in an effort to increase the price that magnifies any existing value that you have in a protocol investing is another supply side concern so how

frequently are investors able to sell their tokens is that a rolling vest is that every quarter after a certain period of time is it a is it a lonesome vest so these are supply side considerations and we have allocation over here Illustrated and then distribution so distribution mechanisms are supply side concerns concerned with where is the supply going how is it getting there and there are some some considerations to distribution like legality and Equity whether there's a fair distribution these are a few examples of distribution mechanisms that we've seen so proof of work contrary to popular belief is more

of a distribution mechanism than a consensus mechanism in time feel free to ask questions after the talk icos were a great one I think we're going to see an Ico comeback Niche from Factory Dow talks about this a lot I firmly believe we're going to see more icos in the future that is a distribution mechanism and air drops or another distribution mechanism that people use so contrasting demand side tokenomics and I'm going to give some examples here and start to give examples and try to the principles of tokenomics are makeup demand side tokenomics so the principles are utility value capture and economic security so protocol utility is

analogous to the value that you're and that's different from the value that you capture we'll talk about that in a sec but protocol utility and designing for protocol utility first looks at what the unique value proposition of is so you want to look at what properties of a blockchain does this protocol require among those is going to be censorship resistance if your protocol is doing anything important anything that's built to last it's going to need censorship resistance so that to me is the only 10x value proposition in crypto it's why I'm speaking about this because if we don't design for censorship resistance we can just use stratify we can just create

so in protocol utility you're also going to be looking at what groups of users are served what groups of users get value from this protocol and matching those user groups based on their needs and wants or halves and wants and finding coincidences of one synchronizing users in a way that's uh positive sum for everyone like maker down master 's lenders and stablecoin holders with uh two mercenary groups of users which were the governance board to modulate the peg stability the the birds who are liquidating liquidating Heat in the V1 of the

protocol so you're going to be looking at the user groups and trying to maximize your Tam your total addressable market so this is all under the head ache protocol utility the total addressable Market is the amount of value that you can address and provide in your protocol and a good proxy for that is going to be by looking you want to look at ways that the existing the problem that you're addressing is solved and went to by incumbents or in Trad five by existing service providers and then you can figure out what percentage of that total addressable Market you can find so this is kind of like looking at the you can appraise tokenomics in in this way you can also design tokenomics in

this way and it all has to do with leveraging the unique properties for blockchain so I have uni swap up here they're a good example of somebody that's created a lot of utility that hasn't actually captured any of that value so value capture is analogous to profit in a business just because you create a lot of value doesn't mean your token is valuable the token has to be used in the protocol in specific ways which we call tokenomic mechanisms to improve value so one of the examples of token mechanism use as collateral you saw that in Tara I'll go into that in a sec but other protocols that use collateralization between a lot of value are synthetics we see

we see mirror protocol was on Terra as well but Thor chain is an example that I'll go into later so these have like tokenomic mechanisms ways the token is used which cause it to recruit value and those mechanisms have a degree of Leverage so economic Leverage is the percentage of value captured to Value created and you can measure that that's a that's a ratio that will help you figure out whether your mechanism is secure or not has any price dependencies and also is a measure of like like profit in a business it's like a profit now long value taxer is important and looking at mechanisms is important because you want to figure out what the

price for of a token is you want to find the you want to find and generate the minimum possible price for a token based on its use in a protocol so for example Monero processes let's say 10 billion dollars a year on the dark web it's something like that but we don't know it's in the Narrows Anonymous and private by default but the idea is a currency has to be worth at least things that it pays for divided by the number of times each unit of currency is used so if each unit of Monero is used 10 times and it's processing 10 billion dollars then the price floor of all Monero in total is a billion dollars divided by those Monero that are used

the circulating Supply so this is called the equation of exchange you can look it up it'll be interesting all call you later this was uh first formed by John Stewart Mill popularized by Milton Friedman and it's a great way to value a currency so the last thing I'll say is that these mechanisms of value capture correspond to basically three asset classes those are equities Commodities and currencies and each of those are valued differently and so the tokenomic mechanisms that you're incorporating need to be considered based on what their analogs are that will give you an idea um and then the third principle of tokenomics is economic security so this

is the alignment of incentives also called incentive compatibility in a protocol and it consists of the way to distinguished Economic Security from technical is technical security is a lack of bubs in the code Economic Security is a lack of bugs in the incentives and so that that corresponds with the absence of the three E's those are externalities edge cases and exploits these are the three E's of Economic Security so a fire hose of information so you'll be able to digest it later and we'll be recording the talk so feel free to ask questions about this I'm going kind of quick but this is to set up censorship resistance fit

and this is demand side tokenomics the demand side token on experiment so as I mentioned there are three principles of tokenomics and there are trade-offs between each so we talked about the trade-off between protocol utility and value capture uniswap doesn't capture very much value and even though they've processed over a trillion dollars in swaps since they're an exception they've only managed to capture less than a hundredth of a percent of that and their current fees are very low and their token ultimately their token price is not justified it's not even close based on the amount of fees they're going to capture and they have this problem where they can't just turn on the fee switch because then LPS

will go somewhere else so by forgetting to or intentionally not capturing value and putting it off until later they set the bar at zero value capture so that every other a m that's come since then has had to capture a negative value with an inflationary coin to subsidize liquidity so they're between a rock and a hard place and that is the problem with actually one message to all of you token Engineers is capture value up front don't pay until later don't leave an option for people to use the protocol without using the token or capturing value in some way second trade-off how do you capture and economic security

so we saw this with Tara they had uh eight things that went wrong you could read the pricing the postmortem on YouTube crypto.com but there were eight Economic Security flaws that if had any one of them not happen Tara and Mike now I have collapsed or might not have collapsed this spectacularly or quite so soon and that was because fundamentally they had a defendant token price built into the protocol because of too much value capture so this mechanism of collateralization is dangerous and needs to be moderated and uh tempered with other token on it mechanisms the third trade-off here is the trade-off between economic security and protocol utility and I have Bitcoin up

here because Bitcoin has an economic security problem people started to talk about this it's encouraging that people are talking about it there are helpful decent Solutions but the long short of it is users are being asked to pay exorbitant fees which decrease is their protocol utility at to subsidize Economic Security the other three alternatives are proof of stake which the Bitcoin Community has been very reluctant to to increasing the block size which topic of debate for four or five years and they're not going to do that or increasing the token Supply above 21

million to subsidize security and they're definitely not going to do so they have a problem between the trade-off of protocol utility and economics good protocols optimized for all three of these principles so you can do that by capturing value creatively or have what I call a telian monopoly as in P or teal where you are the only provider provider street that will help you optimize for all three principles and not have these trade-offs and to get concrete here I want to go through just these trade-offs I already mentioned the trade-off between unit swap's protocol utility and value capture so they're represented on the bottom because they have protocol

utility and economic security but they're missing value capture uh on the west we have Luna we have terra which has value capture and a degree of protocol utility at the at the cost of Economic Security and then on the right here a lot of you are going to know this I've been using no one knows this this is eye exact RLC they're a French company they've been around since 2016 2017 and they have value capture and some economic security their token is used as a medium of Exchange in the protocol but the protocol is total addressable Market is relatively small because they do verifiable distributed computing on a blockchain and there are relatively few

protocols or people users for that a relatively small total addressable Market of users who are willing to pay all of the costs of redundancy that blockchains incurred to so they are lacking some measure of protocol utility as measured by the total addressable Market of their protocol everybody always asks me what protocols have good tokenomics so I'm actually going to share a few that I've been appreciating lately one of them is Thor chain there are cross-chain decentralized exchange they are censorship resistant they're missing some things and they're protocol economics their tokenomics are not perfect but they overall do a good job

at solving for the trilemma for reaching these meeting these three principles of tokenomics Nim is another protocol that has pretty good demand side tokenomics their allocation and supply side is not the best but the demand side is great it's pure and simple a utility token it's used as a medium of Exchange in the nymph all which is a think of it as an as in the word but better mixed net so it allows message passing it allows you to preserve your privacy on ethereum and other chains by keeping your it address and other identifiable information hidden so Nim has good demand side tokenomics

and this third one is unicrow unicrow is a universal escrow primitive they have so Alice and Bob want to transact with physical Goods they appoint Charlie in common to be the Arbiter of that transaction and it's in it's integrated into any case and it's a very very useful primitive they capture value plain and simple with fees into the protocol and so they're more of an equity-like mechanism as I mentioned there are Equity commodity and currency like mechanisms so each of these could correspond Loosely the other two correspond more to commodity or more to currency like mechanisms

okay so censorship resistance part so tornado caps we're going to do kind of a case study postmortem on this and talk about what features they have and why uh why they need additional features to be fully censorship resistant so tornado cash is a privacy protocol and enables users to hide the um hide their transactions in a privacy preserving manner so I think you're all familiar with this their value capture is a point three percent fee that goes to the treasury that's managed by the torn token holders and they've accrued 20 million dollars in total fees as of a couple months ago but uh this amount is not enough to keep

sensor keep tornado cash running it wasn't enough to keep the developers out of prison it's not enough to fight off State actors who are putting lawsuits up against people and for that reason tornado cash is at least not censorship resistant enough in the developer vector and we'll go over what the vectors are and where protocol looking at their Economic Security they obviously they had a governance exploit recently that was because they had too much complexity in their protocol to manage and advocate of non-governments talk about that but obviously they had

like some economic security problems we're going to be talking mostly about the other things that they need to do different we need to be somebody that's just too easy and it's hard to design protocols right so not knocking them out at all these are some metrics this is the percentage of ofac compliant blocks thankfully it has gone down but uh early on when tornado cash got banned got the ofact in violation notice the ofact complaint the percentage of ethereum validators who are not processing tornado cash transactions was up to 95 and so it could take 10 20 minutes for someone to get their transaction included

thankfully people are still willing to process these transactions but it's at Great cost because they can potentially be pursued by ofac because ethereum doesn't have privacy of the base layer so one of the things I will talk about is that Economic Security is inherited from your dependencies so you have to think about what kinds of design constraints you have and think about whether your dependencies follow those design constraints as well on the right here we have the number of tornado cash withdrawals which you can see dropped off quite dramatically around the time of the Oak this speaks to tornado cast not you know if it had tornado cash been fully censorship resistant in all terms

the censorship that was applied to it would not have affected that volume it would not have affected this would not have affected this and so I want to walk through this table here and point out some of the the features that were are important for censorship resistant protocols and talk about CAD tornado cash had those and what the outcome would have been how that would have been different so here we have our user groups of the tornado cast protocol we want to start with depositors did not have privacy and there was sufficient value still being provided for them so it's not that tornado cash became less valuable it

might have because the anonymity set is lower but they lacked privacy and so people are not depositing into tornado cash because they don't want to be sanctioned by effect or hit with a fine or put in a cage and decentralization is not particularly that applicable because these are essential groups of users not protocol themselves moving on to with jars they might have privacy but it's like did they run in did they obfuscate their initial source of funds that might be mixed in with these with the ethereum funds that they're withdrawing uh this privacy is amazing because ethereum doesn't have 5c by default

the value is still there for with jars so we're still seeing people withdraw the ratio of withdrawals to deposits is significantly higher than it was before but uh they are not withdrawing they're the number of withdrawals the volume of withdrawals has dropped in half since the ofact steadily Rising again three layers part of the tornado cache protocol if you have privacy no but uh they have enough value that they're still being paid it's between 1.0.1 and 0.5 of the protocol might be 0.00 zero five percent of the protocol but relayers are being paid enough

presumably to continue relaying because they've been doing that and there are enough free layers that of those who are that there are enough that are not worried about the lack of privacy that they uh encourage them so governance does not have privacy there's some value still being provided to governance but the rest of you know everything else the lack of volume is affecting the desirability of providing those governance services at such a great risk and ultimately they didn't have enough decentralization in their governance to they didn't have enough Economic Security to prevent the exploit gloss over that they didn't have enough uh visualization to keep the governments

going all the devs abandoned tornado cash and that was because they lacked privacy at the most important levels developers the again those same same kind of thing for developers so lacking privacy lacking value there was not enough value captured initially by the developers to keep it's Alexi out of prison and this is a serious concern for people that are building censorship resistant applications or anybody who's building anything important enough to be accosted by the state and uh you know thankfully they they did have enough decentralization and maybe enough anonymity enough redundancy for

people to continue um promoting tornado cash but but the big thing here is that they lacked enough value capture to protect themselves and then the validators the ethereum validators don't have privacy which created most of these problems in the first place they are still getting paid enough and they were decentralized enough to still have tornado cash transactions being received by the ethereum mainnet and other change that it's launched on and I want to highlight enough here because decentralization is a spectrum the goal of decentralization is censorship resistance decentralization is not quantifiable censorship resistance is

did your transaction go through when you wanted it to or did it not that is binary decentralization with things like nakamotos the Nakamoto coefficient are that's nominal data it's not meaningful data that you can compute on you might say 100 validators could take over Solana but how much does it cost to run 100 validators that is you need to be looking into more concrete metric so conclusions one censorship resistance has additional design constraints constraint you need to be thinking about much more when you're designing for censorship resistance than you would for a normal protocol or just when you're

thinking it's you have to be thinking about privacy so that all of the user groups feel comfortable continuing to use the protocol and so that developers hopefully have a degree of privacy and anonymity that they won't be pursued for for their work you have to think about value capture are you incentivizing enough to the mercenary users that are purely there to support the protocol because they get paid and are you capturing enough value to pay the developers and compensate them for the big risks they're taking I did a poll recently and asked developers if you had perfect operational security if you had perfect anonymity is there anything that you would be building that you're not today and of those people that

identified as developers 71 said yes and that tells me that we need to have better value capture and better privacy for these developers so they're willing to take the risks of building the protocols that need to be built the third Point here subpoint is we need to focus on economic security it lends to this this maximum my grandfather has taught me it's measured twice cut once you want to design your protocol spend as much time designing your protocol before you put your hands to code so that's a really important point and that goes to Ivy we obviously saw this tornado checks

exploit going for governance because it was not completely and thoroughly thought through more time in the design phase not less time in the development phase but more time more considerations of Economics would have prevented that so I I've been talking about this recently Bitcoin is primarily an economic and not a technical one all of the components of Bitcoin existed before they were combined in the Bitcoin protocol and the economics that allowed Bitcoin to succeed and that's why I think we should be placing much more emphasis on the economic code of these protocols that we're building so the system design is primary

um these kinds of systems that we're designing are called hyper structures so hyper structures are protocols that are launched once and they examus swap is an example of a hyperstructure but it's an example of a hyper structure structure that didn't properly capture value crypto.com I've got a building valuable hyperstructures is the title of the article and it walks through the differences between hyperstructures around the mill public goods and valuable hyperstructures that are able to sustain themselves ongoing and in designing twice and coding once you want to be thinking about the principles of tokenomics optimizing for all three of these third point is that Economic Security is

inherited and you have to be really careful about what Primitives and What tokenomic mechanisms you are including because you're going to inherit their Economic Security constraints their economic security features it's you can't just copy paste tokenomic mechanisms from a protocol that got funded like you wouldn't strap the Falcon 9 boosters onto your car it's the same kind of thing with economics and tokenomic mechanisms and the final point is that l1s need privacy so privacy at the base layer is uh is non-negotiable for us to move forward if we don't have that it's going to be regulated out of existence privacy as an option is not really censorship resistant

tracked from the point that you you know you know they come on the radar in a protocol with your assets and it would be trivial for exchanges to just say hey there's a z address in this history from like six months ago we can't accept it sorry we're stealing your Z cash so privacy by default is really important even more important when we're talking about protocol design and designing these things so last forever I also uh that's the conclusion when I talk here I have a little bit more but I want to say thanks to AJ and to Jules for helping get these slides and I'm announcing the launch of token Dynamics so this is a protocol design as

a service and tokenomics consultancy we're focused on privacy and infrastructure protocols so these are a few things that we're doing these are just a few of the products that we offer and I'm sharing this all with you because we are hiring and I'm interested in working with all of you here token Engineers I would love a few message to me the best way to reach out is going to be through Twitter Dynamics you can scan this QR code or you can just type in token Dynamics all one word lowercase to Twitter and with that I'll open it up to

questions

Related talks