<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vince C. on Medium]]></title>
        <description><![CDATA[Stories by Vince C. on Medium]]></description>
        <link>https://medium.com/@cryptovince?source=rss-c095936ca519------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*1m8mVJ2CMwk3Uy8-Pyyx9w.jpeg</url>
            <title>Stories by Vince C. on Medium</title>
            <link>https://medium.com/@cryptovince?source=rss-c095936ca519------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 20:11:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cryptovince/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Introduction To HexBay — Kryptosparbuch Interview Featuring Fabian]]></title>
            <link>https://cryptovince.medium.com/introduction-to-hexbay-kryptosparbuch-interview-featuring-fabian-d1afa158b992?source=rss-c095936ca519------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1afa158b992</guid>
            <category><![CDATA[hex-crypto]]></category>
            <category><![CDATA[cryptocurrency-news]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[hex]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Vince C.]]></dc:creator>
            <pubDate>Tue, 09 Mar 2021 04:31:04 GMT</pubDate>
            <atom:updated>2021-03-09T17:56:51.531Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction To HexBay — Dev Interview</h3><h4>The Kryptosparbuch team sits down with Fabian, a developer from HexBay, to discuss sellable/transferable Hex stakes</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PvQbRqGD9HdxUSqUGCyZTg.jpeg" /></figure><p>As a Hex community member, the reason I took the time to transcribe this entire interview from audio to text is because I see much strife and discord within the community that I suspect might be due to confusion and misinformation.</p><p>In an attempt help get everyone on the same page and better informed about what HexBay actually is, and hopefully clear up any misconceptions or coloration of the ideas due to third-party misinterpretations, I transcribed it in such a way that it cleans up the English to be more readable, with some minimal corrections for misspoken words, omitting filler words and small talk that isn’t important to the discussion.</p><p>I hope this provides value for the entire Hex community, and anyone that’s curious about what HexBay actually does.</p><p><strong>Kryptosparbuch:</strong> Hello guys, welcome to the Hex Kryptosparbuch Show, and today we have a really cool guest for you. The reason is there will be a new contract out for Hex soon, but it will still take a while.</p><p>We are going to talk today with Fabian, who is one of the lead developers of the so-called HexBay contract. Hello Earl, also known as Fabian!</p><p><strong>Fabian: </strong>Hi everybody, greetings out there. My name is Fabian also known as Earl on Telegram. Thanks for having me.</p><p><strong>Kryptosparbuch:</strong> We always ask the same question upfront in our interview: What was the first time you came into contact with crypto in general?</p><p><strong>Fabian: </strong>I heard about it back in 2012 and thought about it but it never came to fruition, and then it was in the middle of 2017 just before the Ethereum mining hype craze and everything began. I still remember that because I’m also an IT guy and always had PC gear and graphics cards around.</p><p>I wanted to order 12 graphics cards for ETH mining and it was at the time where you could only purchase a maximum of three graphics cards, so I split it with three other people and everybody bought three. Then we started mining and then three days later, there were no more graphics cards. That’s when the real craze began and that’s how I got into cryptocurrencies.</p><p><strong>Kryptosparbuch: </strong>Okay nice, so pretty early then. Are you still mining ETH? And with the same hardware you bought back then or did you need to buy new hardware?</p><p><strong>Fabian</strong>: Yeah. We bought 12 Nvidia GTX 1070’s back then and we mined here in Germany. When the bear market came, it wasn’t really worth it and so we are now mining in another country with cheaper electricity and not on the original hardware.</p><p><strong>Kryptosparbuch:</strong> Awesome, that’s definitely a topic we can expand on for later, but the next question would be: When did you come into contact with Hex?</p><p><strong>Fabian:</strong> In 2017 I noticed Richard Heart’s videos, especially the one about IOTA, and I instantly became a fan. That’s when I actively followed Richard and his developments, and I knew about Hex early on. I free-claimed on Day 0 and I also helped some people in the Telegram groups free-claim because it was kind of tough for a lot of them.</p><p><strong>Kryptosparbuch: </strong>Yeah it was just new, also for me. It was a new thing and I needed a whole day to figure it out, to learn how to sign a Bitcoin transaction and things like that.</p><p><strong>Fabian: </strong>Yeah, I knew about these functions earlier so for me it wasn’t super special but it was for a lot of people. There were people that thought you would be getting hacked or something if you signed the message. It was crazy.</p><p><strong>Kryptosparbuch: </strong>Or thought your data would get stolen. So you’re really experienced in the crypto space, Fabian. You know Solidity, you mine your own ETH and so on. You know a lot about the market, so the question now is: Did you FOMO into Hex on Day 1?</p><p><strong>Fabian:</strong> Yeah, I did. I put in double the amount compared to the days afterwards and also I didn’t put it in the Adoption Amplifier every day. It was the plan at the beginning to split my ETH over the whole duration, but then other projects came and the price of Hex was kind of down and then I kind of stopped, so I missed the best days. But it was still pretty nice.</p><p><strong>Kryptosparbuch: </strong>And as you know, nearly everybody FOMOed on Day 1 because otherwise there wouldn’t have been so many ETH on Day 1. You said you put twice the ETH in on the first day than you normally would have done, and I don’t consider that FOMO. I put in on the first day 100 times as much as I normally would so that’s FOMO.</p><p><strong>Fabian: </strong>Yeah that’s true, but in the end it all came out pretty good even if you put in a lot.</p><p><strong>Kryptosparbuch: </strong>Definitely. The next question before we come to HexBay would be: What is your favorite part of the Hex game theory? What is your favorite feature? For me it is the lockup mechanism that I cannot hurt myself because I’m a pleb compared to you for example. After 10x or after 50x I would definitely sell everything I have but the staking contract doesn’t allow me to do that, so it saves me from my pleb self. So what’s your favorite feature?</p><p><strong>Fabian:</strong> My favorite feature is the same because some people have diamond hands, but most people don’t and I often hear people saying, “If I only got into Bitcoin in 2011 I would be so rich now”, and I’m always saying “No you probably wouldn’t, because you would have sold at $10, $100 or whatever.”</p><p>So being forced to HODL is actually pretty good. Also it makes you feel good because you can’t do anything about it anyway.</p><p><strong>Kryptosparbuch: </strong>You don’t get so upset about the price in the short-term. We had plenty of dips in Hex and afterwards we always made new all-time highs. During those dips, nobody went really crazy. Okay, after the first dip maybe, in January because it was too new I would say.</p><p>After the first 30 days we went down pretty far, especially if you consider the price on the first day where there were only 1 billion Hex but on the other side, about 20,000 ETH, a bit too much. After the huge BPD dip, anybody who understood the staking system in the first place didn’t complain. Nobody complained, 86% drop and everybody was fine with it.</p><p><strong>Fabian:</strong> Yeah because the people that understood it have long stakes, so why should they care about the short-term price? It’s always nice to look at your portfolio and say, <em>“Look at my paper gains!”</em></p><p><strong>Kryptosparbuch: </strong>Yeah, so let’s get into it. Please explain to us what HexBay is all about.</p><p><strong>Fabian:</strong> When Hex launched I immediately thought to myself, “Oh maybe you could make the Hex stakes tradable, because smart contracts can also interact with the Hex smart contract”, and I thought probably someone is going to do it. Then nobody did it and then a few months, or more than a year later I saw that still no one was doing it.</p><p>So we started doing it, but we’ve designed it in such a way that it’s overall beneficial to the Hex economy as a whole, and it also introduces some new game theory, and some new ways for real Hexicans to adopt the most optimal strategy. You can buy someone else’s stakes with a higher T-share rate, and so it’s like traveling back in time a little bit.</p><p><strong>Kryptosparbuch: </strong>Maybe we can start here: What is the huge advantage for the user? As I know there are some Hex devs also watching this. It would be cool if you can go a bit more into the technical details behind your contract. We have some people in chat that have never heard about HexBay, so we really have to explain for noobs first and then we can go really deep into the topic as well.</p><p>So what is the HexBay contract?</p><p><strong>Fabian: </strong>It’s smart contract we’ve developed and it’s getting audited and everything but what it does is: you can start a stake using our smart contract (HexBay) and then the contract is staking for you and because the HexBay contract is the owner, it can also change the internal owner of a stake. For example, our HexBay stake creates a stake and internally it says this stake belongs to me, and then if I were to sell it, someone else could buy it from me and internally it would get credited to the person that bought this stake.I hope this makes sense.</p><p><strong>Kryptosparbuch:</strong> Yeah, so as a user I have the ability to do a maximum stake length (a “cuatro-cinco”, or 5555-day) stake, and when I want to sell that, say after 5 years, and Hex is now at a higher price, let’s say I need some money and I want to sell that stake.</p><p>Can I just go on the open market and offer my stake? How would that work? Would somebody else just say, “Okay, I agree on that offer”, and then run a function and the ownership switches automatically to the other guy who I am selling to?</p><p><strong>Fabian: </strong>Yeah it kind of works like that but we’ve put in some additional features so that when you have your stake created and you go for 5555 days — because it makes the most sense, you can sell it later so why would you not get the most T-shares at the at the start of your stakes?</p><p><strong>Kryptosparbuch:</strong> Yes, then you get the maximum interest possible starting from Day 1.</p><p><strong>Fabian:</strong> Yes, we’ve designed it in a way that everything can be completely trustless. Of course you always have smart contract risk but you have no middlemen etc. and you can just tell our contract: “Hey I want to sell this stake”, and you can only sell it for Hex. That’s an important feature.</p><p><strong>Kryptosparbuch:</strong> Another important feature before that is there are no admin keys in your smart contract. It’s a true smart contract, not one of those fake smart contracts, yes?</p><p><strong>Fabian: </strong>Correct, no admin keys, nothing like that. You can offer your stake up for an amount of Hex that you choose (and it can only be in Hex) and then someone else can buy that stake for that amount of Hex that you said you want. Then the stake gets credited to the person that bought your stake internally and you will receive 90% of the purchase amount.</p><p><strong>Kryptosparbuch:</strong> Okay, and I can set the sell amount individually? I guess there would be a spread between the current Hex, meaning the principal plus all the accrued interest, and the T-shares versus the USD, right?</p><p>Let’s say I just stake 1 million Hex for maximum length right now and in 4 years that becomes 3 million, and let’s say I get 200 T-shares. Let’s say those 200 T-shares are worth more than the 3 million Hex. It needs to be worth more than the 3 million Hex because I would never get so many T-shares for this stake in 3 years.</p><p><strong>Fabian:</strong> The minimum price you would want is your principal and your earned interest, and then also you you’re probably going to attach a little bit extra because your T-shares are worth more and if somebody would want to have the same amount of T-shares now, they would have to put in way more principal.</p><p><strong>Kryptosparbuch:</strong> And you said when I want to sell it, then I as a seller have a 10% fee to pay so the buyer would put in the amount of ETH or USDC in your contract?</p><p><strong>Fabian:</strong> Only Hex.</p><p><strong>Kryptosparbuch:</strong> Ah okay, so only liquid Hex. So the buyer puts, let’s say 3.3 million Hex in the contract, therefore he gets the tradable stake and I as the seller will get that minus 10%?</p><p><strong>Fabian:</strong> Yeah if you put your stake up for 100k Hex, then I can buy it for 100k Hex and you would receive 90k Hex. 97% of this 10% fee is collected in the contract for a special function that we created, called the SmallPayDay.</p><p>Maybe you still remember the BigPayDay from some months ago, and the SmallPayDay is a function that everyone can use. Everyone can start it, and it simply takes all the Hex balance that’s in the contract and stakes it for 5555 days and then after 3 days, someone else can run the function again and then that stake would get emergency end-staked (EES).</p><p>It’s basically nuked, so the large amount of the fees that gets collected are getting redistributed to the whole staker class, including legacy stakes not created via Hexpay.</p><p><strong>Kryptosparbuch:</strong> Okay, good. So let’s say I agree with the buyer [sic] that my stake is worth 100k Hex, then the buyer puts 100k Hex in your HexBay contract. The contract automatically sends me 90k liquid Hex in my wallet, and 97%, (so 9700 Hex) would sit in the contract, waiting for somebody to run a function to stake it and a few days later to EES that, so we get those small paydays twice a week, and from the original 100,000 Hex transaction in total, only 300 Hex would be your developer fee, right?</p><p><strong>Fabian:</strong> Correct.</p><p><strong>Kryptosparbuch:</strong> One of the first things you said today was you were waiting for somebody else to do this function/project, but then you saw nobody was doing this contract and in my opinion the market always does whatever is possible so you said it right away: It was possible to do it, so you went for it and did it, but you also did it in a way to make sure the original Hex game theory is not in danger.</p><p>Can you explain how you did that, how you kept the original Hex game theory in mind with these tradeable stakes, and how they don’t interfere with the original idea?</p><p><strong>Fabian:</strong> Yea, so if you just do encapsulated stakes, you can sell them, trade them, whatever you want for any currency you want. You would always have risks attached to that because you would have to agree with another person and then who sends first, etc.</p><p>Maybe there are platforms for that, but the main thing is, we wanted to create HexBay so that it’s net positive for the Hex ecosystem. If you want to sell your stake, you will only receive 90% of the amount someone else bought first. So somebody has to buy 100k Hex to buy your stake, but you can only dump 90k Hex and the other 10% gets redistributed to the whole staker class.</p><p>We also did it that way to include all the legacy stakes — so all the stakes that have already been created that cannot be traded.</p><p><strong>Kryptosparbuch:</strong> Yeah, because they automatically get their fair share of those small paydays.</p><p><strong>Fabian:</strong> Correct, and also half of the SmallPayDay always goes to the OA, so it’s kind of like a [token] burn, only with the benefit that the OA can do something with it, if it wants to.</p><p>So that’s why we did it like that, and we also saw that the referral program is now missing from Hex and so we also put it into a HexBay, so you can actually refer people, just like in Hex, where you have “HexBay.win/“ and then your ETH address as a ref link and if somebody clicks on it, it sets a cookie in their browser and if they start a stake then you will receive 4.7% of that Hex instantly.</p><p><strong>Kryptosparbuch: </strong>Okay so this referral program is a way for you to market HexBay because in my mind and the market will judge for itself, as I said, so my question is: Why would somebody use HexBay if they are already used to the normal Hex contract? I think if you throw in the right incentives just like the referral program, this will make people just use it and I think this is the only chance HexBay actually gets somewhere (in terms of adoption) right?</p><p><strong>Fabian:</strong> Yeah, it’s kind of like a better stake because you gain so much flexibility. Let’s say I have diamond hands, no problem, and I always stake 5555. Then I can do that still with HexBay, and I pay a miniscule fee on that, the 0.3% fee because if you self-ref, you pay only the 0.3% dev fee and nothing else.</p><p>And then you never know, life happens and maybe there is an emergency or something and if you only have legacy stakes, then you can’t really do something about it and here instead you have the opportunity to maybe sell one or two of your stakes.</p><p>One problem I see with with laddering is, people laddered too low and the iif you only staked for 6 months, you gained almost nothing in interest and if the gas fees are so high, then it’s not really worth it (to End Stake) and maybe you don’t want to sell at that time because the (market) price is low or whatever, but you still have to end your stake.</p><p>If you’re using HexBay, you have up to 15 years to choose the date at which you want to sell (if you made a 5555).</p><p><strong>Kryptosparbuch: </strong>Even after that you can just normally end your stake and compound it all together for another 5555 stake.</p><p><strong>Fabian: </strong>Yeah of course. We decided that you can even emergency end-stake your HexBay stakes if you really wanted to.</p><p><strong>Kryptosparbuch: </strong>So you guys can still nuke yourself! What a good thing. And as I understood, the LittlePayDay is a self-nuking function right? We have a Youtube chat question here: What happens if nobody uses the three day end-stake function at all? Will interest accumulate?</p><p><strong>Fabian:</strong> Yeah it’s a normal stake. If nobody ever uses that function it would just accumulate.</p><p><strong>Kryptosparbuch:</strong> But it’s a function to start a stake at a maximum stake length and from the 3rd day it’s possible to emergency and end-stake right? Iit doesn’t matter if you do it on the 3rd, 4th, 7th, or 50th day because it would just earn normal interest and not lose any interest like you would have with late end-stake penalties or late stakes, and then you just get more SmallPayDay.</p><p>So you don’t need to EES it on the 3rd day of running but from the 3rd day on it’s possible right?</p><p><strong>Fabian: </strong>Yeah, the thing is, if HexBay gains a lot of traction and there’s a lot of Hex in it, then why would you not want to nuke it if you also have long stakes, before the whole world is in Hex, so you can increase your shares?</p><p><strong>Kryptosparbuch: </strong>But still if the fees are high for a couple of weeks it’s no problem to leave it a couple of weeks and then you can pull it out?</p><p><strong>Fabian: </strong>Yeah, it’s no problem. We chose 5555 days, it’s not (always) going to happen that the stake runs that long, but we chose this long date to make sure that even if for 100 days nobody ends that stake, it still gets completely nuked.</p><p><strong>Kryptosparbuch:</strong> Well that’s a really interesting function. I heard about that the first time today so I really like that distribution to the staker class, and the OA of course as well.</p><p>I need to step back for a moment because there is this one thing Richard (Heart) is talking about about those encapsulated stakes with tradable shares, but what HexBay is aiming to do is just that you can <strong><em>sell a whole stake </em></strong>to someone else right? So I can’t sell 1 T-Share out of this stake?</p><p><strong>Fabian:</strong> Yeah, we thought about doing stuff, but in the end I don’t know if there really is a market demand for that, because I don’t think that stakes are getting — even if HexBay gets adopted, I don’t think that there are a lot of stakes for sale all the time because most of the time you create your stake and then once in those 15 years maybe you want to sell it or you don’t, and that’s all the interaction that you’re ever going to do, really.</p><p><strong>Kryptosparbuch:</strong> If the stake is from a whale, so let’s say somebody goes in the HexBay contract and buys first on the exchange $1M USD worth of Hex, and then goes and puts 100 million Hex into the HexBay contract, and stakes it for cuatro-cinco, he would still need to find a buyer afterwards, right? So it might be not useful to stake 100M Hex with HexBay because he potentially won’t find a buyer in 5 years, for example.</p><p><strong>Fabian:</strong> Yeah that might be true. If you are the full-on God whale and you put the largest amount ever in yeah then probably, you won’t find someone else. But then again you could just split your stakes maybe into 5 or 10 stakes.</p><p>If you’re doing these high amounts of Hex stakes anyway, then you can also afford the fees for multiple stakes and then also you gain a lot of flexibility, because you can then just sell one of your 10 stakes instead of having one giant stake. But then again, if Hex gets adopted a lot, then maybe there are more whales, so you never know.</p><p><strong>Kryptosparbuch:</strong> Before the interview we were talking about gas fees as well, and somebody is asking. If I get it correctly you have to pay double the fees for stake cause you are effectively creating two stakes, is this correct?</p><p><strong>Fabian:</strong> It’s kind of correct. We’ve thought about this and tested it around a lot. The problem is even if we went on to Layer-2, there always has to be at least one interaction with the Hex main contract, and yeah, we designed around a lot and we tried to do pooling so everybody can send their Hex to our contract and then once a day the contract stakes for all the people, and that would save some gas for the individual user.</p><p>The problem is you would also lose a little bit of your stake, because if you have a shared stake, you can’t emergency end-stake for example.</p><p><strong>Kryptosparbuch:</strong> And you’d lose a lot of flexibility because you can’t set the date you want to end your stake on, or would you still have that with HexBay?</p><p><strong>Fabian: </strong>You can choose the amount of days in HexBay if you want. You can choose lower than 5555.</p><p><strong>Kryptosparbuch:</strong> But with a Layer-2 solution it doesn’t make sense to make it a 5555 stake because everybody within this group would need to agree that the whole stake is possibly sellable, no?</p><p><strong>Fabian:</strong> The solution would be that you can then sell only your stake in the stake, so to speak.</p><p><strong>Kryptosparbuch: </strong>Okay, so your part of the T-Shares.</p><p><strong>Fabian:</strong> Yes, that would have to be a feature. But you can imagine that maybe you only want to stake for 10 years for example, and then after 9 years, instead of selling via HexBay you can also EES. , if you’re over half the amount of time that you said would stake, then your (penalty) fees would get less and less the closer you are to the actual date that you set and you would lose the ability for doing that.</p><p>Also, at the moment we are implementing a new feature. At first it came from the community actually in the crypto dev chat from Hex. <strong>It’s the option to transfer stakes. </strong>So at first we went with it and implemented it, but there are some problems with that because right now.</p><p>So for example, if your wallet gets compromised, and I believe that most of the time the hacker wouldn’t realize that you have stakes, but if they do realize that, then he could only nuke them if they are really long, and so he wouldn’t get anything from it, or he would have to wait or whatever, but if he had the option to transfer stakes then he could transfer the stakes to himself via HexBay</p><p><strong>Kryptosparbuch:</strong> And then wait until he could complete the stakes.</p><p><strong>Fabian:</strong> Yes, so that would be a bad thing. The solution we came up with now is that when you start your HexBay stake, you can set your recovery address, so you can choose your own ETH address that you own. The recommendation is that it’s a fully air-gapped address that has never been used, and you can set this address as your recovery address and in case your main wallet gets compromised, the recovery address can come in and save your ass.</p><p>You change the owner to a new owner that you can decide with the recovery address and it’s actually a really nice feature, but we had to think a lot about how to do it in a way that you can not get screwed over by somebody hacking your main address.</p><p>We are currently implementing this and it’s a pretty neat feature because the way we are doing it is that — it’s getting kind of complicated but, yeah the bottom line is that you can set a recovery address and in case you get compromised, you can get back access to your stakes.</p><p>Also you can stake for somebody else and choose yourself as a recovery. Maybe your friend is not really that much into cryptocurrencies, doesn’t know a lot about them and maybe has the possibility of getting compromised, so then you can save him that way.</p><p><strong>Kryptosparbuch: </strong>In the chat we have a discussion right now that the HexBay would totally destroy the Hex main game theory and that it is not trustless anymore. I know for sure you had to talk to critics before, and what do you tell them if they say it’s not good for Hex game theory and that it’s not trustless? What would you tell these people?</p><p><strong>Fabian: </strong>It’s still trustless. You’re just interacting with a smart contract. We are getting audited by</p><p>CoinFabrik and it’s still trustless. For tradable stakes with nothing else attached to it, it might be kind of bad for the ecosystem but it doesn’t have to be. The way we built it, it’s actually beneficial because if you think about it, the fee already hits the seller of a stake — so the impatient person — just like in Hex. If you’re impatient you’re not getting as much as compared to if you’re a patient person, and if you are doing what you actually said you would do.</p><p>Here, it’s the same and you can only buy and sell for Hex, so if you want to sell your stake, someone else has to buy that Hex first, and he has to buy 100% of it and you only receive 90% of it, so overall for the price it’s a positive.</p><p><strong>Kryptosparbuch:</strong> Whether or not it’s price-positive or not might be debatable, because it’s only then price-positive if it also attracts new customers, so if it would only take shares from the old customer base from Hex, then it won’t be price-positive in my opinion.</p><p>So what is the main market you want to address? A bit older people who don’t know that they should stake longer because they are afraid of their age or something like that?</p><p><strong>Fabian:</strong> At this point, Hex is over a year old and we still haven’t reached massive adoption. There is so much room for improvement and I really feel that the missing referral program kind of hurts (adoption) and so we bring you a referral program with 4.7% (bonus). That’s a lot, so if you can refer people — and you don’t even have to be staked in Hex or something, you can be the biggest YouTube channel ever and you can do your referral stuff — and you will get a lot of Hex out of it. It’s also price-positive because the people that then start their stakes, they send you 4.7% of the Hex but they also have to buy 100% of the Hex upfront first.</p><p><strong>Kryptosparbuch: </strong>Okay so the thing with the trustlessness. How is it getting done? Will there be a market in the HexBay contract itself that potential sellers of already-completed stakes have a list of stakes that were made in the HexBay contract, that I as a potential buyer can go inside the code and view? And can I as a buyer also make an offer for a specific stake?</p><p><strong>Fabian:</strong> So because we want to make it fully trustless, you have to flag your own stake that you want to put up for sale. You would have to set a flag that it’s for sale and also what the price is.</p><p><strong>Kryptosparbuch: </strong>That would be done via signing a transaction?</p><p><strong>Fabian:</strong> Yeah, you would use a function inside in the contract. Then within this transaction you would also set the Hex price that you want to receive and then everybody can see which stakes are for sale, and they can browse them, check them and they can buy them.</p><p>That’s also another thing: If you are a full-on Hexican, you want to maximize everything and you have a long time-horizon, then HexBay offers you an additional method of obtaining your shares, getting the most out of your Hex now, because it’s kind of like traveling back in time.</p><p>If you’re buying T-Shares from 2 years ago, those are really nice T-Shares that you bought and you couldn’t get them today.</p><p><strong>Kryptosparbuch:</strong> This is a good point to make. I haven’t thought about that as a Hexican: Why would I buy normal Hex from the market when I can also buy it from HexBay and get the better T-Share price right?</p><p>No, that’s not right. You still need to buy the Hex on the market in the first place. It’s just that, why should I stake via the normal Hex contract instead of buying an existing stake from HexBay that still has those juicy T-Shares from the past?</p><p><strong>Fabian: </strong>Yes, that’s correct.</p><p><strong>Kryptosparbuch:</strong> So one question from the chat: Is the Good Accounting function still available on HexBay?</p><p><strong>Fabian: </strong>Yeah, the GA function is always available on the Hex main contract, you can GA any stake.</p><p><strong>Kryptosparbuch:</strong> So just to clarify, in order to use HexBay, also the HexBay smart contract will start a normal Hex stake, as we have done it with our own ETH addresses (in the past).</p><p>The benefit to have the HexBay contract in-between — so your address &lt;-&gt; HexBay contract &lt;-&gt; and the main Hex contract — is that if the stake is on the HexBay contract, you have the possibility to sell it in the future.</p><p>As a whole picture, just to clarify that, so people don’t confuse this with tradable shares or Layer-2 solutions, just to make a clear point.</p><p>And then the other question from the chat is: What if the main HexBay page goes down? Can you still interact with the HexBay contract somehow?</p><p><strong>Fabian: </strong>Yeah of course, you can build back-ends just like backup Hex and all the other stuff. It’s just a front-end. You can go to Etherscan, go to our contract and you can interact with it there. It’s a normal smart contract, fully-trustless.</p><p><strong>Kryptosparbuch:</strong> Good, what would be the focus of the audit? Is it on game theory, and on the security? Because Hex had 1 economics and 2 security audits. Is there any difference?</p><p><strong>Fabian: B</strong>ecause we are interacting with the main Hex contract, all the Hex rules apply, so we don’t need the economics. Of course we are doing the security audit and that’s the main focus because we want users to be safe. That’s the main thing, we wanted it to be fully trustless. No middlemen, only in Hex and of course, secure. No admin keys or any kind of this stuff.</p><p><strong>Kryptosparbuch:</strong> And when the audit is back from CoinFabrik, it would be a public document?</p><p><strong>Fabian: </strong>The audit? Yes of course.</p><p><strong>Kryptosparbuch: </strong>So for how much time did you work on the contract and when do you think you will open it on the market for us users?</p><p><strong>Fabian:</strong> You can test it right now, we have deployed it in the Ropsten Test Network at hexbay.win. It kind of depends on CoinFabrik right now because we have some audit backlog and everything is taking a little bit longer than what they initially said, but yeah I’m quite positive that we are going to get it out this month, if not then early next month.</p><p><strong>Kryptosparbuch: </strong>All right sounds. So we have good timing, right?</p><p><strong>Fabian:</strong> Yeah we’ve been hanging low because we wanted to do everything in place first before we came out and started promoting or telling you guys all about it.</p><p><strong>Kryptosparbuch:</strong> Yeah I know. I’m in your small Telegram group which has 30 members right now or something. Just some curious guys and some other developers who like to test it on the Ropsten Test Network.</p><p>We’re glad to hear that you are nearly done with it already and really looking forward to what the auditors have to say. I’m sure with your (technical) knowledge and the fact that you’re leaning towards the Hex contract, you might have a good contract already in the first place. So I hope there won’t be any huge software bugs or something like that.</p><p><strong>Fabian:</strong> We’ve chosen the most amazing product there is, and we decided to to build something on it that makes it just a little bit sweeter for all users because if you get the flexibility and if you sell, sure you incurred the 10% fee but you’ve also made a lot more interest up until that point and for the hardcore Hexicans that want to stake the longest and have the most T-Shares, it’s an amazing feature actually.</p><p><strong>Kryptosparbuch:</strong> Well the people in the chat actually really like the idea of HexBay, so I guess there will be a market for HexBay in the Hex community but Fabian, do you have (future) plans for your contract? Stef and Firebun were saying they would like to gain more users from their Staker App. Do you have the same aim that you want to draw that many people in? Do you have a (target) number in your mind?</p><p><strong>Fabian: </strong>I don’t have a number in mind, and also that’s the whole point of why we have the referral program. We have a big referral program and we really hope that it takes off and people start referring other people, because if you self-refer you pay almost no fee and you have only the benefits.</p><p>Even if you are getting referred, you’re still paying the 4.7% to the person that referred you, but you are making a lot more interest.</p><p><strong>Kryptosparbuch: </strong>In my point of view it will start slowly because at first there won’t be a market to sell the stakes, because also what some people are misunderstanding: All stakes that were done already on the (original) Hex smart contract can’t be moved from the individual private key so the only option where it is possible are the new stakes made with the smart wallet over the Staker App.</p><p>There is a possibility of transferable ownership there with the Gnosis safe wallets they are using within the app, but besides that there is no way that existing stakes can be moved to a different private key, or to a different wallet.</p><p>I just needed to make this clear because outside of the dev chat there is a lot of misunderstanding still in the marketing.</p><p><strong>Fabian: </strong>Yeah, it’s kind of normal but of course, you can’t change the rules of the Hex contract, it’s all the same. The only difference is now that the HexBay contract owns the new stakes (that are put into it), it can transfer internally the ownership and that’s what’s happening.</p><p><strong>Kryptosparbuch: </strong>Because the Hex contract takes the ownership on the behalf of the user and if this user decides to give this ownership to somebody else then the HexBay contract with the decentralized functions can or is able to move that in a trustless way.</p><p><strong>Fabian: </strong>Yeah the original contract stakes always belong to the same owner. Our HexBay contract is always the owner of the stake but only internally, and the HexBay stake can be someone else’s.</p><p><strong>Kryptosparbuch: </strong>Yeah and “owner” doesn’t mean that you are owning those stakes, so it’s just a trustless, immutable, no-admin-key smart contract of HexBay.</p><p><strong>Fabian: </strong>Yes of course. It’s not me, I’m not earning anything. It’s the HexBay contract that owns the stakes and therefore, with the functions we’ve built in, you can use it, sell it, you can revoke your sale if you (change your mind and) don’t want to sell, and you can update your price if nobody buys your stakes.</p><p>The main thing is that at the beginning and I’m guessing for a longer period of time, there probably won’t be a lot of Hex stakes up for sale. That will only come a little bit later because if you just started your stake, you don’t really want to sell it one week later.</p><p><strong>Kryptosparbuch: </strong>I’m thinking that it won’t be a huge quick start and nobody needs to be aware that now suddenly all of the staked Hex is becoming liquid or something. I guess that is in some people’s minds.</p><p><strong>Fabian:</strong> I personally think that this will always be true for all Hex stakes no matter what. I don’t think there will be this super liquid commodity that’s getting traded a lot because there are so many parameters to every stake, so they are all not the same.</p><p>They’re always different from each other and that’s why I don’t think that there will always be a lot, because think about it if somebody puts up his stake for sale and he undervalues it, then some Hexican is going to buy it really fast.</p><p><strong>Kryptosparbuch:</strong> What I really about HexBay is that it incentivizes everybody to stake. Right now I have 0.01% of my Hex liquid and with HexBay I wouldn’t need to do that. I can just stake it and then later on I can sell it.</p><p>There is a question in the chat: How many times you can resell a stake? Do you think people will try to flip them? Maybe there will be a whole different market where people really try to buy those stakes and then resell it as a trading activity.</p><p><strong>Fabian:</strong> It can kind of happen, but you always have this 10% sale fee so I personally think that</p><p>most of the time one stake will get traded multiple times probably and that’s also good for everyone, because every time the stake is sold the 10% fee applies and we have another SmallPayDay, and everyone gets the benefits from us, even the old stakes that have already been created.</p><p><strong>Kryptosparbuch:</strong> I really like the idea of HexBay. Can you please give me a short elevator pitch of the HexBay? If I want to tell people about HexBay, what should be my main points to talk about?</p><p><strong>Fabian: </strong>Yeah it’s basically: You gain the maximum amount of interest and have the flexibility to sell, and those are maybe the two main points because you’re getting the full-on interest. It’s not possible to get any more than that (a 5555-stake) and you have the flexibility. So maybe after 5 years you decide, you know what i’m going to sell-</p><p><strong>Kryptosparbuch: </strong>Should I try the elevator pitch for you?</p><p><strong>Fabian: </strong>Yeah do it for me.</p><p><strong>Kryptosparbuch: </strong>Okay, if you are using the HexBay contract you have again an option to earn free Hex without having to put any money into anything, because you will be able to create your</p><p>own ref-link there, you can go out on the market and explain to people how the system works.</p><p>It works the same as the usual Hex contract, the only big difference is that you can start a maximum stake right away because you don’t have to wait until 15.2 years and for the stake to end. You are earning the best interest possible from the first day with HexBay, and if there comes a time in a few years where you need some money or you want the money out of the stake you can offer the stake on the general market, minus a 10% selling fee. You can get all the liquid Hex which the stake is worth.</p><p><strong>Fabian: </strong>Yeah that was actually amazing, you should do that for a living!</p><p><strong>Kryptosparbuch:</strong> Yeah I’m getting better.</p><p><strong>Fabian: </strong>It’s my first livestream and also I’m not a full-on shiller, but like you said it’s really great, to get maximum interest from Day 1. Even if you intend to stake for 15 years let’s say, but you never know what’s going to happen in your life. Maybe you live in the US and your parents get sick or something and you really need the money. You still have the option to sell even after two days.</p><p>You would take a loss on that but it’s much better than having your normal Hex stake for 15 years because you wouldn’t get anything if you were to end that stack.</p><p><strong>Kryptosparbuch: </strong>Well I think I know exactly what will happen. Hex will go to $7 and people want to sell because they want the money, you know?</p><p>But still, somebody on the other hand, would need to buy that Hex on the market and buy this existing stake with new Hex, so it’s not price-negative on that point.</p><p>And actually if the Hex price goes to $7, it would be with the normal Hex code even more price-negative, because all the existing stakes which are over 50% progress would be EES’ed to get at least the principal and some additional interest, because right now we are under $0.01. We are talking about 700x from right here. I would do that for a 700x yeah and I’m sure that about 30,000 other people would try to do the same thing at the same time.</p><p>I think this is a really good point to make here. With HexBay, the people wouldn’t EES to sell the principal but instead, sell their stake so it doesn’t flood on to the market, so this is a pretty good point.</p><p>Exactly, because on the other side you need to wait until you find a buyer, because you can set the amount of Hex you want to have for this stake, so if you have — I don’t know if it’s currently worth 1 million Hex — you can even say this stake is already running for 3 years, I want to have 1.2 million Hex for it because it’s worth way more T-Shares than you would get right now, and then you can start an agreement process or something like that.</p><p><strong>Fabian:</strong> You can also undercut. If you really want to sell your stake, you can sell it at a lower rate and you will incur the 10% fee, but you would still get a lot more than if you had to emergency end-stake, where you would maybe get nothing out of it, or you just have to wait longer, so there’s also that.</p><p><strong>Kryptosparbuch: </strong>I bet there will be HexBay snipers somewhere, waiting for really cheap stakes and then just buying them up and reselling them later on.</p><p>Speaking about actively marketing, do you guys have intentions or a plan for how to market your HexBay contract?</p><p><strong>Fabian:</strong> So we’ve designed it in a way where other people can do that. As you can see I’m not the best at selling you stuff, but we are good at building good stuff, so there’s that. Then there are people that can do the referring for the whole community. If you get 4.7% of everyone that you refer, and you have a really good reach, and you can reach a lot of people, that’s a lot of money, and you can do a lot of marketing for that amount of money.</p><p><strong>Kryptosparbuch: </strong>And just for the haters, we are still speaking about a zero or a one-level referral system,so no pyramid in here. Nothing which puts new fat on the market.</p><p>Is there a price differential or incentive between stakes older than 50% old versus stakes that are under 50%, and still haven’t reached principal coverage? I don’t know and actually with the HexBay contract you’re setting up 5555 stakes, so we might find out in 7 years, you know because in 7 years it would be 48% and in 7.8 years it would be 51% then let’s watch the markets.</p><p>As I understood the question, this seller is always setting the price himself, so if he wants, as Fabian says, to undercut the price and make it easy for somebody else to buy it then he can do that, right?</p><p>Of course, if he wants to sell after exactly 7 years with 47%, he would still lose a lot of his principal if he emergency end-stakes, and maybe he will choose a lower price instead of what his T-Shares are worth. I guess the usual span of the price, or region of the price right now is the current value in Hex and on the other side, there is the current value of the T-Shares, and in between those two values, will be the truth (in price discovery) to sell one one HexBay stake.</p><p><strong>Fabian:</strong> Yeah that’s correct. you have the principal and the earned interest, so it’s like a base minimum because you have a lot more T-Shares than you would get compared to regular stakers. If you want to sell your stake in 5 years, you have a lot of T-Shares compared to people putting the same principle in at that date.</p><p><strong>Kryptosparbuch:</strong> Or putting even more principal in, so your current value, but even if they’re still putting the current value they get less T-Shares, in theory.</p><p><strong>Fabian:</strong> At some point they have to increase the principal by a lot, but then they would also get the same amount of T-Shares, but if I’m selling my stake, they could just buy my stake, so why would they not do that?</p><p><strong>Kryptosparbuch:</strong> I have a question here, somebody saying, <em>“I’m not fully convinced. I like the mechanics but I doubt it will gain traction without offering NFTs.”</em> I don’t know what they mean by NFTs but I’m sure HexBay really needs to gain traction somehow, to find those users because without users HexBay would go nowhere.</p><p>What are you doing to really get that traction? What are you doing to find more users?</p><p><strong>Fabian:</strong> The intention is that once the audit is through, we’re going to do some basic tutorial videos on how to interact with the platform and the rest is up to the community really. So reach out to the people, get them into HexBay, the best Hex stakes available.</p><p><strong>Kryptosparbuch: </strong>Yeah, I think you would need a really good webpage where people can beautifully see what is on sale, how much it costs, and just make it usable for the customer because I think the main problem Hex has right now, the site go.hex.com doesn’t look as good as other pages.</p><p><strong>Fabian:</strong> It’s been revamped multiple times now. I think it looks kind of good right now but i don’t think that’s the main problem Hex has at the moment. I think it’s really that you need to get momentum in cryptocurrencies. That’s what I’ve learned over the years and you can see on Cardano for example at the moment, or BNB or stuff and Hex has moments where this goes up and everything.</p><p><strong>Kryptosparbuch:</strong> For me I see big value in getting somebody who doesn’t know about Hex to do his first maximum (5555) stake, and by saying, “Yeah don’t worry, if you really want to sell this in the future there would be a market to do that”, because you’re staking it with this sub-smart contract, that you don’t need to ever emergency endstake because you might need a couple of weeks of time until you find a potential seller.</p><p>But that way you gain maximum interest and you always have to have the possibility to sell in the future.</p><p><strong>Fabian:</strong> Yeah and also it’s for people that are older or maybe have some health issues or stuff. It’s in a way kind of unfair I guess that the younger people, they can stake for 15 years no problem and then they don’t really have to worry about it, but if you are already older and at the moment maybe you are doing just 5-year stakes, and then you would lose out on a lot of interest.</p><p><strong>Kryptosparbuch: </strong>Yeah and suddenly you live 15 more years because Richard (Heart) made some SciVive life-extension research or something.</p><p><strong>Fabian:</strong> And then you bite yourself in the ass afterwards, and with Hexbay you can do it. Everyone can get the maximum interest.</p><p><strong>Kryptosparbuch:</strong> There is a lot of discussion in the chat, but they are all talking to each other right now. At the beginning of the stream I saw people shouting, “Ah, we don’t want that”, then in the middle of the stream when we all explained it, there were people saying, “Man I love that, that’s a really huge change right now”, and I think people are already sold on the idea of HexBay.</p><p>So to stake over the HexBay contract, it will need more gas, right? So it would be a slightly higher fee to do that, right?</p><p><strong>Fabian: </strong>Yeah that’s correct. Some people are laddering every month and then you could maybe tone that down a little bit.</p><p><strong>Kryptosparbuch: </strong>Because of the flexibility to sell.</p><p><strong>Fabian:</strong> Yes, and then maybe I can just stake once each quarter or just two stakes per year, and then I can choose the specific time where I want to sell it.</p><p><strong>Kryptosparbuch:</strong> Yeah you got me. One really interesting question I have here is: What’s your edge over Staker App’s Smart Wallet? Somehow I see it as you being a competitor, right?</p><p><strong>Fabian: </strong>I don’t really think so because we are doing completely different things, and the guys from Staker App can also include HexBay. It’s basically the same thing. The stakes are ordered exactly the same, and so you can view your stakes normally and everything. If they wanted to, they could also implement it that way.</p><p><strong>Kryptosparbuch:</strong> And yeah, everybody who is using HexBay inside their Staker App, would gain their referral bonus money out of the HexBay contract.</p><p><strong>Fabian:</strong> Yeah, which is a lot. There’s also the benefit of that.</p><p><strong>Kryptosparbuch:</strong> And they would have another option for their users, right?</p><p><strong>Fabian:</strong> Yes. and also with the new feature we are currently implementing, you don’t really need this Gnosis smart wallet stuff because you can just choose a recovery address of your own, and you can recover your stakes yourself, basically.</p><p><strong>Kryptosparbuch: </strong>So let’s say I have liquid Hex in my hardware wallet. Let’s say Ledger, I have already made the MetaMask account, I combine it with my hardware wallet, and then I go to the webpage, there I have the user interface where I can do my 555 stake, which is sellable in the future, and if I lose my Ledger hardware wallet or if I lose the 24-word seed phrase sheet, how can I proceed?</p><p><strong>Fabian:</strong> When you start the stake, you can set a recovery address and it’s optional.</p><p><strong>Kryptosparbuch:</strong> So how could I do that?</p><p><strong>Fabian:</strong> It’s just an additional field on the website that you just put in. It’s in the function that if you put something in this address (field), then that is now your recovery address and then the way we are doing it is kind of complicated.</p><p>The main thing is that your main address that you’ve used for staking has a time-lock feature on it, so if you want to for example, sell your stake, then you would first have to activate the time-lock. It would take 48 hours — that’s what we are thinking about currently (for the time frame) — and after the 48-hour window you can sell your stake.</p><p>You have one week where you can do everything with your stake that you want, but if the time-lock is called you can use your recovery address to instead claim ownership of these stakes, so if your wallet gets compromised, the other person can’t immediately sell your stakes on HexBay. The hacker first has to start a time-lock.</p><p><strong>Kryptosparbuch:</strong> Ah, so the hacker also needs to start the time-lock so definitely I’d have a time window of 48 hours to figure it out.</p><p><strong>Fabian:</strong> And you can set up a Telegram bot that PMs you if your time-lock is called. And then you can come in with your recovery address and save yourself. So your recovery address would not become the new owner of your stakes, but instead, using the recovery address, you can input a new address and this address becomes the new owner and that address is still the recovery address.</p><p><strong>So the recovery address is always just for recovery.</strong></p><p><strong>Kryptosparbuch:</strong> Okay, and with all these functions, it sounds to me that it’s not a tool that increases the velocity of Hex immensely, because you have to wait for two days before you can set the amount of Hex you want to sell the stake for. It seems you need to plan a bit in advance so it’s not increasing the velocity.</p><p><strong>Fabian:</strong> Yeah, it really doesn’t matter because if you have 15-year stakes, what are two days? So you can wait two days more, basically.</p><p><strong>Kryptosparbuch:</strong> I really loved the interview here Fabian. I’m really sold on HexBay. I think it’s a great product. You’ve opened my eyes and we’ve a lot of viewers here. Also Patrick mentioned a couple things that I haven’t thought through yet, but it just makes sense to me.</p><p>Can you please tell us where we can find you on Twitter or maybe where can people contact you on Telegram if they’re more interested you know?</p><p><strong>Fabian:</strong> Yeah I’m on Telegram. I’m currently not using Twitter, at least not actively.</p><p><strong>Kryptosparbuch:</strong> Yeah should put the Telegram HexBay group name in the chat?</p><p><strong>Fabian:</strong> That would be great. It’s just t.me/HexBay and you can reach me at “Earl Of Cockwood” in Telegram directly. I’m also in the Hex crypto dev room. I’m in the Kryptosparbuch room, and I’m in HexBear actually, because it’s funny. It’s kind of quiet in there, but yeah.</p><p><strong>Kryptosparbuch:</strong> It’s sometimes funny to read it, yeah. I’m also still in the HexBear group, especially because Paxen and I were like — it was because of Paxen that Richard (Heart) created the HexBear room.</p><p><strong>Fabian:</strong> That’s true. Yeah and you can also go to hexbay.win, switch over to the Ropsten Testnet and then you can —</p><p><strong>Kryptosparbuch:</strong> Enrich yourself with fake Hex! [laughs]</p><p><strong>Fabian:</strong> Yeah you can get yourself some fake ETH and then you can mint on the website. You can mint all you want, every mint transaction is 1 million Hex I think, yeah and then you have to approve once so that the smart contract can actually use your Hex tokens because it’s an ERC-20. So it’s the same thing like in Uniswap, and then afterwards you can do whatever you want. You can start a stake, you can see stakes that are up for sale, you can flag your stake for sale, everything.</p><p><strong>Kryptosparbuch:</strong> Patrick, can you explain publicly, what do you mean by fake Hex and fake ETH?</p><p>The Ropsten Network is a test network, so they have the contract already running but on a test network, like IOTA should have been doing it since 5 years or something, to test the shit out on a test network.</p><p><strong>Fabian:</strong> You could click on your MetaMask icon and then you can switch above from Ethereum Mainnet to Ropsten Test Network and once you’ve done that you are on the test net. Then there are some faucets where you can get testnet Ethereum, and with this testnet Ethereum, you can do transactions on the testnet. You can visit hexbay.win, and then you can mint your own Hex on the testnet, so yeah, it’s not real Hex.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*NdM7Ho_AtqHkBRcInpYtZg.png" /></figure><p><strong>Kryptosparbuch:</strong> Yeah, you can’t send fake Hex to the Ethereum Mainnet, that’s not possible. If you need a guide for it, please go in the Telegram chatroom, t.me/HexBay, and the pinned message is the Medium article, and it shows how to do everything with the Ropsten testnet,how to claim your fake Hex and then you can start trying the smart contract out.</p><p>Do you have any time frame that you think CoinFabrik will need for the audit to be finished?</p><p><strong>Fabian:</strong> It’s kind of good news and bad news. They told us that it will be delayed a little bit, but that gives us the options to actually implement the recovery address feature, which is pretty good. So my guess is later this month or beginning/mid next month probably.</p><p><strong>Kryptosparbuch:</strong> The next time we have Fabian on, we will have a live demo here. Maybe we could have a split screen where you show how everything looks and how it works?</p><p><strong>Fabian:</strong> Yeah sure! The website is kind of rudimentary at the moment, but it looks kind of like the Hex frontend website, so that should make it easy.</p><p><strong>Kryptosparbuch:</strong> Is there a calendar function in there? Because you don’t really need it, right? You just type “5555”.</p><p><strong>Fabian:</strong> That’s the thing, yeah you’re probably most likely just going to type “5555”. I don’t know if there’s a calendar function at the moment but we have some time to make the site look really slick and everything.</p><p><strong>Kryptosparbuch:</strong> Just to give the people an idea, who do you mean when you say “we”?</p><p><strong>Fabian: </strong>Yeah, we are two people working on the project.</p><p><strong>Kryptosparbuch: </strong>The other core developer of HexBay goes by the Telegram name “Graf Panini’’, and also can be found in the HexBay Telegram group, so if you want to talk with him, he is also within reach.</p><p>Are you also thinking about making it possible for a potential buyer to see what stakes were made in the HexBay contract, so that he can flag a specific stake and make an offer for it?</p><p><strong>Fabian:</strong> You mean even if it’s not up for sale, that you can pick someone, for example? You can kind of do it because you can see which address owns which stakes, and you could go to Etherscan and leave a comment in the comment section under each address if you wanted to.</p><p>It’s a bit more complicated than what you’re thinking, but yeah, I don’t know if it’s that useful. I’m going to think about it actually. We still have some time.</p><p><strong>Kryptosparbuch:</strong> I’m just brainstorming with you today. You’re not handing the actual code, you will deploy to the auditors yet, since they say they’re too busy right now, so does that give you some more time to implement even a bit more, or how does that work for you?</p><p><strong>Fabian:</strong> Yeah that’s the thing. CoinFabrik has a lot of requests and they’re working on a lot of audits currently. and so we just got delayed a little bit. So yeah, in the meantime we can change around the code, etc. They haven’t started auditing actually, so that gives us some time.</p><p><strong>Kryptosparbuch:</strong> So do you think it might damage the original Hex game theory, because the chart of future stakes might not be a reliable metric anymore since you don’t know exactly when people are going to sell the Hex which are locked in the HexBay contract?</p><p><strong>Fabian:</strong> Yeah, you don’t know when they’re going to sell instead of the way it is currently. Currently, if somebody ends the stake, you have to assume that he’s going to dump the Hex. Maybe you can’t see when somebody is offering his stake but if he does offer it, it’s a net-positive for the economy because somebody has to buy the (liquid) Hex, and then buy the stake, and then only 90% gets dumped, so you always have the benefit here.</p><p><strong>Kryptosparbuch: </strong>Might it lead to the impact that shorter stakes in general get more deluded, because if a huge bunch of new users are just staking the 5555 stakes through the HexBay contract, the users who are staking short-term (in smaller time frames) in the normal Hex code might get less interest?</p><p><strong>Fabian:</strong> That’s true, but also if a lot of new people come in and buy Hex and stake that for 15 years, that’s pretty positive on price so maybe you’re going to receive a little bit less.</p><p><strong>Kryptosparbuch:</strong> Yeah, actually my statement wasn’t price-negative right now because while asking, I was thinking about that and actually it might be beneficial for Hex if old guys who are just constantly putting their stake wall one month in front of the next (front-running other people), that they don’t get so much Hex out of it, so why not?</p><p><strong>Fabian:</strong> Yeah, most of the time we spent on actually thinking about how we were going to do everything and it took a lot of time and a lot of tries to get it to where it’s at now. It’s (designed to be) price-positive in almost every way because even if a lot of Hex now gets staked for really long, how is that a bad thing?</p><p><strong>Kryptosparbuch:</strong> Would it remove the good behavior, because the current game theory of Hex is made that it incentivizes long-term thinking and long-term planning and so on, so would it remove this good behavior?</p><p><strong>Fabian:</strong> No, it would actually benefit because all the stakes are 5555, that’s the best user behavior you can have.</p><p><strong>Kryptosparbuch:</strong> Yes, but right now if I do a 5555 stake, I know I’m locked in, and this kind of behavior would be gone with the HexBay contract.</p><p><strong>Fabian:</strong> Yeah but it’s also a good thing, because every time somebody gets impatient with the HexBay (stake) they can sell it. There’s a 10% fee that gets redistributed to everybody and it’s actually possible for a stake to be really net-positive for everybody else if it gets sold a lot of the time, because in 15 years there’s a lot of opportunity to sell your stake.</p><p>Every time that happens 10% gets redistributed to everybody. Maybe it gets traded 10 times, and then it’s really good for the economy.</p><p><strong>Kryptosparbuch:</strong> I see a few people here saying they are afraid that the main Hex game theory gets destroyed by HexBay, but I see it this way: If it is possible that somebody creates a contract like you did, then somebody will create it, and if you don’t do it somebody else will do it next year, for example.</p><p>Everything that can be done, will be done, and Richard Heart, for example, never thought that people would emergency end-stake to restake longer, so this shows me that users find their way on what to do with the product and I think HexBay will show us in the future what interesting things Hexicans will actually do with that contract. I think that is really interesting for the market.</p><p>Yeah and actually for me personally, I like the HexBay contract, and if there are no bugs in the code, which is being audited by the same company who read and reviewed the Hex smart contract, that is enough for me to trust it, personally. Do your own research, everyone. This is not financial advice here.</p><p>Also for the referral program, for older people, for people who are afraid of losing their keys, if this is a direct onboarding mechanism, not via the online channels, then I can say <em>“Yeah, let’s take my address as a recovery address”</em>, because I will take care of it.</p><p>There is a lot of Hex on there, so I have the seed (memorized) in my brain. As Kryptosparbuch, could we make a new seed on a hardware wallet and offer that seed as a recovery option?</p><p><strong>Fabian:</strong> Yeah, you don’t choose the seed but you choose an actual address.</p><p><strong>Kryptosparbuch: </strong>Yeah, we are creating the seed from a hardware wallet just to be as safe as possible, you know to create it offline. Then we could use this address and do some other business stuff around it that the user might link his address with the email address that we also know, as a way to authenticate, <em>“Okay, this is really a user from Kryptosparbuch.”</em></p><p>Cool ideas actually! I really like a lot of this. And are there maybe more things to come in the future? Are there more things you could implement into the HexBay contract?</p><p><strong>Fabian:</strong> Yeah so while we’ve been working on the HexBay contract, we had a lot of ideas for stuff that we could do and most of the time it was the other dev that held me back a little bit, because I wanted to implement this, that and everything. But in the end we wanted to bring out HexBay as the product that it is now and we will be building other stuff then, probably. It kind of depends, but yeah we have a lot of ideas and that’s me basically in a nutshell.</p><p>I have lots of ideas and I’m always coming up with a lot of stuff, trying everything out, having a lot of game theory in my mind.</p><p><strong>Kryptosparbuch: </strong>So right now the market and the community is a bit curious in regards to the Hex share rate. Yesterday evening we did the German stream and I calculated the stake which is about to come out on the 15th of March, this huge lake of over 1 billion Hex. What do you think the share rate will do?</p><p><strong>Fabian:</strong> I haven’t looked into it. How old is the stake?</p><p><strong>Kryptosparbuch:</strong> Man this guy is smart, because the first thing he’s asking is how old the stake is. He really knows if the stake is not long enough, it won’t set a new share rate. You nailed it, because it started on Day 104 I think, for a 1-year duration.</p><p><strong>Fabian:</strong> And I don’t know, are there any other stakes that are older that are going to end before that?</p><p><strong>Kryptosparbuch: </strong>Yeah, I calculated yesterday and it turns out that if you calculate those last 12 days of interest, it’s pretty easy to calculate because you just take the average of the last days. It won’t change that much in the next 12 days and if you then put in the whole amount of Hex he might receive, +/- zero-point-something %, and then you stake it again for 365 days, you already see that he won’t get as many T-Shares for that as he currently has.</p><p>The share rate will not do anything. I shouldn’t say it won’t do anything on that day because there still might be an end stake from the first or second day with way less Hex, but then we have a new share rate. But this large stake won’t affect the share rate at all.</p><p><strong>Fabian:</strong> Yeah the first thing is, the Day-1 stakes that are ending are setting the rate.</p><p><strong>Kryptosparbuch:</strong> Or if there is no Day-1 stake and there is a whale stake for 3 days or something like that, then this stake would change the share rate as well. Only by a small amount. Also with the old stakes it’s also just a small amount.</p><p>It might change in some years because if there is no stake competing with this specific first day stake then there might be a smaller spike, so for example in 2030 when those OA stakes from the first week are ending that might be a higher spike in the share rate of a couple of percent.</p><p><strong>Fabian:</strong> I have some stakes ending in 2030, from Day-1, so prepare for the higher share rate.</p><p><strong>Kryptosparbuch: </strong>Yeah, it would definitely be better to make a re-stake in November. Just look at Hex.vision. It’s still better to re-stake before those stakes are ending which are setting a new share rate.</p><p><strong>Fabian:</strong> The best thing is always staking for as long as possible, and then surely it doesn’t really matter that much when you do it. The sooner the better.</p><p><strong>Kryptosparbuch:</strong> Do you have a solution for that, Fabian, to always stake longer? [laughs]</p><p><strong>Fabian:</strong> Yeah, it’s easy. You go to go.hex.win and then you put 5555, or you wait one and a half months, you go to hexbay.win, and then you’ll create a tradable stake there and then you don’t even have to wait all the time. You can still be patient and wait all the days through and then you can just end your stake, and you made pretty much as much as if you had done it on the normal Hex contract, but you had the flexibility all the way.</p><p><strong>Kryptosparbuch:</strong> Cool, do you have any questions for us, Fabian?</p><p><strong>Fabian:</strong> How is it in Mexico?</p><p><strong>Kryptosparbuch:</strong> It is awesome. Right now it’s getting really hot, it’s 3PM and I can’t wait to get to the beach. When do we get to see you traveling around?</p><p><strong>Fabian:</strong> Me personally? I don’t know, I’m not the kind of YouTuber, I mean once COVID is over —</p><p><strong>Kryptosparbuch:</strong> You don’t need to be a YouTuber to travel.</p><p><strong>Fabian:</strong> But I meant if you want to <strong><em>see</em></strong> me travel, I would have to say once COVID is over, we are going to travel.</p><p><strong>Kryptosparbuch:</strong> I would love to see you and the Graf Panini guy as well at a Hex Conference someday. That would be awesome.</p><p><strong>Fabian:</strong> Yeah, I’m also wearing my Hex shirt but yeah you can’t really see it. Yeah, Hex has the best community.</p><p><strong>Kryptosparbuch: </strong>Thanks to everybody out there for this awesome chat today. Thanks for coming and asking all your questions. Thank you Fabian, for answering all of them and clarifying the different things which are out on the market, and for clarifying what the HexBay contract itself is, and how it is beneficial for the whole ecosystem.</p><p>Thank you for spending the one and a half hours explaining HexBay, it was pretty nice for everybody.</p><p>Abit, anything from your side? I just have to say thank you and enjoy the rest of the week.</p><p>Well thank you everybody for being in the chat and for watching the video, and thank you Earl for being such a great community member, and I think this is why Hex is so valuable right now, because the community really drives Hex forward, and you’re doing your part so thanks for working on HexBay and giving us this awesome tool.I would love to see more from you in the future.</p><p><strong>Fabian: </strong>Thanks a lot for inviting me, for having me on the stream, and thanks for everybody that tuned in, for everybody that maybe will watch this later yeah and thanks to you guys as well for for doing the Kryptosparbuch streams, for putting so much time and effort in.</p><p><a href="https://www.youtube.com/watch?v=d_neHLEadCk">https://www.youtube.com/watch?v=d_neHLEadCk</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1afa158b992" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interview With A Hex Dev: Part 2— The Engineering Behind Hex Shares & Staking]]></title>
            <link>https://cryptovince.medium.com/interview-with-a-hex-dev-part-2-the-engineering-behind-hex-shares-staking-ce2b6409122e?source=rss-c095936ca519------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce2b6409122e</guid>
            <category><![CDATA[cryptocurrency-investment]]></category>
            <category><![CDATA[hex-crypto]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Vince C.]]></dc:creator>
            <pubDate>Tue, 16 Feb 2021 11:11:25 GMT</pubDate>
            <atom:updated>2021-02-16T11:11:25.168Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sgeW2kMGIi00zKxOLmti7A.jpeg" /></figure><p>This is a continuation of the interview between Dev Kyle Bahr and Kryptosparbuch. In Part 2, they discuss the mechanics behind passive compounding in the Hex share price system.</p><p><strong>Kryptosparbuch:</strong> So we talked about the security today a lot. Now it’s time to move away from that, even though it is a really important topic and all our German followers really love those questions. That’s why we took so much time for that, but now let’s go on deeper into Hex.</p><p>The most prominent thing you are known for is the share rate. You came up with the share rate, right? And how did you come up with it in the first place?</p><p><strong>Kyle: </strong>I’m not going to take full credit for that, though I think I understand it the best. A little bit of history: the problem that this started with is the claim that longer Hex stakes always pay better than shorter stakes.</p><p>There’s the fundamental claim and even with all the changes<strong><em> that was the core proposition of the project: </em></strong>you lock up your coins and if you lock longer you are rewarded more than someone who locks shorter.</p><p><strong>It has to work that way.</strong></p><p>People must be completely confident that this works, otherwise the core principle of locking up your coins for a long time, reducing market supply, price go up, all those “<em>Richard-isms</em>” will be undermined. If somebody finds a way to stake shorter so that they have liquid Hex to sell anytime they want and they have an advantage over people who’ve locked up and given up that timing advantage, then <strong><em>all the faith in the project is gone.</em></strong></p><p>That core claim that longer pays better has to work, and we looked at a zillion ways to make that happen. There were all kinds of mechanisms to defer when shares pay. We’re going to talk about the simulation later, but frankly the simulator, once it revealed some particular problem, I almost entirely repurposed it to experiment on how to make this LongerPaysBetter thing work.</p><p>Early on, someone in the community (I think his handle was Greg,and he’s a very sharp dude) suggested doing some simulations. He did a lot of the same simulations I did, though not as random but just simpler ones, and he said:</p><blockquote>“Well, you should just do compounding. Just do compounding like how a normal compounding interest investment works.”</blockquote><p>We looked at that and it was super-complicated about how to have people interact with the contract all the time, like manually compounding because nothing is automatic on Ethereum. You can’t automatically compound everybody, so then it just becomes very high-touch, which just runs counter to the idea that you just stake and then forget about it. If you have to be engaged and constantly hitting a button, that doesn’t work.</p><p>He proposed that you could do the reverse by just basically slashing the benefit that latecomers get, and that was the first way that the idea was phrased. He gave some examples, like if you slash the reward that latecomers get, you can achieve this compounding effect without touching. So that was point one: how you can reduce the benefit to later people and get the same compounding effect as if everybody is touching the contract all the time.</p><p>But then that fizzled out because it didn’t handle bonuses, it didn’t do anything, and it didn’t <em>quite</em> work. Also, it showed really extreme returns differences, given the rules at the time. When I mentioned before that the BigPayDay used to be split over every day, this created a situation.</p><p>Those two things combined together — where early people are rewarded daily and if you come later, you’ve missed out on some number of days of reward and you’re slashed so that early people are compounded — showed this <strong><em>ridiculous</em></strong> difference:</p><p><strong>A Day-1 person could make a 1000x over the first year and a Day-2 person would make 500x.</strong></p><p>So one day, if you just hear about the project a day late, you lose about half versus the guy yesterday. There were a bunch of things about that original idea that didn’t work. Moving along, we were trying all kinds of different ideas. Richard kind of floated this idea of “highest ROI”. He said:</p><blockquote>“Well, all we have to do to make sure that the new guys don’t get paid more than old guys is that the new guy has to basically buy the ROI of the old guy, and so if he has to buy in at some higher rate then that will naturally slash his benefit.”</blockquote><p>Then we thought: <em>“Okay, maybe we can put a price on shares”</em>, because at first shares were just always 1:1. There was no conversion factor. It was always just:</p><ol><li>Take your Hex</li><li>Directly convert to shares</li><li>Then convert it back to Hex later</li></ol><p>So we combined these two ideas and said:</p><blockquote>“Okay, so we have some sort of price mechanism, there’s something about ROI. Maybe we can put those together and that will give us the effect we want.”</blockquote><p>And yet, it still didn’t quite work. There were edge-cases where big, short stakes could beat long stakes when they shouldn’t have been able to. The dev who did all of the contract code that’s in production added the final element to correct for that one issue, which was changing the way that the ROI is calculated.</p><p>It’s not strictly ROI. It’s not comparing it to what you made before. It just looks forward and asks:</p><blockquote>“If you re-stake under the same parameters, how do we keep your shares constant?”</blockquote><p>That was the final correction that was needed to make this thing work in a very smooth way. There were a couple other tweaks in there. I think I tried it both when you start a stake versus when you end a steak. It’s actually not quite compounding as you would expect. It only happens on end stake rather than daily, so there’s no guarantee that you’re turning over the whole coin base everyday; it’s only when stakes end.</p><p>There’s a couple tweaks here and there, but with the original inspiration of <em>“you can do this compounding by slashing newcomers”</em>, we asked if we could key it off of ROI somehow. Then came the one refinement on that idea of changing ROI to only be forward-looking, meaning if you stake under the same parameters, it would just hold shares constant.</p><p>Then I wrote some proof-code in this tool called WolframAlpha to make sure that there’s <em>no circumstance</em> where that will be violated. The invariant is: you never get more shares than you started with under the same staking parameters.</p><p>We submitted that to the auditors, who had a math Ph.D. guy look it over, write it up in formal math and prove that it was so. It took about 6–8 months to come up with the right mechanism for share rate, and this is all because of that<strong> fundamental guarantee</strong> that <strong><em>longer stakes must always pay better than shorter stakes</em></strong>.</p><p><strong>Kryptosparbuch:</strong> Awesome. You answered the question really thoroughly. You already answered all the questions I had about the share rate. Actually we have one more because it was very technical and some people in the chat now are new to Hex and not that far down the rabbit-hole. Could you please give us an example, because there is still the notion that the highest 5555-day stake will set the new Hex share price in 2036.</p><p><strong>Kyle:</strong> I did gloss over the key difference from that, so let’s back up. The thing that has to be true is that short stakes will never beat long stakes, in terms of how much Hex they get back. So one way that you can hopefully and intuitively guarantee that, is if for example, I have 100 shares and you have 50 shares, it’s because I staked way longer than you did.</p><p>The way that we know for sure that you’ll never do better than me — meaning if you stake and then you re-stake again and again, and then it all adds up to the same time that I did — the way that we can know <strong><em>for sure</em></strong> that you’ll never gain ground on me is that if you restake for the same amount of time, your shares won’t go up.</p><p>Let’s imagine the opposite: if you have 50 shares and you know a trick to stake for a short period of time to get 51 shares, well then, you could just do that trick again and get 52, and do that trick again and get 53. So you’re gaining ground on me by doing something that we’re trying to discourage. I should always win if I stake for longer than you, for the same amount of Hex (principal).</p><p>I should be ahead of you forever, as long as I keep staking longer, meaning: My time comes up, I restake for that same long period, and no matter how many little stakes you get in-between, as long as you never get more shares each cycle or each iteration, then you can never catch up to me and the guarantee will hold, whether it’s for 100 days, 1000 days, or 5000 days.</p><p>We have a way to guarantee that you never gain ground. So, how do we do that? Well, the computation to figure out what you need to pay to get your shares, should always just be what you need to pay to get your shares back. If I cash in 50 shares, all I have to do is figure out what to charge you to get 50 shares back, and that’s easy because I know how much Hex you just got.</p><p>If you put in some amount of Hex and you get back 10% more, 10x more, 100x more or 80% more, or even 80% less because you have a penalty, I can figure out what price to charge you to get your shares back. So if you made 2x, well I just have to charge you double what I charged you last time, and then you’ll get exactly the same number of shares back. if you got 50%, I just need to raise the price 50%, etc.</p><p>No matter what you exit with I can just figure out what to charge you to get back in at exactly the same position. That way you’re not gaining ground, and you’re not necessarily losing ground, you’re just sort of repeating.</p><p>Now the trick with share rate is that in the case that I gave where, say you only get back 80% because you have a penalty I’m not going to lower the price for you. I’m just going to keep the price where it is. Or, if you make 50% and someone else has already doubled the price, I’m not going to lower the price for you. So you’re not able to buy back in at the same amount of Hex in the same time frame.</p><p>It’s really just about managing that price so that no one can ever get more shares for the same commitment. Just think of it that way The thing that is held constant is that a commitment yields this many shares, and then once you end your stake, that commitment of time has to yield the same number of shares, and we just compute the price to to make that true.</p><p>So even after 5555 days with a max size stake, somebody makes 100x and then they just take all those gains and they restake them for one day. Well, the next day they have made some amount of money.</p><p>Maybe it’s a 10th of a percent, but if you raise the price a 10th of a percent to match those gains it’s not the highest anyone’s made, even that they made yesterday. But, it means that they can’t gain ground on somebody who staked 5555 days <strong><em>halfway through their stake</em></strong>.</p><p>So, you have to think across long periods of time. If they staked on Day 1 and then someone else comes along in 5 years and stakes for 5555 days, then the original person shouldn’t be able to catch up to them either.</p><p><strong>It needs to be constant for everyone, across all of time.</strong></p><p>It’s not ROI. Just think of it as: the price changes to match and to keep the commitment constant.</p><p><strong>Kryptosparbuch:</strong> Yes, it’s beautiful. I never thought that is was computed this way, that it’s forward-looking. I was thinking, the contract looked back on the data and then raised the share price, but it’s not like that. It checks for every single person, and no one can ever get more shares when they stake again. Then you have to look forward for the next possibility on what they could have done, just like in your example of re-staking for a single day, even.</p><p>Before we move on to the next section, you’re familiar with the future staking chart, right? Near the end of every year, in November or December, there is a large stake and we know from the beginning that those stakes were made in the first two weeks of the existence of Hex. Are those those stakes going to set a new share rate every year and will that lead to a spike in the share rate or not?</p><p><strong>Kyle:</strong> Probably. It’s hard to say for certain but I think that’s right. The earlier you start and when you get out to fairly long time frames, the size sort of diminishes in value. It maxes it at 10% but you can match that with just an extra 6 months, the way that the math works out.</p><p><strong>Kryptosparbuch:</strong> Yes, but you still get the 1.1x bonus multiplier for BiggerPaysBetter. That’s my background of thinking, it might spike for something below 10%, because if it’s always the biggest, longest, earliest stake and the max-out is 10%, the stake may earn 8–9% more than the stakes it’s competing with.</p><p><strong>Kyle:</strong> Yes, your thinking on that is right. All I was trying to mention is not to scare people, because you can defeat that relatively small advantage by just pushing out 6 months on your commitment. That’s all I mean, is that you can overcome it relatively easily and that’s by design.</p><p><strong>Kryptosparbuch: </strong>Yeah, the background is that if somebody asks me how to build up a ladder, and I want to build 15 individual annual stakes, one for each possible year on the timeline, then I am recommending ending your stakes before that large stake.</p><p>The first reason for that is it could be sold afterwards, and the second reason is because if you want to restake, and if you end stake before that large one you can restake for a better share price.</p><p><strong>Kyle:</strong> Yeah, that’s good. It feels a bit like a micro-optimization because it will be a few percent, but that adds up. That’s reasonable advice to give people.</p><p><strong>Kryptosparbuch: </strong>I<strong> </strong>think it adds up to a lot. I’m just comparing the Day-1 staker who paid 10,000 Hex for 1 T-Share, and today you have to pay 16,000 Hex for one T-Share, so it’s 60% higher already, right? This is paid out daily and I think it just makes it out to be a lot for the next 15 years.</p><p><strong>Kyle: </strong>Yeah, it definitely adds up, especially if you’re going long, because then you’ve subtracted 8% of your total.</p><p><strong>Kryptosparbuch: </strong>Yes, the idea of that is if I have an annual ladder with 15 stakes, after each year I can end stake it and push the principle as a restake to the end of my ladder.</p><p><strong>Kyle:</strong> Yeah, I’ve seen that system. I think that that works well. There’s a little bit of ramp up time to get yourself on this cadence, but then you’re always having max bonus. Basically, you build up to the max bonus forever.</p><p><strong>Kryptosparbuch:</strong> Exactly. That’s the idea behind it, yeah. So when we started talking about the share rate, you mentioned somebody in the community said that you could just do compounding interest and then the user would have to interact with the smart contract every day, but this was not feasible. Yet still, we have compounding interest in Hex right? Can you explain how the compounding works?</p><p><strong>Kyle:</strong> Sure! There’s two ways to generate the same curve. A compounding curve starts by looking very flat, and then it starts to go in a “J”- shape up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*Xz9t32VLW0CUcrFLbxl7Rw.jpeg" /></figure><p>The reason it does that is the math for compounding is all about <strong>doubling time</strong>. That means the <strong>time it takes to double your value</strong> and that just starts to look more extreme.</p><p>If you go from 1/2 to 1, to 2, to 4,to 8, to 16, the jumps start to get bigger because doubling looks more dramatic, but the <strong><em>other way</em></strong> that you can simulate that is: you start at 1, and then you do the compounding logic as a fraction of 1 instead.</p><p>So instead of making the number bigger in that pattern, you make the number smaller in the opposite pattern. Does that make sense?</p><p><strong>Kryptosparbuch:</strong> Yeah, before the update on the Hex frontend, the share rate was displayed where we started at 1 Hex equals 100 million shares, and now after the change, it’s displaying it as Hex price per T-Share.</p><p><strong>Kyle:</strong> Right, because you’re less than 1, and in fact every stake that ended, reduced it a little bit. It became much more noticeable after BigPayDay, but it was happening all the timeand it looks nearly linear, but if you zoom out, you see that you’re actually going on a schedule of halvening time, rather than doubling time.</p><p>It’s a fairly long cycle, which I’m sure we’ll talk about — average stake length — a little bit later , but the effect of compounding works if you do it that way, where you reduce newcomers on the same schedule that somebody would be compounding if you did it the other way, with a very high-touch way.</p><p>So that’s what share rate is meant to mimic; instead of having somebody hit the button to compound themselves when somebody exits it tells the contract to reduce the shares per Hex by a little bit, and that’s going to mimic the curve, basically the inverse of the compounding curve. That’s how you get compounding: by reducing new people essentially on the same schedule that you would compound old people.</p><p><strong>Kryptosparbuch: </strong>I<strong> </strong>think the compounding effect is one of the best things in Hex, with the share rate of course. Have you ever seen something like the share rate and share price working together in any other crypto? You can stake other crypto as well, but is there anything else like Hex?</p><p>Kyle: Nothing that I’ve seen, and granted I haven’t been super steeped in the thousands of projects out there. But I did look into an awful lot of them that were trying. The short answer is no. I’ve not seen anything done like this.</p><p>The schemes out there that are common: there’s two of them. One is that the network or the coin, is attempting to be proof-of-stake. The way that they do that is not through compounding and interest but essentially through validator rewards. You’re staking your coins and it gives you a small percentage chance to do some work for the network, and then when you do that work you’re rewarded.</p><p>The monetary policy is where they just set how much they reward people, but then it’s random, so over time you’ll experience maybe 5% gains or whatever, because you’ll get a chance to get the reward a small percentage of the time. Then they just tune that reward, and it mimics 5% interest.</p><p>So that’s one scheme. That’s not code-mediated, that’s not a smart contract, that’s network rules. It’s sort of like Bitcoin mining, which has network rules for what to reward miners.</p><p>The other scheme are these financial projects or products, something like Compound, or there’s a zillion of them. Compound is a fairly well-known one where again, a company is setting a rate based on supply-and-demand curves.</p><p>It’s not a smooth compounding interest function like what we have, where nobody has to touch it. Nobody has to do anything to it. It will just work forever. This is people trying to write an algorithm to fine tune a supply-demand curve. Actually, dYdX, which is a derivatives platform, do something like this. They have like an interest function that computes the instantaneous interest rate.</p><p>Again, it’s not a smooth curve. They have admin keys so they’ve swapped out this interest function as they’ve noticed people hacking the system. It’s still high-touch, by people making decisions on what the rate ought to be.</p><p>So in both cases, it may be programmatic, meaning that a computer program is deciding what to pay you, but it’s not something you could have a mathematician write a formula for, publish it and then it’s just true forever.</p><p>That’s what Hex has exactly.</p><p>In Part 3, coming soon, Dev Kyle discusses the Hex-per-T-Share payouts and more!</p><p>Original YouTube video link:<br><a href="https://www.youtube.com/watch?v=RrFJzjoIwC0">https://www.youtube.com/watch?v=RrFJzjoIwC0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce2b6409122e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interview With A Hex Dev: Part 1 — Operational Security]]></title>
            <link>https://cryptovince.medium.com/interview-with-a-hex-dev-part-1-operational-security-4babd6b83003?source=rss-c095936ca519------2</link>
            <guid isPermaLink="false">https://medium.com/p/4babd6b83003</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[hex-crypto]]></category>
            <dc:creator><![CDATA[Vince C.]]></dc:creator>
            <pubDate>Wed, 10 Feb 2021 23:46:53 GMT</pubDate>
            <atom:updated>2021-02-11T00:12:42.174Z</atom:updated>
            <content:encoded><![CDATA[<h3>Interview With A Hex Dev: <strong>Part 1</strong> — Operational Security</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*fPDTFGw8fgYHwvuWYQhkLA.png" /></figure><p>On Dec. 3rd, 2020, software developer Kyle Bahr sat down with Kryptosparbuch to chat about Hex, in celebration of its 1-year anniversary. This will be a multi-part transcription of the interview so that Hexicans can enjoy the interview in a written format and hopefully gain deeper insight into Hex. This first part contains a brief summary of how Kyle got involved with Hex, and then focuses on operational security. Wording has been edited for clarity and better readability.</p><p><strong>Kryptosparbuch:</strong> We have a special guest with us today. Kyle is one of the developers from Hex. Hi Kyle, how are you doing?</p><p><strong>Kyle:</strong> Good! Good day, since we’re across time zones. I’m doing well, how are you both?</p><p><strong>Kryptosparbuch:</strong> We are doing well, as well. Really excited to have you here. It’s about 6PM in Germany but I guess it’s like really early where you are right?</p><p><strong>Kyle: </strong>About 10AM. For some people, particularly developers, that’s very early but I’ve been up for quite a while.</p><p><strong>Kryptosparbuch:</strong> Nice, I think we have a lot of people here in the chat who already know you. Of course you are really prominent in Hex, but also since it’s only a year old and has gotten so many more users in the last month, maybe you could introduce yourself a little bit and tell us what you do, and what your part is in the Hex community?</p><p><strong>Kyle: </strong>Sure. I may go back a little further than that just to talk about getting into crypto and how I came across Hex to begin with. So as you mentioned, I’ve been a prominent member of the community and that’s actually been completely organic.</p><p>Hex was in development for at least a couple of years before it launched. It went through a whole bunch of devs before it finally found the right person to put everything together, and I came across the project through a YouTube person and podcaster named Chris Coney. He talked about the project as being an interesting, alternate take on crypto. The way that he framed it was:</p><blockquote>“It’s store-of-value for its own sake, it doesn’t make any claims about trying to revolutionize the world or do peer-to-peer, or do anything better, it just eschews all of that high-minded stuff that a lot of other cryptocurrencies espouse and just goes after store-of-value price-performance.”</blockquote><p>I thought that that honesty was very refreshing. I came into crypto for unrelated reasons in 2016–2017 when all the hype around ICOs, new coins and utility tokens was all the rage. I got to see hundreds of millions of dollars just evaporate into thin air based on these promises, and then to hear this pitch that, “<em>Yeah, we’re not doing any of that. Just store value, just real digital gold and programmable money”</em> made me think:<em> “Okay, this is interesting. I’ll read about this</em>.<em>”</em></p><p>When I came into the Telegram chat, I didn’t know of Richard (Heart) from anything prior. I saw the picture with the top-hat and that was my first introduction to Richard Heart. I read through what the project was, what it was supposed to do, then read through the contract and thought it was interesting enough that I thought to myself:</p><blockquote>“Sure, I would put a little bit of money into this and since I’m going to do that. I might as well write code in another language to verify that it does what it says it will do and see if I can figure out an optimal strategy.”</blockquote><p>Through that process, I was able to engage with the community and answer questions just as a layperson, not working on the project, and not really as anyone special except that I could read the code and confirm or disconfirm that it would do this or wouldn’t do that, and just educate people. There were a bunch of people in the chat there before me who were playing the same role as power-users in the community. They just had a better understanding or longer history with the project, and we discovered collectively that there were a couple of things that were not working as-intended with the contract as written.</p><p>Most people don’t know about this, but there were versions of the contract in GitHub for community review in February or March of 2019. Using those myself and a few other members of the community picked at it and ran simulations. One guy was using Python code to simulate outcomes. I had a different thing in C#, and started this discussion about how to make the contract better, and to do or fulfill the promises that were made on what it ought to do. I realize I said promises, and that’s not referring to how the price performs, but that it actually enforces the rules that it says it’s going to enforce.</p><p>I just stayed engaged, basically, and just kept picking at the problem and kind of working on it through the spring, summer and into the fall. I was involved in all the audit processes and helping the auditors understand what the contract was supposed to do so that they could properly audit it and check the behavior themselves. I helped liaise between the community, Richard, the auditors and a whole bunch of devs that came and went, bringing people up to speed, and writing documents.</p><p>There’s a whole bunch of documents on Google Docs that I wrote that are featured on the website and also there’s links all over the place on how to use Hex, what it is, and how it works. Then the project launched and I’ve just continued answering questions and helping out as much as I can, and here we are.</p><p><strong>Kryptosparbuch:</strong> Nice! When you said in the introduction you help people verify that the code could do certain things and not do other things, do you remember what those things were? Could you explain to the people what some of the concerns were?</p><p><strong>Kyle: </strong>Sure, I tend to go into too much detail, so I’m going to try not to do that. The rules and the particulars of how Hex works have changed from the original concept over the course of a couple years of development, and finally are in the form that they are now.</p><p>There were a whole bunch of things that were different. For some time there was no Adoption Amplifier. That was a new thing as of Spring 2019. The way that BigPayDay worked was quite different. The way that it was paid out was daily at first. There was a chunk a day rather than having a single BigPayDay at the end. There was no share rate at the beginning. There was a dependency on a particular behavior that was not realistic.</p><p>The payout used to be weekly rather than daily, so there’s a whole bunch of things that are different now than before. People would ask things about what happens with partial weeks, which isn’t a thing anymore now we’re doing daily payout calculations. The way the BPD was paid on the daily, people had questions about how that worked and whether or not you get into some kind of degenerate state (turns out you do), which is why it’s a BigPayDay instead of paid throughout the launch phase.</p><p>There were questions about the Adoption Amplifier. There was some back and forth about how referrals for the AA worked. I don’t know that anyone actually did this, but it came up:</p><p>“<em>How could you give credit to multiple referrals for an AA day?”</em> That was actually possible, where you could use a ref-link, put in 1ETH and then click another ref-link, put in 1ETH, and both of those people get their half of your referral, essentially.</p><p>There was some questioning about how to do Bitcoin claims, though funny enough there was almost no chatter about that post-launch. That was also heavily scrutinized during the audit; never came up in the public’s eye. There were questions about a lot of things for the first 6–8 months. Once the rules all settled, the questions were actually exactly the same questions we still get today:</p><ul><li><em>How do I know that I’m not getting screwed by committing longer?</em></li><li><em>How does emergency unstaking work?</em></li><li><em>How do the penalties get put into the pool?</em></li></ul><p>These are questions that I think will be familiar to everybody.</p><p><strong>Kryptosparbuch:</strong> Those are the questions we’re going to talk about later in the stream as well. You are a software developer, right? So you are able to read the code and say, <em>“Okay, Hex is a safe product”</em>, and all that. We Germans are all about security; in our chat we talk about that a lot so this will be the first section that we’re going to talk about.</p><p>What do you think are the best security practices for Hex? What can the user do to really secure their Hex and not get hacked?</p><p><strong>Kyle:</strong> That’s a great question. I wish I had a better answer. I think the standard answer for a long time has been hardware wallets, but there have been hacks and phishing attempts or phishing attacks even through hardware wallets. I don’t know that I can make a best practice recommendation, but what I can say is just generally, if you lose physical control of your keys, or of your seed phrase <strong><em>you’re screwed</em></strong>.</p><p>Even with a hardware wallet, if it’s a Trezor and has a debug pin for example, if somebody has your wallet for even a couple of hours, they can hit the debug pin and dump your private key. Never trust anything emailed to you; just default to not trusting, so if you get something from Ledger Support it’s probably not really from them.</p><p>It’s a good question because I think it’s a moving target. Security is generally a moving target. There’s very little that we can do to protect people from themselves. People forget things, people lose things. There are mechanisms in the centralized world and in the fiat world that you can establish trust through, such as a government ID. You can establish trust because the bank is a big building that you’ve been to. It’s very unlikely that it’s been swapped out with scammers overnight. The government can trust who you are because you have an ID. You have a passport.</p><p>Crypto doesn’t have any of that. Crypto is really an all-or-nothing endeavor. If you have the private key you get to spend the money. The end. If you have a system for yourself that lets you not rely on your memory, and you can be reasonably sure of the physical security of the thing that you’re trying to protect, that’s your best bet. Your trust should only be reserved for people that you know in real life, maybe a spouse or your children.</p><p>There’s really not a one-size-fits-all solution and as technology gets more sophisticated, the weak link will <em>always</em> be people, and attempts at social-engineering or just gaining physical access to whatever device, paper or even the steel-stamped cards that people use for seed phrases. It’s going to be hard to answer that for all time.</p><p><strong>Kryptosparbuch:</strong> The first thing you mentioned was a hardware wallet. That is the most secure way to store your crypto. Of course you should never forget your password, your seed phrase. That’s the most important thing. Because you have to have a Metamask wallet in order to interact with the Hex smart contract, what is the difference between a hardware wallet and Metamask?</p><p><strong>Kyle: </strong>That’s a great question. To back up a little bit, you actually don’t have to use Metamask. Somebody in the community implemented a direct integration to Ledger’s API.</p><p><strong>Kryptosparbuch: </strong>Is that HardHex (<a href="https://apphex.win/ledger/">https://apphex.win/ledger/</a>)?</p><p><strong>Kyle:</strong> Yeah, that actually does not use the Metamask API at all. It just uses the connection to your Ledger, to your computer and just talks to the API through its secure APIs. What makes a hardware wallet secure is that it is not online, and you do not load software onto it. What people have lost — and this has actually happened — is control of their keys in the Hex community because of software. If you have an internet-connected device, and you install software on it, it can report your activity.</p><p>As an example, Mac laptops and computers report every app that you launch back to Apple, and I think that’s of concern to the privacy community because it’s becoming a required call that your computer makes every time you launch an app.</p><p>What some people did before the advent or popularization of hardware wallets was that they had an air-gapped computer and then they manually typed in the stuff that they needed to sign on that computer. Then they take the output of that and then manually type it into an online computer so that the wallet computer remains offline and is not contaminated. You’re giving it inputs that you know about and you are taking its outputs and putting them out on the network.</p><p>A hardware wallet is just basically a purpose-built device to try and do that. It doesn’t go online, you just plug it in to basically send over an electronic bridge, the thing you need to sign, and it spits out the thing that gets into the network without ever loading or sharing the key material.</p><p>Metamask is different from both of those in that it is trusting your browser to <strong>sandbox </strong>what it does, meaning it’s in a little software walled garden, and it can temporarily load your private key to use for some software operation and then spit the output back over the wall.</p><p>That’s a trust relationship, so you’re trusting that the browser software is hardened enough that people can’t interrogate or steal secrets from data that’s in these little walled gardens.</p><p>There’s actually an open ticket with Metamask. There is an unsafe way to use it. You can tell it to load your keys into memory, and once you do that the browser actually needs to have access to Metamask’s memory, so they have this open bug that you should never use this one Metamask API to load a key in plaintext because then it becomes accessible by the browser, and malicious code on a web page could just read your key, for example.</p><p>So Metamask is kind of a dangerous tool, to be honest, unless you’re just using it for very standard things like going to known sites (like go.hex.com) and signing very specific transactions with the little pop-up prompt, but trying to use the Metamask APIs themselves is very dangerous. Don’t do that, and stick to very paved-path stuff that you know for sure works.</p><p>In fact, actually as a case in point, somebody asked me today about doing a claim similar to the (Hex) Bitcoin free-claim, where you sign an arbitrary message to prove that you control a key. He was asking if it was safe to do that for this other contract, and I asked him, “<em>I don’t have time to audit the contract but what’s the message they want you to sign?” </em>If it’s some actual text string like <em>“I am claiming my coins”</em>, that’s probably safe but what he sent me was just basically a string of characters that basically looks like a transaction.</p><p>They’re asking you to sign a transaction to claim some free stuff but that transaction could be anything. It could be “<em>dump my ETH to some wallet”,</em> so even using the standard flow of “<em>hey, just sign this thing and everything will be alright”</em> and then Metamask pops up and helpfully offers to go ahead and sign this thing, maybe you just gave all your money away and you don’t know.</p><p>So again, security is a moving target. Social engineering is almost always the most effective way to part someone from their money: either getting them to do some non-reversible transaction via this sort of sign prompt, getting them to reveal a seed, getting them to load their keys into their browser in a way that you can then scrape through JavaScript, it’s all much easier than attacking the software service.</p><p><strong>Kryptosparbuch:</strong> I think it’s important to mention that the hardware wallet, Ledger for example, is safe. Metamask is also safe, and it’s the human that is operating it that can be attacked. With the Ledger, if you get a phishing email and you click on it, stuff can happen. In Metamask if you just sign a transaction that isn’t safe, you can get screwed.</p><p>One question I get really often: What about people who go into Metamask, stake their Hex (at go.hex.com), and do all that stuff but now want to integrate their stakes into a hardware wallet? Is that possible somehow?</p><p><strong>Kyle: </strong>As far as i know it’s not possible, but I’m not totally familiar with everything you can do with a Ledger.</p><p><strong>Kryptosparbuch:</strong> I had the same issue. I did my first stakes only on Metamask, and to increase my security, I took an old Ledger and put the Metamask key on this old Ledger. Then I deleted my Metamask account, so at least I have this key which was generated from Metamask a year ago now, in my hardware wallet. With this you can increase your security because now there is no online wallet with this private key in the background, right?</p><p><strong>Kyle: </strong>Yeah, and if Ledger allows you to import a private key from Metamask, then it will work. The more common version of that question is:</p><blockquote>“If I have stakes associated with an address which is not a private key it’s a public address can I migrate them to a different public address?”</blockquote><p>And the answer is no.</p><p><strong>Kryptosparbuch:</strong> We have different hardware wallets out there, some have Bluetooth, some don’t. Do you know if there’s a difference?</p><p><strong>Kyle: </strong>I distrust Bluetooth, for a few reasons. Probably the most famous recent thing that I’ve seen published on Bluetooth is that the encryption protocol is very easy to attack. Apparently a researcher proved this, because Bluetooth needs to be compatible with a whole host of implementations of the stack.</p><p>It allows you to respond to a request for an encryption handshake to establish a key, where you say:</p><blockquote>“I want to use a key that is 1000 bits long” — <em>a very difficult to hack encryption key — and the other device can say:</em></blockquote><blockquote>“I can’t handle 1000 bits”,<em> and then it responds:</em></blockquote><blockquote>“Okay how about 900?”</blockquote><blockquote>“I can’t do 900, can you do 100?”</blockquote><blockquote>“I can’t do a 100, can you do 8?”</blockquote><blockquote>“Yeah, I could do 8.”</blockquote><p>And so, the attack is: you convince one device that it needs to use an extremely weak encryption key and then you can easily brute force the key and then decrypt the communication. <strong>So, I wouldn’t trust a hardware wallet that uses Bluetooth. </strong>Some other malicious device could convince it to use a very weak security key and then any subsequent interaction — which you just as a user aren’t going to know what it’s sending, supposedly encrypted across that Bluetooth connection — would compromise your device. So, I wouldn’t mess with that.</p><p><strong><em>The less connectivity the better.</em></strong></p><p>That should be a rule of thumb: don’t trust anything where someone asks you for information, meaning phishing emails or even phone calls, any of that stuff and <strong><em>less connectivity is better</em></strong>.</p><p><strong>Kryptosparbuch: </strong>We have a lot of people that bought the new hardware wallet from Ledger that has Bluetooth now and maybe they feel a little unsecured now, so I would say um just do not use the Bluetooth function. Don’t connect it via Bluetooth with your phone and just use it the old way: stick it into your computer and use a physical connection, right?</p><p><strong>Kyle:</strong> Yeah, there’s devices that are more security or privacy centric, and they tend to have hardware switches for these different connection mechanisms so that you can <strong><em>physically disable</em></strong> the Bluetooth chip, so that there’s no way for anyone to even send a message to say <em>“hey by the way, turn on Bluetooth”</em>, because if it’s a software switch — meaning it’s just waiting for some electronic signal to turn on or off — there’s also been research done on how to do that. Remote turn on cars, Bluetooth radios, things like that.</p><p>So yeah, <strong><em>less connectivity is better.</em></strong> Hardware switches are always better than software switches.</p><p><strong>Kryptosparbuch: </strong>This brings us a little bit to the mobile section. What do you think about the security on mobile phones? We have Metamask on mobile phones right now as well, right?</p><p><strong>Kyle:</strong> Yeah, I’m not an expert. However, I used to work for Netflix and we had to do a lot with DRM (Digital Rights Management) keys. It’s not your personal wealth, but you know, movie studios care very much that DRM works, and that you can know things about the devices that play movies.</p><p>Android in particular is very inconsistent across versions, across implementations and across devices. I wouldn’t trust using an Android phone, personally. There’s an awful lot of research you would have to do on particular models of phones, implementations of Android, and implementations of the trusted hardware circuits that they put on those phones to do secure encryption.</p><p>Apple has a track record of being better about isolating and protecting data with new versions. There were versions that were very insecure, where they opened basically an internal software bridge, where you could ask for keys and encrypted material in plaintext. There were some attacks we had to deal with during my time at Netflix where we just didn’t trust certain versions of iOS.</p><p>Modern versions are much, much better, but then you are essentially trading security from hackers or scammers for giving all your data to Apple, so that’s your pick.</p><p><strong>Kryptosparbuch: </strong>Yeah, I heard about that. So Apple has a single point of vulnerability, and Android has many phones with a many different versions, and a hacker would have to implement many different hacks for all those phones, but with Apple it’s really easy: you just develop one hack or exploit, and then you’ve exploited all Apple phones, right?</p><p><strong>Kyle:</strong> It depends. You’re right that the variety of Android implementations and devices can make that job harder. There’s this phenomenon that shows up a lot. It’s a case for diversity in either a genetic sense or in a defense sense, that it’s easier to create a complex attack surface, or it makes it much harder for highly-leverageable attacks to succeed. So if you have to make one hack for every phone — let’s say every phone was totally unique, so your hack is really targeting one person at a time — the issues that we’ve seen with Android are not necessarily device-specific.</p><p>Some of it is implementation-specific, so many devices could share one common implementation that is attackable. In particular, I think it was the L or M series of Android that had a known defect. It sounds much more complicated than it actually is.</p><p><strong><em>Don’t share your information with people.</em></strong> That’s it; that’s the answer, and if you have to think about connectivity on your devices, <strong><em>less is better</em></strong>. It’s really simple. As I was saying, with Android there were a couple of known security modules that had an issue, so even if you don’t know all the ins-and-outs, you don’t have to make a hack that’s specific, such as <em>“Nexus 2, Model 3, Android M”</em>.</p><p>It’s not as specific as that. If you can find a common component that’s attackable and common across a bunch of phones, then you just have to make a hack for that component and you can get a pretty good blast radius.</p><p>For example, uh over the last several years there have been vulnerabilities in a common open source package that does secure internet connections. I don’t know if anyone would have heard of any of these, but they were discovered and then it turned out that a huge number of companies used this open source package, because it’s very common.</p><p>There’s this reliance on using common software because you assume it’s been tested and battle-hardened, so you don’t have this huge amount of diversity in what software people use because they tend to coalesce around the things that everyone else is using. In the case of this software package, Netflix and a bunch of other large companies (including Amazon, who I think revealed the problem) basically all had to upgrade right away to this new patch version.</p><p>It’s not clear if any hacks had been committed, and so the process was:</p><blockquote>“Okay do the upgrade, now let’s wait and see if there’s any evidence that anybody exploited the software package while it was vulnerable.”</blockquote><p>So it’s kind of double-edged sword. With Mac, if you find one hack it’ll work on all iPhones. There was one FaceTime bug where you could remotely enable somebody’s camera and it just worked for all phones, as of some software patch. That’s obviously a very high-leverage attack because you figure it out once, and because Apple phones are so uniform it works for all of them.</p><p>Android and other software like that is more diverse so it’s harder to find a silver-bullet kind of attack, but if you know what you’re going after, which is security software or encryption software, then you really only need to attack that. That probably is quite common across phones, because of this phenomenon of people trying to consolidate on canonical versions of security software.</p><p>The assumption is that we harden the one package and then everyone can use it, so the whole operating system and the phone may be very diverse but there’s some core components that rely on coalescence around one particular version.</p><p>Part 2 of this transcribed interview, coming soon, will focus more specifically on Hex and its staking system, particularly the share system.</p><p>Original video interview: <a href="https://www.youtube.com/watch?v=RrFJzjoIwC0">https://www.youtube.com/watch?v=RrFJzjoIwC0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4babd6b83003" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hex’s Design & Early History: A Developer’s Perspective]]></title>
            <link>https://cryptovince.medium.com/hexs-design-early-history-a-developer-s-perspective-8e1704854e79?source=rss-c095936ca519------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e1704854e79</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[hex-crypto]]></category>
            <dc:creator><![CDATA[Vince C.]]></dc:creator>
            <pubDate>Tue, 19 Jan 2021 20:59:27 GMT</pubDate>
            <atom:updated>2021-01-21T00:44:46.280Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By Kyle Bahr<br>Transcribed By Crypto Vince</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*suxjbA-q_0xKBAtF5laitQ.jpeg" /></figure><p>Hi, my name is Kyle and I have been a community member of the Hex community since early 2019. I’m a software engineer by trade, formerly of Netflix and currently with another large tech company.</p><p>I wanted to talk today a little bit about my involvement in the Hex project and a couple of its features in some depth, in the hopes that people not only understand it but also feel like they can totally trust how the system works, and feel confident in telling their friends about it.</p><p>My role in the project grew over time. I started as just an active community member. I made a point to learn the ins-and-outs of the system and how all of the marketing points were fulfilled by the contract. I wrote a lot of the documentation that you’ll find linked either through the Telegram channels or through the website.</p><p>I ultimately helped design and validate some of the underlying systems that power the Hex contract. I also helped the auditing teams understand the contract, the properties that we wanted them to certify, some of the verbiage of the contract, the business rules that weren’t super clear to them, and what the point was.</p><p>It was a great process. I was very happy to have been able to work with Richard Heart and some other very sharp people in coming up with these things. I didn’t know Richard from videos or even as a persona in the crypto space before this. He’s really been the genuine article. He’s exactly in private with me as he has been in public with others; really a delight to work with.</p><p>I want to talk about a couple of the guiding principles of the Hex project:</p><ol><li><strong>A couple of the details of the marketing points and how they are fulfilled by the contract</strong></li><li><strong>A little bit of the process to how those were implemented, and</strong></li><li><strong>A bit about the audit process to verify those things</strong></li></ol><p>My hope is that you’ll come away from this with a deeper understanding and appreciation for the effort that went into crafting the system, and full trust that the code can live on the blockchain indefinitely and will always perform as intended. That way you’ll feel empowered and totally confident in pitching it to friends, family, confidants, and anybody you meet.</p><p><strong>Hex has a core principle:</strong> that more people should want to buy it than want to sell it at any given time, and that this should create an upwards price pressure, thus increasing the value of all the Hex in existence, making it a good store-of-value product.</p><p>You put value in, more people come after you who want to buy it then want to sell it, the price goes up and your value is protected. If you participate in the restriction of supply (meaning you promise not to sell your coins) then you should be rewarded with more coins.</p><p>That function within the Hex contract is called <strong><em>staking</em></strong>. You stake, or commit your coins for a period of time which is the blockchain equivalent of promising not to sell them in a way that is trustless — meaning it’s data that’s written to the blockchain — and nobody has to take your word for it.</p><p>You pick a period of time and are rewarded a share of the inflation during that window of time for your commitment. The fewer people that make those commitments, the fewer ways that inflation is split, and therefore your effective interest rate is higher. As more people commit, the <em>effective</em> interest rate is lower.</p><p>Specifically what I want to talk about is the promise that in the original marketing material:</p><h4><em>Longer commitments should always earn more Hex through the contract than shorter commitments.</em></h4><p>This was summed up as “<strong>LongerPaysBetter</strong>”. Richard put some numbers on it, even from the very beginning, that from one day to ten years you should earn more and more interest, up to a maximum of three times whatever the instantaneous interest rate is for a one day person.</p><p>And oh boy, did that get complicated. For folks that didn’t get this far in arithmetic and mathematics there is an effect called <strong><em>compounding interest</em></strong>. This should be fairly common nomenclature, but a lot of people don’t really understand what it means. <strong><em>Compounding interest</em></strong> is earning interest on your interest. If the effect is applied in all sorts of contexts, viral spread is one of the things that this models.</p><p>What this means is: whatever your growth rate is, say 5%, it’s applied to all the previous 5%’s that you’ve already accumulated. If you accumulate 5% every year, then at the end of the first year you’ll have 105%. At the end of the second year you’ll have 111% because you’re earning 5% on the 105%, not 5% on the 100%. <strong><em>Simple interest </em></strong>is on the 5% on the 100%, so you don’t earn interest on interest.</p><p><strong>The way that this was applied in Hex:</strong></p><p>This was discovered before my time in the community, but it was around my time that we actually convinced the developers that this was a problem. The original way that Hex issued your share of inflation for the period you were committed, is that it just converted your committed coins to shares, which was just an <em>internal</em> accounting label. They weren’t coins; you couldn’t trade shares. They were just bound to your stake, or to your “commitment”, so If I commit 1000 coins, I get 1000 shares, and if you commit 1000 coins on the same day and two other people do the same, then I have one quarter of all the shares and therefore I get one quarter of all the inflation. (¼ + ¼ + ¼ + ¼)</p><p>If your friend commits for 10 years and gets triple the shares: He has 3000, I have 1000, you have 1000, and the other friend has 1000, then I get 1/6th of the interest and the 10-year friend gets half because he has 3000 out of 6000, and the rest of us have 1000 out of 6000. (3/6 + ⅙ + ⅙ + ⅙)</p><p>The compounding problem that was discovered is that if I then pull my coins back out after one day (and say my share was nearly 1 coin and now I have 1001 coins), I can recommit them and get 1001 shares. Then I get them back out and only get 1 more coin and have 1002 coins. Then I recommit 1002. It doesn’t sound like much, but because of the nature of compounding, accumulating these little share advantages very quickly ramps up to where I’m getting way more for my series of short commitments than even the 10-year person is getting for their very long commitment.</p><p>Frankly, this just breaks the pitch: The pitch is: you commit for a long time, you’ve taken your coins off the market, you’ve made a commitment that is written to the blockchain, and so you should be able to forget about this, go live your life and then come back in 10 years and collect an enormous pile of coins and you should have confidence that your commitment really meant something.</p><p>If you do that and then five days later somebody discovers this compounding trick and then you find out that they blow away your earnings, it <strong><em>completely undermines faith in the project</em></strong>.</p><p>This was a complete show-stopper once it was discovered and believed to be a problem because it literally makes the coin no better than any of the ICO pitches that say “<em>Yeah, just give us your money and forget about it</em>”, and then somebody comes along and essentially hacks the system just by exploiting this behavior.</p><p>A huge amount of effort went into figuring out how to overcome this problem. We came up with a pricing system, such that instead of exchanging coins to shares 1-to-1, there was a price put on the shares and the price moves in this compounding way discussed earlier. You compound price rather than compound coins, you can get the same effect as compounding coins for the person who has committed earliest.</p><p>It’s kind of complicated, but the visualization that you can probably use is that if I have 1000 shares for a 1000 coins and then in a year, some new person comes in with their thousand coins and they only get 500 shares they’re earning half the interest that I am, and we have the same number of coins as input. So if they’re earning half the inflation that I am, for half the share of inflation that I am, it’s the same as if my coins had compounded and doubled, as if I had 2000 shares to their 1000 shares. As long as that ratio is maintained, then it’s the equivalent and it’s very low-touch: I don’t have to think about it because the system automatically compounds the price on future people so that I’m earning<em> as if </em>I’m compounding my interest.</p><p>The question came up in late 2020, whether Hex is a simple interest system or a compounding interest system because this mechanism of compounding is somewhat hidden, and actually the answer is that it’s sort of both. I think this is among the many amazing properties and discoveries of Hex and goes to one of the other core principles of the project which is: Nobody should feel like they missed the boat. There should always be — as Richard liked to say often during the design phase — meat on the bone for the next guy who comes along.</p><p>The behavior that we were worried about was that somebody would pull their coins out and put them back in continuously, so the price compounding actually only has to happen <em>when coins come out</em>, because that’s the behavior that you want to curtail. You want people to know that pulling their coins out <em>ratchets the price for them</em>, and everyone else, but especially for them because people can have multiple addresses.</p><p>It has to be a global price for a lot of reasons, but specifically if you think of people who are trying to do this: cycle their their Hex through very short stakes even across a whole array of addresses; as long as the price keeps moving up to match, they can never gain ground on longer commitments. By doing it on-demand and the fact that everyone ought to know that it’s on-demand removes the pressure to try and do that. There’s nothing to be gained by doing that, and you can truly believe that the system will <em>always</em> compensate to make sure that your longer commitment out-earns a shorter commitment.</p><p>Regarding the auditors that were tapped to do this: one of the things that won them the contract is that they had someone with a math Ph. D who agreed to analyze the business rules and write this up as a formal math proof; that no two sequential stakes could out-earn a single stake of the same combined length. That’s the core principle or property that we needed the system to have to guarantee that the marketing point that <em>longer always pays better</em> is true. Longer <strong><em>always</em></strong> pays better.</p><p>We had to explain this to him over a lot of conversations, because it is fairly complex. The system is so complex that it’s hard to tease out this single property as being one of the critical things to verify, but we did get there and it is in the Economics Audit. We proved it to ourselves long before we ever presented it to them, but it is formally documented that in fact longer stakes will <strong><em>always</em></strong> out earn any sequence of shorter stakes so you can feel secure in that.</p><p>Jumping back, there was this idea of compounding the price. You only compound on demand so that there’s always meat on the bone, and so all pressure should be removed. People know that the contract<strong><em> will always</em></strong> pay longer stakes a larger share of inflation than shorter stakes. Ladders or staggering your stakes, or having a mix of lengths is entirely an individual decision.</p><p>It’s actually quite liberating to know that the contract only increases the price on newcomers as required, so if everybody agreed to do long stakes, newcomers could get in every day at the same price that was today’s price. It gives a true smooth on-ramp so as adoption ramps up, and as people come to understand the system better, we’ll hit this nice equilibrium where everyone is making longish or longer time horizon decisions, because there’s no incentive to go shorter.</p><p>An exception may be degenerate gamblers or traders who want to be earning a little micro-interest here and there and then be playing the trading game. There’s very little use case in Hex for that; there’s very little to be gained unless you think you’re really good at market-timing, in part because the contract guarantees that that’s not a winning strategy and in part because so many other people have committed for the long haul that you’ve diluted the earnings of short stakers.</p><p>We ended up kind of accidentally achieving a few goals with one very elegant solution for pricing everybody can can interact with the contract with full faith that it will pay proportional to the length of your commitment, so you are free to make long commitments with no concern that you’re going to get outplayed or out-competed by people doing sequences of short stakes.</p><p>You are free to interact with the contract now-and-forever because it’s:</p><ul><li>Trustless</li><li>There are no admin keys</li><li>It can’t be changed</li><li>It doesn’t reference any external sources or contracts</li></ul><p>This last one was actually a bit of a sticking-point with the auditors, but oh well. We issued some standard techniques and libraries just to have no dependencies on external systems. It will <em>always</em> work and no one can change it. It’s on the blockchain eternally, the state can all be read, lifted, air-dropped, put on its own chain, or whatever it needs to do. It’s fully encapsulated and self-sufficient. Because of this, people are free to use this as a nest egg or as a long-term income strategy. You also end up washing out the day-trader types or the short-commitment people, which is fine. If they have reasons to want to do that, they are also free to do that, but the system we designed doesn’t encourage it.</p><p>With the incentives aligned, the system only ratchets the price when it needs to, so that new people can always get in at the best price. Yet once they do, and they tell their friends, their friends are bitter already because the best price they’re going to get is always today’s price and you don’t know how long that’s going to last.</p><p>Getting to the rest of the audit process: there was this math part that was very important. There was quite a bit that went into security analysis and to make sure some of the other properties held, but ultimately the thing that I was most proud of was the math part. The fact that we came up with a system that elegantly solved the compounding problem (where one could not gain advantage by compounding and that by doing that you remove the pressure to even try) was really a eureka moment for me.</p><p>Over this last year I’ve noticed other people have that “aha!”-moment, that it’s always going to work — that it serves these dual purposes of freeing you to think longer-term and preserving the meat-on-the-bone for the next person — because by not turning over commitments regularly you’re not moving the price very much day-to-day.</p><p>You’re still earning quite a bit of interest for your enhanced shares versus new people that come in, both because they pay more for the coins and also because you’ve earned interest from the inflation that they weren’t present for. They still get a good price and can still tell their friends and their friends can still get in at a good price.</p><p>Let all of that sink in. The system that we put out there is really a thing of beauty and it solves a few problems in incredibly novel ways such that I don’t know why they don’t exist elsewhere. Sometimes it’s good to be first. It’s a little scary because it’s untested ground, but I think we’ve proven to ourselves and we’ve gotten some outside parties to prove that what we’ve done is really something special.</p><p>For some closing thoughts, recently there’s been a little bit more attention something called the Marshmallow Experiment. This was an experiment done by some psychologists at Stanford back in the early 1970s, in which they present kids with a candy or marshmallow, and say, “<em>You can eat this marshmallow now</em>, <strong><em>or</em></strong><em> you can wait 15 minutes and when I’ll come back I’ll give you two marshmallows”.</em></p><p>It was supposed to be a test of willpower and ability to delay gratification for a better reward. They did the experiment, then they followed these kids through their high school years and found that the ones best able to delay gratification had the best outcomes, and there was this celebration of “<em>Oh look, there’s this great quality that even four-year-old kids can have of delaying gratification</em>”, and as the saying goes, “good things come to those who wait”.</p><p>There was some doubt about the genuineness of those results, and so the experiment was repeated a couple more times. One of the criticisms was the economic background of these kids. If you can imagine being very poor and not having a lot of food security, a marshmallow now is better than maybe two later. This can raise some concerns: Do you really believe that you’re going to get two later, or do you just need the calories now (and you’re so habituated to taking food when it’s available that you just take it now)? Do you just not trust future rewards because things haven’t worked out for your family?</p><p>The other aspect, which even the original experimenters knew was: how much do the kids trust the adults? Do they believe that the adult will give them two? If they don’t believe the adult will give them two, why wait? Just have one.</p><p>The follow-up experiments also followed these kids, and when they controlled for the economic background of their families, they found about half the effect of the delayed-gratification ability could be chalked up just to their economic situation.</p><p>So maybe it’s not a totally intrinsic trait; maybe it does have something to do with life experience. Then the third experiment happened, where they tested for trustworthiness of adults.</p><p>What they found was: if the experimenter <em>lies </em>to the kids right before giving them the test or the experimenter <strong><em>makes a promise and fulfills it</em></strong><em> </em>right before giving them the test — unrelated to the marshmallow part — just to establish a single event where you can say this person is not trustworthy, or this person is at least a little bit trustworthy, rather than half the effect, they found that the kids who got the trustworthy experimenter were able to wait <strong><em>four times </em></strong>longer than the control group of kids who weren’t given an experimenter.</p><p>The kids with the untrustworthy adults basically all just ate the marshmallow right away.</p><h4>What does this tell you?</h4><p>It tells you that sure, both inherent traits of the kids and economic background matter a little bit, but<strong><em> the ability to trust that future reward</em></strong> is vastly superior to anything else. If you have a reason to <em>believe</em> that the reward that’s coming in the future will really come, anybody can go to <strong><em>much greater lengths</em></strong> to delay gratification.</p><p>That has really played out in the stories that people have shared about how Hex has changed their lives in big, impactful ways: pay off debts, buy houses for their folks, pay off cars, free themselves, and plan for the future. It’s <em>because they believe</em> those future rewards are coming, and I get a little misty when thinking about it, because this is a beautiful thing.</p><p>The one thing that we can provide other people is the<em> </em><strong><em>ability to trust us</em></strong> and for any other points aside about this idea of delayed gratification: if you can give the world or give other people anything you can give them the <strong><em>ability to trust you</em></strong><em>.</em> Show them that you’re trustworthy, then they’re empowered to rely on you, delay their gratification, and not demand things now, but be able to wait until later because they know that you’re going to deliver.</p><p>What we came up with in the Hex contract that we proved to ourselves — and we got an external party to also prove — is that the contract in the system can absolutely be trusted to do what it says it will do. It <strong><em>removes</em></strong> the need to trust because you don’t have to trust it.</p><h4>It’s proven.</h4><p>We proved it will do that, and we’re seeing that bear out in how the community shares its stories about what they’ve done with this project, and with their lives as a result of it.</p><h3>To the Hex community:</h3><p>Keep sharing stories, and broadcast them as widely as you can. I know that we have some really touching ones, and we have some people who’ve been empowered in a way that they maybe never have been before in their life.</p><p>It’s been a real pleasure and honor to be part of the community, and to be trusted with such a significant part of the design. I love continuing to engage with folks as I’ve been able to. Hit me up with anything you need. I’m on <strong>Telegram</strong> pretty much all the time, though I am quite busy and I might not get back to you immediately. Just ask around for Kyle or hit me up at @RapidProtoTripe and hopefully, see you on the other side.</p><p><strong>Original YouTube Video:</strong></p><p><a href="https://www.youtube.com/watch?v=o6bVwYbS0Yc">https://medium.com/r/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Do6bVwYbS0Yc</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e1704854e79" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>