Token incentive models for a key management network
ETHCC 7 · 10 Jul 2024 · 22:33
Robert Koschig, head of economics at 1kx, explains token incentive design for a decentralized key management network, using Lit Protocol, a portfolio company, as the example. He uses soccer analogies for the DePIN cold start problem. He shows Livepeer data where, he says, a few large stakers earn rewards without doing work. For Lit he describes a "nightclub" model with reserve nodes ready to join, since losing key-share nodes could break the network. He also covers fiat-based cost coverage against volatile emissions, citing Filecoin, and rate-limit NFTs for subscriptions.
Speakers
Topics
From ETHCC 7, hosted by Ethereum France.
Transcript
Robert, thanks for coming. Have fun. Alright, um let's start. Who in the audience knows what a DPIN is? Alright, yeah, exactly. Shit. For those who don't know, um yeah, physic decentralized physical infrastructure networks. It basically means you have a bunch of nodes that run some physical infrastructure, which could be just compute, you know, GPU storage, which in this case we talk about digital resource networks. Um on the other hand, you can also talk about these IoT devices, the 5G antennas, right, like Helium does.
In this case, we talk about the physical resource networks. Um so yeah, and altogether, you know, all the big big category of D pins. Um so next tough question. Who knows what a key management network does? Yeah. Um welcome to the club. I also didn't know much before. Um in principle it's quite easy. You have a user, you have your glorious app, and because it's so cool, a lot of people want to use it, so you need to restrict the access a little bit. And how do you do with it?
Well, you have some access control and how is it controlled? Well, there's a key management network or like an access control metric that handles kind of like the authentication requests, right? So you bring your key, it checks like oh, does it match the lock? If it matches, you get the access, if not, then not. Right. Um, not gonna go into the all the crypto math magic that that makes it happen. Typically nowadays. It's centralized, but obviously we like it decentralized, and what you basically do is you take the key and chunk it in pieces, you put it on different nodes, and whenever somebody wants to get access to your depth, you basically call the nodes and say, like please put it together and and and and check if we can unlock the access. Um what's important here is that obviously you don't want that any of those nodes can reconstruct the key uh the key by themselves, because then they can basically get the access and uh do nasty things.
Um but instead they need to work together always to put the key together. Um I'm gonna talk today about the key management network, uh, which is called Lit Protocol. Um it obviously can do way more. Uh I'm not sure if Eli is in the room, uh, he could probably uh tell you more about uh what they're actually doing because it goes beyond access control, you know, it's also MPC and all sorts of other use cases that they that they do. Um I'm Robert, I'm the head of economics at 1KX. I helped a lot of our portfolio companies on their token design.
And since Lit Protocol is also a portfolio company, I also helped them. Um since it's a deep in, there are a bunch of like deep in specific challenges that that I want to walk you through what those are and how we address them. But before I jump into the very you know nitty-gritty things of the token design, you know, go into formulas and all the stuff you guys love. Um let me maybe just like really high level put a very simple analog here to make you understand what are the key challenges. Um, and what better way these days to do that when with soccer?
Um so there are three analogs I want to briefly walk you through here. Soccer, first of all, it's a very simple gameplay. You need to score goals, you need to avoid getting goals, and whoever scores more goals wins, right? As Spain did yesterday. You can you know buy more infrastructure, more infrastructure, more users, more money, and the flywheel goes.
As with most crypto protocols, however, there's a little bit of a cold start problem here because this infrastructure costs money, and why should you you know uh supply that if uh up front? This is typically where you bring in the token rewards to incentivize the infrastructure. Typically, in the beginning, the protocols also incentivize or subsidize the demand side, right? So typically, initially, the the usage of D-Pins or most of crypto protocol is is cheaper than the actual cost. And this brings the token design into the into the picture.
And this leads me to the second analog to soccer. Because the gameplay is easy, the game plan, like the strategy how to win the game is a little bit more complicated. Um, but fundamentally, every good strategy, how it starts is in the soccer team, every role and function and scope is clearly defined. And it's also not too complicated. You have a goalkeeper, you have the defenders, they need to avoid getting goals, kind of like the basis of your of your team. You have the strikers on the other hand, they need to score the goals.
And then you have the midfielders who connect the post. And then you have the coach, you know, kind of like the manager and steward of the whole team. For deep ends, and I guess a lot of uh uh crypto protocols at all, um the game plan, the economic design looks a little bit more complicated, but it's the same logic. You have roles, and each of them you know have a certain scope. For example, um, not sure how good you can see it, but the service nodes, these are the nodes that provide the storage, the infrastructure. This is the basis of your protocol if you if you want to call it this way.
Um, another one, for example, the gateways, these are the ones that connect user requests to the service nodes, right? Not always there, sometimes they can directly connect, but this is one function if you want somebody helping connecting them. Uh, governance uh obviously is the one that helps managing the whole thing, you know, the stewards of the of the protocol. Um but yeah, it's it's just very important. Everybody knows their role, you define the scope, and this is the strategy you as token designer, or we as token designers prescribe in the economic design, right? And this brings me to the third analog to soccer.
It's like okay, you defined the roles, everybody knows what what they're doing. Um there's an interesting aspect when you think about soccer teams, it's the team needs to play together. The 11 players need to play together. Despite the fact that they're actually in competition to each other. Because only 11 players can play, but there's no soccer player, at least I don't know, who makes a career sitting on the bench. There's there's the team has more than 11 players, and yes, they have substitutes, but in general, there's a competition between the players, though they can only win if they all play together. Um it's similarly uh as I alluded to earlier with with our key management network, right?
We have these nodes, and nodes typically also stand in competition to each other. Sometimes it's restricted, we only allow 10 nodes or 100 nodes or whatever, or the rewards are limited. So there's always some constraint that says, like, okay, uh only so many people can join the game. Um but uh that that makes them in competition to each other. However, especially for uh Lit protocol, we need them to work together. And yeah, this is this is uh actually uh a challenge we we would like to get for our uh game plan or whatever you call it or economic design, is to have this competitive attitude that everybody gives their best, you know, to support the protocol, even though they need to be collaborative and and and and uh work together. So yeah, with this little long introduction on soccer and economic design, um, I want to talk to you through today about the challenges we saw with Lit Protocol or DPens in general, how we tackled it for the for the token design.
In the interest of time, I'll just like uh walk you through two functions here. It's one side on the supply side, the service nodes, and how we uh incentivize them. Uh the other side, because it's also typically something, especially in D-PIN that tends to be forgotten, is the demand side. Um, in particular, the pricing logic. And yeah, as a third part, obviously, to also show you what did we do to kind of like understand our ideations around mechanisms and these types of things. All right. Um yeah, if you want the spreadsheet here, it's just like some collection of uh deep in protocols where we actually laid out what are the roles and how do they map it in into their protocol. Let's start.
Um as I said, the one first challenge we have is this whole like paradox between competition and collaboration. And this is true across D pins. Uh it is a little bit of a spectrum, and this actually depends about who can do the job. If you think about storing something on Filecoin, you just need one node, right? I mean, it's it's not that you need 20 nodes to store your one file or whatever. Technically, one node can do the job. On the other side of the spectrum, if you think about helium and you have your 5G plan with helium, it doesn't help so much if you walk through Miami or drive through Miami, and then you just have to have like one antenna who has this like one hexagon serving you, you need the network of nodes.
And when you think about the token designs or actually look at the tokens designs, it's interesting to see that the left side typically goes to these like peer-to-peer marketplace uh designs, right? Because yeah, you can make a deal with any of these node operators, you know, make a deal on the price point, things like that. Whereas on the right-hand side is typically more like a pool of rewards where you as a user interact with a protocol, and then the protocol takes care on the incentivization of the um nodes, um, right, we are via this pool. And yes, lit protocol, I guess at this point is clear, we are at the very right side of the spectrum.
Um, there's more challenges, um not going through all of them. Verification of performance is a very wide one. How do I know they really did the job without like redoing the job? And uh yeah, common model, I guess you all know it, work token model or stake for access. It's a very good model. Um, but uh staking incentives also have uh staking rewards also have disadvantages, and obviously staking always has the centralization tendency, right? When you have like the ranking by stake, at one point it's quite hard for new joiners, newcomers to join in when you say, well, the top 100 can only join, and you need to provide like one million dollars to join the club.
Um maybe as a data point on the on the first piece, um this is some data from LifePeer. Life Peer, not going to need to go too much into depth here what they do, but the top 100 orchestrator by stake are allowed to do work, transcoding videos. And uh what you see here is just like the X-axis is the percentage of work done, transcoding videos, and the y-axis is the income from staking. And technically you would say, well, if we're all such a great team and you know we all love LifePeer, then why is that so uneven distributed?
And the green dots, these are the top four or five um stakers. Uh they control a large amount of stake. And what's funny is I mean it's not really funny, um, they just sit on their stake, earn the staking rewards, but they don't contribute anything to the work because why should they? They anyway make more money by just staking. And this is obviously something in your token design where, like, hmm, you know, it's it's not ideal, right? Uh especially since this is like over 40% of your stake. Um and yeah, maybe uh now to you know go into how we approach something like this to because we really want to avoid this for for us for LivePeer, it's not too bad, and uh of course also working on on fixing this.
Um, but for our protocol, if there's like say we have 30 nodes, and then 20 of them will say, well, I anyway get some income from you. The guys who want the key shuffled together, they wouldn't get anything. So that's a real problem. So I'll present what some ideas and and and how we uh worked around that. But obviously, the first disclaimer before any lawyers come or whatever, uh this is not the white paper, this is not the smart contract stuff. This is just like what we discussed with the team and how we approach things, um, how it will go live, you will see when it goes live. Um yeah, very simple solution actually to this live peer problem is when you uh I call it the nightclub idea.
And what we do is basically we say, okay, for these key shares, we say we have 30 nodes that provide the compute, you know, to decrypt, encrypt, or handle our tether unification requests, and then we also have reserve nodes which are ready to join, you know, spin up the machine, um, but don't run the machine, you know, or not not live basically. And initially we just say, okay, obviously, stake stuff and the top 30 by stake, they can start. So the network starts running, eventually, somebody screws up, does something we don't want, gets slashed, gets jailed. Um, but here's a problem.
Like in normal staking protocols, or even Ethereum, I mean, we have how many hundred thousand validators? If one goes offline, yeah, no, nobody nobody cares. Here for us, again, there are key shares. If so many of those nodes go offline, we may not be able to reconstruct the key. And then that means the network fails, which is really bad. So what we do, we say, well, this is why we have the reserve nodes, because they're also part of the you know key resharing, whatever, not going into the details, but they are ready to join the game now. And the interesting piece here is uh they can join even though they have not the highest amount of uh stake, right?
So um they they they can just come online because they're they're they're good. Um and this stays this way, right? They join it, they come into it, and uh they stay there. And the node 28, even when it comes online, when they fix the problems, um they need to wait until they can go back into the cloud, basically. Um second one, and I think this is a key problem for DPins, is physical infrastructure costs money, um, and you want to reward them to cover their costs, right? The server infrastructure and the antennas that that all cost dollars.
If you give them token rewards, it's more volatile. Um, to put that into data. Uh, there's also the link where we analyzed that a while ago. The dotted lines is the token emission, the rewards that the protocol designed, and it's also like this is what we want to emit, it's our emission schedule, and the solid line, this is the actual dollar value that they handed out as a rewards, and as you can see, this clearly impacted by bull market, bear market, whatsoever. And for example, Filecoin, what you see here at the peak, there was over a billion dollars that they emitted as rewards, whereas in the bear market it was less than five million. Now I can't tell you exactly what's the right value, like what's the cost to run a storage provider on Filecoin.
But this range, I mean, it's just like too much. Um so what we say is like, okay, coming from this, we know we need to be reliable to reward our nodes. So what we do is uh initially everybody has the same cost, same setup, so we can guarantee a fiat based. But we cap it, we may say, okay, we cover your cost at least. We even can allow you some profit margin, but we'll not never pay you a billion or whatever just because the token goes through the roof. Um this is obviously not something we invented. Uh guys like Chris uh wrote about it, even though in the in the context of Burn Mint, NIM protocol has a really good white paper on the economics where they also include the the cost base into it.
Uh, definity even has this reward model. Um, so so it's not just up to us. Obviously, if you guarantee a fiat and you pay in your token, eventually you maybe run into issues your price goes really, really down of inflating your token. Um, so but we have a safety net for that. Um, and obviously there's also performance factors. In interest of time, not gonna go through it, but just because you know we're talking token design. Eventually, there's some nice mass formula that bakes all of these considerations into the formula. Um, this is just the basis what to say, like, okay, you as a node, don't worry about the money, we we have you covered.
Obviously, we love the upside, and this comes via staking. And here again, we didn't reinvent the wheel so much. We just said, okay, there are lockups with whom you can uh boost your rewards. Uh you need to stake because we also want to have some hold of you for security, for slashing, for performance, but also for centralization, you know, we want to cap rewards, so that we know that there's always 30 and not just like one winner winner at the end. Uh the exact formula we orient it about what's quite quite common in the in the industry. For example, if you take Ethereum staking mechanism, right, the more the stake, the the budget still increases, but it doesn't increase linearly, so the individual APYs on staking goes goes down.
And why did I put it in this weird formula with this like B max and the stake ratio? Um it's just because our formula is basically the same, just with more parameters. Um the idea is just you have some parameters like these B values where you can steer how much monthly emission you want to go. It's based on the stake ratio, which also means the more the stake, your budget still increases. But we also have something like the K as a king where you say if you just want to have 50% stake ratio and don't incentivize beyond, you just cap it there. Um we have something on top the lock because we are allowed to lock that VE style, which means if everybody locks for four years, we can obviously emit a little bit more rewards than we're versus if everybody just emits, you know, or everybody stakes just like four months.
Um and last but not least, uh the square root for Eve. I mean, you can do any parameter here, right? For sub or super linearly linear linearity, um however, you like it. And then it looks pretty much the same. It's just like different lines for the duration of the lockup. I'm gonna skip the demand part actually because I realize we're we're out of time. Just the one part here. When you think about pricing logic for your for your DPIN or for any protocol, it's a spectrum between do you fix a price, helium, you know, per data credit for per gigabyte, you have the same price, no matter how congested the the network is. Whereas on the market side, you know, Ethereum, every block gets auction off these marketplace networks.
Uh, you know, file coin, you make deals with the storage provider, how much you're gonna pay for how much storage. And that's obviously is it not ideal when you have something like Lit, where the dabs that need these you know authentication requests, it's repeated subscription model-based uh pricing. Um, and there we ideated something about what we call rate limit NFTs, but this is something I guess you just need to wait until we uh write about it. Um, because also the last part about how do we understand mechanics and scenarios? Well, guess what?
Uh we use what everybody loves. Uh Catcat, uh, and obviously not just me. Um there's also CyNeed Finance. Um, not sure if Bord or someone of the team is here, also great tool for more on the business side. And yeah, I also partnered with two cool token engineers. Not sure if everybody knows, Dane and Peter, Zayn and Peter. Um, and yeah, they helped us setting up some dashboards, understanding how does it really look, how do we need to set all these parameters in these in these functions, um, different scenarios for all these node operators, how much money will they make, when will we run into some issues? Uh SIN need a nice tool, especially when you think about distribution investing schedules.
Um so we looked into that. Um and yeah, for the rate limit NFTs, we actually did plain Mesa library with Python. Um yeah, long story short. Um as I said, we need a collaborative supply side, um, because you know the network's only as good as the weakest node. And it's key access management is super sensitive. So you know you need to be reliable. Um that's why we go with we guarantee cost coverage. We we give you even some upside. But if you want more, you need to stake. Um the rate limit NFT version was something to enable a subscription use case, uh, which is also not too common in in in protocols.
Um obviously this is something also how we ideated around it is like you can evolve and you know enhance as you go, but I guess the most important stuff is uh, you know, find the good uh people out there. There's a lot of tools um to to test and design. And yeah, with that I'll finish my presentation here. Thanks a lot. Amazing. This was a great introduction into um getting from zero to one, so uh see what you have to achieve, what you want to achieve with.
Related talks
- Relay Mining: Cryptographically Incentivizing Non-Validating Nodes
- RAAS Rewards as a Service Building a Next gen Rewards Engine to Incentivize DAOs Hart Lambur
- Point System Design and Learnings
- Zero to Millions in Months: TE for Ocean Predictoor
- Community Currencies and the Need for More Altcoins - Nicholas Fett
- How to Distribute Tokens
- Managing a Token's Lifecycle from Day Zero
- Alignment
- To Incentivize or Not: Impact of Blockchain-Based Cryptoeconomic Tokens on Human Information Sharing