This is joint work with Atari Labs South Africa and Innova from Oakland. So today we're going to be examining two different implementations of the MOBA goal along the floor. And so we called it a tale of two tongues because the MOBA goal is like a tongue twister in the Harry Potter universe. So the goal here is to describe why privacy matters, again, as you guys already know. How we should examine and explore privacy in blockchains. We'll do a high-level intro to the MOBA goal, talk about how the transactions work, the privacy guarantees, the privacy guarantees it doesn't provide. Then we'll compare GRIN and BEAM, which are two separate implementations of the MOBA goal that roughly came alive January 2018, so they've been going on for a while. And then we'll talk about the importance of the implementation because even though they're both the same protocol at its core, they have something different that privacy guarantees to the implementation. So why does privacy matter? The number one reason for me is really the fungibility of coins. Let's say we have, if we look at Bitcoin, new coins, virgin coins are perceived as more valuable than coins that have traveled around. And if you have coins from, say, a dark market, using that coin, let's say, in a chain, can be a lot more difficult. So people are afraid of what you've done with that coin in the past or where you've gotten it from, through either illicit gains or conventional means. Therefore, when coins are private, they're all fungible. Each coin is equal to each other. They're indistinguishable. So the longer you have coins either traded at a discount if you're negative or traded at a premium if you're positive. A really fun reference in U.S. history, if you want to explore fungibility of coins, is the Free Banking Era. So the Free Banking Era was roughly from the 1830s to the end of the Civil War. And this is when every single state could issue their own U.S. dollars. So let's say we're in New York City and someone sends me a bill from Delaware. Okay, Delaware is kind of close by. I've heard of this bank before. What type of discount should I apply to this bank? Should I give it 90 cents on the dollar? What if I have a bank from Utah somewhere really far away? Okay, I've never heard of this bank before, but it looks sort of real. Should I give it 50 cents on the dollar, 60 cents on the dollar? I just don't know. So that time period was really fun. You'd have something very similar to, I guess, like a chain analysis or whatever. You'd have something called the Bankment Report. This is a book you'd get every month that said, this bank, you should get 90 cents on the dollar for this banknote, or 80 cents on the dollar for this banknote. And this necessarily wasn't great for business because every single time you'd want to transact with someone who was far away, you're like, okay, how valuable is the currency that they're giving me? There's all these idiosyncratic risks that you do not want to take on as a merchant. And this also creates a huge cottage industry of analysis campaigns, which, on some perspective, I think would be good. Like, if Bitcoin was private, you probably wouldn't have a chain analysis. It's so hard to say. Another reason why Paxman was fun is due to judgment-free. Like, if you can do whatever you want to do with your money, it allows for experimentation. But if everyone was trafficking every single transaction you make, you're a lot more careful of what you do or how you spend your money. So let's say you want to donate to some political cause, and you do so, and if people could track this, this may have ramifications in your, you know, your pay life, your work life. And so it really prevents experimentation. And second, your wealth, or perhaps lack of wealth, is determined by everyone else. Like, hey, you have this number amount of, like, coins in your wallet. Like, maybe he's a target, or maybe this person is just a boy. Like, being able to determine someone's wealth is, like, not great, and it creates a lot of, like, personal, like, safety issues for an individual. And, like, perhaps even better, and really relevant to our day-to-day, is that you no longer have, like, data mining of personal data. Look at, like, Venmo, like, PayPal, WeChat, or Paytm. Like, all these platforms log every single, like, transaction that you make. And, like, there are explicit business models that understand, like, how you're spending your money to give you better ads. And maybe if you want better ads, using these platforms are ideal. But if you want to have privacy in what you're doing, we should... this is why we have, like, types of coins. And something a little more nuanced is truly censorship-resistant transactions. So even people who call Bitcoin censorship-resistant, and call, like, cryptocurrency censorship-resistant, but if all the miners conclude against you, they're like, okay, we know this transaction is coming from address A, so we're not going to cause any transaction. We know that, you know, this person is sending money to, like, person B, and this person B is on this watch list, so we're just going to ignore this transaction. In the past, this didn't really matter. This was really easy for people to be miners in the network, especially if hashrate is really low. But given that, like, most blockers have really high hashrates, it's very inconceivable for the average individual to become a miner and get to ensure that the transaction is included. So if you have a private coin, you're not able to identify who's a sender and who's a recipient. You cannot, like, if all the miners do some transactions. So actually, like, in EOS, you have this, like, blacklist that all the stakers follow, and so, like, you will have accounts for a lot of people who always have money unless there's a random, like, block producer accidentally includes them. Guess, like, which has happened. And then that block producer there, like, lost all their stake because they accidentally included a transaction they weren't supposed to include. Like, this is something that cannot happen. Like, we all consider permission limits and, like, permission resistant. So this is kind of a rough, like, EOS. We, like, pulled it together in some way. It's, like, how do we think about privacy, which is important for when we analyze, like, mobile mobile, different mobile mobile locations. So you want to look at, like, transaction data. Like, is it chain data? Is that immutable? What about, like, provable, like, chain state? So if our adversary is spying on a blockchain in the entire history or only spying on blockchains like NFT, having a provable chain state is what we'll find. Is transaction construction private or exposed to more mobile mobile because of the very unique transaction format? What about transaction count? Like, are we able to infer how many transactions occur from that block? This is important for some particular use cases. And then, like, transactions in existence. Then something that's ignored greatly is privacy on the network level, such as, like, transaction propagation. But perhaps even more importantly, block propagation. Can money makers or stakers be private? Like, social network maintainer. Like, what is your privacy? And then, like, what about the wallet? Like, just use your privacy as anonymous. If your wallet's not anonymous, then it's a purpose. And then, like, what if you want things to be toggleable? Is privacy optional? Or is it default for everyone, or is it off? And so here's the fun part. Like, what is mobile mobile? What is this, like, unique, novel, like, private protocol that dropped on IRC back in 2016? So in, like, traditional blockchains, there's no concept of addresses. We'll explore this in more detail. It's private in the sense that the recipient, the sender, the amount is private, but not the fee. So we'll go into that a little later. And it's a compact blockchain. They use something called a cut-through, which is very similar to consumption of a coin joint that would occur over time, and it helps reduce the blockchain chain state, which is helpful for privacy under certain conditions. So here's the fun part. So back in August 2016, there was, like, an anonymous French wall of art. His name was, like, Tom Auguste Justor. He dropped an original paper. It's a BBC research IRC channel. The paper is supposed to support human services. Kind of just, like, put that out there. No one really knows who this person is. And it's kind of like this, like, in the Bitcoin days, or the Bitcoin white paper, just by anonymous person, which is kind of nice. Back to not knowing who your creators are. In October, Andrew Kalestra, as a blockchain, went into the paper. He did some, like, security updates, took the photography out, and also, like, a small bug fix. Then, like, in November, it's in here. This guy called Ignotius. He's actually, like, in Harry Potter. The original owner of the Cloak. He starts Grimm, which is the first publication on Google. And he puts this on GitHub. So, let's explore, like, what a Google-to-Google transaction is. Here, we're going to... Instead of talking about the photography, we're going to talk about interactions. So, if we think about a normal, like, Bitcoin, Monero, or nearly every other cryptocurrency transaction out there, we know someone's address. We, like, sign a local message, and we submit it to the network. Like, we do not need to interact with, like, Bob or, like, some other third party. However, in a minimal world, it's very different. So, Alice first constructs a transaction and sends it to Bob. So, Bob receives this transaction, countersends it, and sends it back. Then, Alice has to finalize this transaction, so the third step, before submitting it to the network. So, there are some issues here, like, due to the interaction that we'll explore. So, the first one is, like, it's a free option for the sender. So, Alice can send a transaction to Bob, get a message back, and be like, actually, you know, I can't send you this money. And just, like, toss it out, and Bob's just waiting there for the money to come. So, the sender, like, does not need to countersend it, it's a free option. Something more fun, maybe, could be considered a feature, is that the sender can actually create subtle messages from multiple individuals, and whoever, like, signs, stops with the money. So, it's in, like, a race condition. But, I can see this to be very fun, if you want to do an airdrop, like, here's a transaction that's first to claim and wins it. And it's something you can't really do natively on a protocol, so, like, that could be a really interesting feature. Then, we have an interactivity requirement. So, here, Alice and Bob need to be online, and some of you are trying to communicate. This actually gets worse with multi-party computations. Sorry, multi-party transactions. So, we're doing, like, Alice, Alice, the Bob, and Carol. Then, like, all three participants need to be online. The receiver also must countersend by certain block height. So, there's some, like, timing involved, so, like, the counter is offline for a longer time, and the problems are minimized. And even worse, there's, like, a man-in-the-middle attack. So, Alice picks a message and sends it to Bob, but if someone intercepts it, they're able to countersign and insert their own, like, spend key and claim their money, and Alice has no idea whether Bob has received the money or not. All Alice knows is, like, I sent the money, and the transaction got, you know, improved by minus. And Bob's like, I don't have my money. They're like, what? What happened here? So, therefore, these messages must be encrypted, and this is the very first message that receives from Bob. And MimbleWimble, as a protocol itself, does not, like, provide any, like, suggestions or solutions on how to actually encrypt this message. And we'll explore how, like, MimbleWimble's greater being of handling this issue or feature, depending on how you look at it. Let's talk about some of the privacy constraints here. First off, having no addresses makes it hard to, like, transact. Actually, it does. So let's talk about cut-through really quickly. Cut-through removes outputs from the transaction pool that's already been spent. For example, say, we have, like, input, like, X1, it goes, like, O1, like, up O1, up O2. They're able to, like, merge those together so they get less outputs. So the benefit here is that you have small blocks. It also improves privacy if your adversary is just looking at the blockchain from, like, a certain time. However, because you have, like, archival nodes, like, maybe this is a really low price that much, and, like, cut-through is more beneficial. It's almost just to sync the blockchain faster because of, like, a certain state. The downside of cut-through is that the kernel access still exists, so you know when the transactions occur. I'm just not going to be linking this together as well. And so let's start with privacy limitations. You know, nothing is perfect, and we, like, we strive to be as, you know, private as possible. The number of inputs and outputs are reviewed on a per-load basis. So this generally doesn't matter. Say you have, like, 100 transactions because you'll perhaps have, like, 100 or 200, 300 of, like, inputs and outputs. You can't really link them together. However, let's say there's only one transaction in a block. You're like, okay, I've got, like, three inputs and two outputs. Like, of course, you'll link together if you only have one transaction, which is just not bad. And so Grin right now has very little transaction throughput. So, like, linking inputs and outputs is trivial on Grin. Beam has a lot more transactions, and all sorts of things are just, like, faking transactions because you include that somewhere in the paper. You want to add decoys. But this linkage, like, is an issue. You can also do, like, take a coin. You can send someone over a particular, like, output and see if it leaves a kind of line. Number of transactions are revealed via the kernel count. So, if the number of transactions weren't revealed, then the linkage of inputs and outputs would be more difficult. However, because, like, transactions that count are revealed, then it's problematic. The fees of individual transactions are also revealed on a per-transaction basis. So, right now, it's not an issue because blocks are not full, so people are just using default fee. But, you know, if blocks are full, different clients may have different number of locations for fee escalation. So you can kind of work out, like, okay, this person used wallet A or wallet B because their algorithm produces this type of fee. And then you can also tell, like, if the transactions are being larger than others because someone put, like, a manually manual, really hefty, like, okay, like, I wonder who this is. So these are some of the limitations that you need to be aware of when transacting. So if a recipient blocks are full, maybe the first two aren't really too much of an issue. And then just make sure you use a wallet that's very standard. We're not just standardizing the fee selection process so you don't get isolated. So these are the two different types of mobile rules. We have, like, Grin, which is a beautiful face, and Beam, which is, like, a laser. So these both launched really closely to each other. Grin actually was developing first, then Beam came along slightly later. Grin is, like, an anonymous team of roughly four individuals. Sorry, Grin is roughly an anonymous team of four individuals, and then Beam is a whole team out of Israel. The block types are roughly the same. The proof of work is slightly different algorithms, but they're both going to be, like, async-resistance for now. And when you put async in Rust, it's C++. Like, random differences. So actually there's a lot of different differences. They both implement... we'll go into, like, what they have in common more. Like, when they implement, like, Dynamo plus Plus, there's, like, some slight differences with it. Like, Grin is transaction aggregation, you have to understand things. Which requires slightly more anonymity in that, like, Beam, like, has dummy transactions, which is actually probably why if you go to Beam to explore, they have a lot more transaction counts, or transactions, because it's what dummy runs. And yeah, it's interesting, because Beam will have, I feel like, a hundred transactions per block, so I wonder, like, how much of that is actually dummy transactions, compared to real transactions. So with some, like, unique features of Grin, and, like, some of, like, classic, new proof of work, they, actually, both protocols replenished the ASIC system two years. This is relatively unrelated to, like, privacy at all. So let's skip this. Beam's new features, I find this a bit more interesting. They have concepts of, like, an audible wallet. So you imagine, like, when they're, like, transacting with ViewKey, so audible wallet is effectively, you can see it as a ViewKey for Beam. However, this must be enabled by the end user. So, if you don't enable audible wallet, no one will infer that you've had transactions or not. Beam also has a new feature to reduce the number of, like, kernel transactions, which is chainstay. And then, Beam's approach for setting this securely is the, we call it secure bulletin board system, which is exactly the kind of, like, bulletin board that everyone posts in, which seems kind of odd. So there's, like, a shared message board where people just put encrypted messages on, and people will try to decrypt these messages. Which, it might be super inefficient, but if it's all in one place, maybe you can't do, like, network analysis on, like, where are the messages propagating and going. So, like, it sort of works, ish. And then there's, like, some, like, miscellaneous differences that we probably should explore, because there's a lot of facts. There's a lot of, like, privacy, and I think, over time, people realize, like, it's more than just the privacy determinants of, like, who determines its success, like, we need to understand, like, what is, like, the monitoring policy, what is, like, the governance, what is the community belief, like, what is the mining environment like, what is, like, the technical nuances, like, what are the directions it's going. Like, for example, Grin's really weird, where Grin did not have a, like, Grin did not raise external funding, they just took donations, whereas, like, he raised, like, a bunch of capital, a bunch of investors. So Grin's like, okay, we have no money, and investors are like, okay, we really need exposure to Grin, but we can't get the money, so what can we do? Because we can't get any money, so we can't get any from that. So instead, we're going to invest in, like, mining pools, specifically for Grin. So, like, a bunch of investors just, like, dump the money into SPD mining, like, social purpose vehicles for mining, which is how they got exposure to it. And so, okay, it's kind of a really roundabout way to get, you know, like, coins, like, immediately being more efficient from raising, like, external capital, and having those people get a proportionate amount as well, like Zcash. So these are just, like, political differences, and, like, that's what Protocols kind of made. And when I think of Grin versus Beam, I kind of think of Monero versus Zcash. So I think of Monero took notes on money, Zcash stole a portion of the funds from the board, which could be problematic, who knows. And then the supply side, like, Grin is a similar to Monero, where you have, like, linear, like, infinite data location. But Grin actually has a very high efficiency at the beginning, so it tickers off and, like, approaches zero as time goes on. Beam has, like, a fixed supply, like, whether this matters to the chunk of the long-term, who knows? But there's just, like, ideological differences. Like, Beam also has a padding, and some people believe paddings are very unstable for pricing that is near a half a period, whereas Grin is more balanced, maybe Grin is more stable, like, who knows? I don't really know. They also use, like, different databases for transactions. Grin actually used RocksDB, but then they realized that LMDB was better, which is awesome, because when Monero uses these, like, SQLite, it probably doesn't really matter, because these databases are very similar, and it probably doesn't affect the protocol that much. But the memable representation of data, it's like, okay, they're both different ways of doing it, but it probably doesn't make much of a difference, especially in terms of privacy. So the question is, like, which protocols succeed? Like, they're both the same memable protocol. They all have the baseline privacy guarantees, but because they have different monitoring policy, like, practices in mining pools are very different, and maybe there's a technical nuance, and it's like, okay, like, which one will be more likely to be successful, and which one will win the monitor? Like, we don't really know. We can give it a guess. I don't know what happens from there, but who knows? And I'd like to put a shameless plug. If you want to learn more about this content that our research team did, go to tailgate.tar.com. This is Tar Lab University. This is where our research team solves stuff. So if you have any questions, feel free to ask. Yes? One more time? Oh, so how does Allison identify bots? This is great. So in order to find your counterparty which she's acting with, you actually need to add there. So in the game, you'll be like, okay, this is my private public key pair, and you send it to Allison, hey, this is my public key, encrypt it. So encrypt your message to my public key. Grid doesn't really have any standard way of doing it, so you have to do a lot of ban. Maybe this is okay for transacting over a secure messenger. This is my public key, just encrypt it to this, and send the information over this channel. But let's say how you unify what we're doing. There's a lot of issues where you can have a VK, you can have XMN, so this is problematic. Especially given that Grid doesn't have a standard way of doing it. That is not a area of my expertise, but I can link you later. It may not be true. I just read that I was really tired and so far I am. All right, thank you.