Unchained - How to Trade on Crypto Exchanges Without Fear of Hacks - Ep.120

Episode Date: May 21, 2019

Sharon Goldberg, CEO of Arwen and Boston University computer science professor, describes how the protocol enables people to trade on crypto exchanges without making their coins vulnerable to exchange... hacks, how this differs from trading on a decentralized exchange, and how Arwen would function if the exchange you were using on was hacked during a trade. She also discusses how Arwen works with any custody solution, how they choose which coins to support and what other features they are considering adding in the future. Read the full show notes on Forbes: http://www.forbes.com/sites/laurashin/2019/05/21/how-to-trade-on-crypto-exchanges-without-your-coins-getting-hacked/ On May 27th I will be hosting a conversation about the future of finance and human rights at the Oslo Freedom Forum in Norway. As the world continues to move toward a cashless society, paper currency is disappearing. Companies like Facebook, Apple, and TenCent are becoming increasingly influential in the digital payment space. We'll discuss how individuals and companies can preserve and protect financial freedoms in the digital age. I'll be joined by Bitcoin author and educator Jimmy Song; Casa chief technology officer Alena Vranova; and CoinCenter founder Jerry Brito. To register to attend, you can visit oslofreedomforum.com today -- use discount code "unchained25" to get 25% off your ticket price! Thank you to our sponsor: CipherTrace: http://ciphertrace.com/unchained Episode links: Arwen: https://www.arwen.io Sharon Goldberg: https://twitter.com/goldbe How Arwen prevents exit scams: https://medium.com/arwensecure/how-arwen-prevents-exit-scams-55d1a9de32b How Arwen protects traders from a hacked exchange: https://medium.com/arwensecure/unleashing-mt-fox-4e8b20a11dea Forbes article on Arwen: https://www.forbes.com/sites/ktorpey/2019/01/28/this-startup-is-fixing-the-biggest-security-hole-in-bitcoin-exchanges/#5f68d5905812 The Block on Arwen: https://www.theblockcrypto.com/2019/02/05/a-startup-is-launching-a-solution-that-protects-users-from-exchange-hacks/ https://www.coindesk.com/crypto-startup-wants-you-to-trade-on-exchanges-without-trusting-them Kucoin launching Arwen: https://www.coindesk.com/kucoin-exchange-traders-can-now-self-custody-their-crypto-assets Learn more about your ad choices. Visit megaphone.fm/adchoices

Transcript
Discussion (0)
Starting point is 00:00:02 Hi everyone. Welcome to Unchained, your no-hype resource for all things crypto. I'm your host, Laura Shin. Interested in the crypto weekend retreat, I'm teaching with Melton Dumiris of Poinshares and Jalachobam Pruja of Future Perfect Ventures. If so, be sure to check out the show notes for the link to sign up. Also, Unchained is now on YouTube. You can find the most recent episodes there every week on the Unchained podcast channel. And if you're not yet subscribed to my weekly newsletter, go now to Unchainedpodcast.com to sign up. Cypher Trace makes it easy for exchanges and crypto businesses to comply with cryptocurrency anti-money laundering laws, avoid illegal sources of funds, and maintain healthy banking relationships. CipherTrace is helping you grow the crypto economy by keeping it safe and secure.
Starting point is 00:00:52 On May 27th, I will be hosting a conversation about the future of finance and human rights at the Oslo Freedom Forum in Norway. As the world continues to move toward a cashless society, paper currency is disappearing. Companies like Facebook, Apple, and Tencent are becoming increasingly influential in the digital payment space. We'll discuss how individuals and companies can preserve and protect financial freedoms in the digital age. I'll be joined by Bitcoin author and educator Jimmy Song, Hossa Chief Technology Officer Elena Frenova, Coin Center founder Jerry Brito, and Bitfury Group Vice Chairman George Kickbosin. To register to attend, you can visit Osloafredomforam.com today. Use a discount code, Unchained 25 to get 25% off your ticket price.
Starting point is 00:01:37 My guest today is Sharon Goldberg, co-founder and CEO of Arwen and computer science professor at Boston University. Welcome, Sharon. Hi, thanks for having me. So let's talk about Arwen, your new project. What problem are you trying to solve with Arwen? Right, so Arwen is a new way to trade at centralized exchanges. The idea is that you could trade on centralized crypto exchange's order book without trusting the exchange to custody your coins. And our notion of trustlessness is really strong. We guarantee that even if the exchange is hacked in the middle of the trade, your coins should not be at risk. So what Arwen does is it's a cryptographic protocol that allows you to transact with the exchange and settle your transactions without
Starting point is 00:02:19 ever having to put your coins in the custody of the exchange. And how did you come up with the idea for this protocol? Yeah, so that's kind of like a long story, and I can sort of start at the beginning, which is my background and how I sort of got into this space. I have a PhD in computer science focused on cryptography and networking, and so really my most fundamental background and how I got into my whole career is through cryptography, which I started in 2006. So when you were sort of basically trained as a cryptographer, the kind of problems that you want to solve are you have two parties like A and B, that wish to transact, but they don't trust each other. So it's usually Alice and Bob, and they want to do something, but Alice doesn't trust Bob, and Bob doesn't trust Alice. And so what cryptographers do is they build protocols to allow these two parties to communicate with each other
Starting point is 00:03:09 without trusting each other. So that's kind of like the fundamental problem that I've been trained to solve for the last 13, 14 years. And so we came into the blockchain space about, let's say, what, four or five years ago, where we started looking at the security of Bitcoin, the security of Ethereum and then getting into designing also protocols that build on top of blockchains.
Starting point is 00:03:32 And so for me, with the background that I have, the very first question that I always ask is, who do you need to trust in order to accomplish this particular goal? So when you look at the market right now of centralized exchanges, you regularly see, unfortunately you see compromises of centralized exchanges where people's deposits on those exchanges are getting stolen. you know, starting with the Mount Gox hack, which is, you know, famous from a long time ago. We're still seeing them. We recently saw Binance get hacked.
Starting point is 00:04:02 And basically what happens is that the coins that traders are depositing at the exchange are being stolen by hackers. So essentially what's happening here is you have the trader being required to trust the exchange in order to trade. And so as a cryptographer, the first question you ask is how can you allow the trader to trade on the exchange without having to trust the exchange with their coins? and that's really how we came up with Arwen, like the idea of transacting on a centralized exchange without needing to trust the exchange. And I want to go back to another piece of your bio that I thought was interesting, which is, I believe that you actually started in electrical engineering, and so how did you make the switch to cryptography?
Starting point is 00:04:39 Oh, okay, yeah. So when I started, it was like 1999 when I started school. So at the time, like I wasn't really, computer science wasn't so much on the map. So I studied electrical engineering. through this program called engineering science where you could choose what stream of engineering you wanted to do. And there were like civil engineering and nanotechnology, biotechnology. So I ended up choosing electrical engineering.
Starting point is 00:05:01 And what I liked about electrical engineering was the precision. You know, you can use formulas to characterize, you know, activities in the physical world or building systems and things like that. What happened was I discovered kind of like as I got further up in my education. So when I started my PhD, I was working on optics. like the communication using light. I found that this was all very imprecise and very analog, and there were a lot of sort of fudge factors
Starting point is 00:05:27 that were preventing you from really characterizing the systems you were building using math. And so when I took cryptography for the first time in 2005, I was just super excited about the ability to represent the physical world and relationships and trust using math that was fully capturing everything that was going on in the situation. And for me, that was like the big driver
Starting point is 00:05:46 to sort of drop everything that I was doing and stop really being an electrical engineer and start becoming a computer scientist and studying cryptography and all of that. So it's really the precision and the ability to characterize trust relationships in a mathematical way that really drew me into the field at the beginning. And then when you were also describing how you came to found Arwin, you kept saying we got into the space four or five years ago. So who were you referring to and what happened at that time? Yeah, so what happened is that, so I'm a computer science professor at Boston University. I've been there for, I think this is nine years now.
Starting point is 00:06:25 In 2013, I had a new PhD student whose name was Ethan Heilman, and he joined my lab, and I was working on internet routing security and cryptography at that time, and I was really excited about that stuff. And so I was, you know, at that point, like five or six years into this long research program on internet routing security and basically all these protocols that form the guts. of the internet communication network. And so Ethan showed up, and he was obsessed with Bitcoin. And at the time, there was only Bitcoin.
Starting point is 00:06:52 There was really nothing else. He just would not stop talking about Bitcoin. And basically we figured out the only way to get, like, productive research out of this person was to do Bitcoin research. And so we did. And it ended up being amazing. And my most cited research paper is actually with Ethan that we wrote in 2015, which is the first paper that we did in the blockchain space.
Starting point is 00:07:12 And what we did there was we were basically the first to consider how Bitcoin nodes actually communicate and find each other because prior to our work everyone sort of assumed that like any node that's participating in a blockchain knows what the blockchain is so has the same data about what the blockchain is and that was sort of an underlying assumption in all of the analysis of blockchain up to that point and we had realized that like there's a communication layer here there's a network here what is this network how can you attack it and we did one of the first attacks on the actual communication layer of Bitcoin
Starting point is 00:07:45 that resulted in changes in the Bitcoin protocol in 2015. So that was me and Ethan. And Ethan really pulled me into this space over the last, you know, like six years that I've been working with him. Sort of culminating in us, founding Arwen in 2017 and basically working on it together for the last couple of years. And so you started to describe kind of briefly how Arwen works, but let's go into it in a more detailed fashion. Why don't you just walk me through what it looks like when someone trades using Arwen? Right. So with Arwin, the idea is that you wouldn't deposit your coins into exchange custody. You would use your own custodian to custody your coins while you trade. So the way that this plays out is we use this concept called escrows. So if you're very deep into the blockchain space, you're probably familiar with layer two protocols like the Lightning Network, and there's various other layer two projects out there like Plasma and others that are built on Ethereum. So with Arwen, what we do is we have these escrows where if you're going to trade let's say Bitcoin into Bitcoin cash, you're going to have escrows on the Bitcoin blockchain
Starting point is 00:08:49 and escrows on the Bitcoin Cash blockchain. The idea is that every coin's blockchain acts as the agent of escrow for trading that coin. So if I'm trading Bitcoin, Bitcoin blockchain will be the agent of escrow. And so what you do is instead of taking your coins and depositing them in the exchanges wallet, what you do is you deposit them into an escrow on the blockchain. So Bitcoins go into a Bitcoin escrow on the Bitcoin blockchain. And then that escrow backs your trades with the exchange. So trades themselves are happening instantly in the sense the same way that you would place a trade today, you know, for instance, through the API of an exchange, you would just place a trade through the API. That's exactly what Arwin does. You're placing trades through
Starting point is 00:09:27 the API of the exchange, but what we have in front of that API is basically the Arwin protocol that translates your trades into a cryptographic atomic swap messages, but they happen instantly. So at the end of the day, what Arwin looks like is you take your coins, you put them in escrows, you do trade, backed by those escrows. And then when you're finished trading, you would close your escrows and your coins would return to your wallet. So it's sort of functionally similar to trading today where you would deposit coins, trade on the exchange and withdraw coins. But the difference is that instead of depositing into the exchange, you're depositing into these escrows. And Arwen guarantees that even if the exchange gets hacked or goes offline, you'll still be able to close your escrows and claim all
Starting point is 00:10:07 the coins that you've traded. So there's something that I don't know if I fully understand here. So I put my coins that I want to trade into an escrow, and then that smart contract, the escrow talks to the exchange. So then at what point does the atomic swap happen? Because as far as I understand, that can just happen directly between two blockchain. So now I don't understand where the exchange comes in. Yeah. So the escrows are not the atomic swap. So the escrows are a smart contract on whatever blockchain it is that you're using.
Starting point is 00:10:40 So, for instance, Bitcoin versus Ethereum, you might have two escrows, one on Bitcoin blockchain, one on Ethereum blockchain. And then you're doing atomic swaps that are backed by those two escrows. So there will be a message that adjust the balance in your Bitcoin escrow, and also a message that adjusts the balance in your Ethereum escrow. And the adjustment would be exactly the value you traded. So, for instance, if you're selling one Bitcoin, your Bitcoin escrow would be minus one. And if you're buying two eth, then your Ethereum escrow would be plus two.
Starting point is 00:11:10 And those messages essentially are sent back and forth between you and the exchange, and they adjust the balance in your escrow. So now when you have those messages, you have the ability to close your escrow at any time and claim the actual coins that you've traded. This is the idea of a layer two protocol where you don't have to actually go to the blockchain every time you do something. You just create transactions that if you took them to the blockchain, they would do something for you. So what we're doing is we do a trade.
Starting point is 00:11:39 we create these messages that could close the escrows for us with the balance after our trade. But we decide not to close the escrow. We decide to do another trade. And then we get these new transactions that could close the escrow with the new balance of our trades. And we keep doing that until we actually decide to really close the escrow and take those messages and post them to the blockchain. So this protocol is when you say if I want to trade BTC for ETH, I'm not creating both escrows, am I? It's like I'm creating one and maybe if, wait, I am. Okay. So, so I have to put ether up into, yeah, I have to put Bitcoin into one escrow and then I put Ether up into the other escrow. Yeah, okay, let me rewind a little bit that part. So here's what would happen. If you were to trade with Arwen, let's say we're trading from Bitcoin to Ethereum. So the first step that you would do is you would take your Bitcoin and you would put them in an escrow where the agent of escrow is the Bitcoin, right? So that will collateralize your trades of Bitcoin. The second thing you need to do is you need to get an escrow. of Ethereum that will actually
Starting point is 00:12:41 collateralize the purchase of Ethereum that you're about to do. So the first step of Arwin is setting up the escrow that you funded, which is the Bitcoin escrow, and setting up this additional escrow, which we call an exchange escrow, that's going to be funded by the exchange. So in this particular example when we're doing Bitcoin to
Starting point is 00:12:57 Ethereum trading, you would fund a Bitcoin escrow, and the exchange would fund an Ethereum escrow. Now, once you have those two escrow set up, you can do atomic swaps that are backed by those two escrows. Oh, now I get it. So what's happening is that the exchanges is putting in Ethereum to collateralize your trades to collateralize your purchase of ETH. And you are putting in Bitcoin to collateralize your sale of Bitcoin.
Starting point is 00:13:19 And then you're doing a swap across those two escrows and across those two blockchains. Oh, wow. That's super fascinating. So something then that I want to understand here is, is there any central point of failure in this process? So each party is sort of protecting itself. So in the sense that the guarantee is that as long as the user's machine is not compromised or their custodian is not compromised, they are guaranteed that they can close their escrow with the correct balance regardless of what's going on on the exchange side. So let's say the exchange goes down, stops talking.
Starting point is 00:13:54 You won't be able to do any more trades with that exchange because it's just not there. It's not accepting any trades. But you will have a particular balance in your escrow. So for instance, you know, you sold one Bitcoin and you bought two E's. So let's say the exchange just disappears or lose access to its wallet or doesn't exit scam or something, you would be able to close your Bitcoin escrow and your Ethereum escrow with the correct balance after you trade. That's what RR1 guarantees. So in terms of a single point of failure, there is a point of failure in the sense that if the exchange goes down,
Starting point is 00:14:21 you can't trade there anymore, but it's not going to cause you to lose your coins. And then there was another aspect of how this works that you described to me before where you talked about the, so the Arwin protocol is what enables this to happen. But as far as I understand, there's also something that Arwin runs, which is the Arwin hub. So what role does that play? Right. So I just want to emphasize that Arwen provides the sort of the same similar value proposition to a decentralized exchange. In a decentralized exchange, a lot of the goal is to have self-custody of your coins, not to trust the third party with custody of your coins.
Starting point is 00:14:56 That's the same with Arwen. The difference about Arwen from most decentralized exchanges is that Arwen does not have its own separate order book and its own separate ecosystem like you might have, for instance, in 0X protocol or in Ether Delta, Arwin is going to be plugging into the order books of the exchange. So that's the big difference. And because we plug into the order books of the exchange, the trades have to happen necessarily as quickly as trades would happen in a normal, you know, regular exchange that was custodial. So our trades are fast because they're actually just regular trades on the order book. So that's the big difference. You ask me about the Arwin Hub. So what the Arwen Hub is, is it's basically a class.
Starting point is 00:15:34 system that speaks Arwen on behalf of the exchange. So it translates Arwin messages into messages that can be placed on the exchange's order book. So rather than having the exchange like implement an entire Arwen protocol themselves, which is not very realistic, you know, my company writes the Rwin hub, which will take Arwin protocol messages from traders and translate them just into regular API messages that will go into the order book of the exchange. And is there any chance that those messages could be hacked along the way? If they were, then that would affect only the exchange, but not the users themselves.
Starting point is 00:16:13 Oh, I see. So the guarantee of Arwin is that each party takes care of themselves. The traders are going to be secure even if the exchange is hacked, and the exchange is going to be secure even if the traders are hacked. Oh, interesting. Okay. And then is Arwin limited in the types of exchanges that it works with, or I guess is it only centralized exchanges that you work with? Yeah, it's currently focused on centralized exchanges. We haven't looked at integration with decentralized exchanges yet. The reason for that is because we're focused on getting into the places where there's the highest amount of liquidity, which is currently the centralized exchanges.
Starting point is 00:16:45 All right. And then we started to draw the contrast with trading on a dex, but can you flesh that out even further, like trading on Arwin versus trading on a dex? Yeah, yeah. So there's one key difference, which is the sort of the fact that we're plugging into the liquidity. of a centralized exchange. If you're trading on Arwen, you could be the only Arwin user on that exchange, and that's fine. You don't need to have your counterparty be another Arwin user. It's just basically a trade that's going on the order book and being filled the normal way that a trade would be filled on an order book. So that's really the key differentiator is that we're not as dependent
Starting point is 00:17:20 as a dex is on the growth of the network effects of that specific decks, because we just go into the exchange and use the pricing and the liquidity from the exchange itself. So that's the key difference. There are other sort of other important differences, which are the speed. So Arwin trades are not actually executed on the blockchain. And so that means a couple of things. It means that we're not subject to slow blockchain confirmation times. Any sort of confirmations that have to hit the blockchain are for opening escrows and closing escrows, but not for trading. So the trades can happen fast. That's the first thing. The second thing is that when you do a trade with Arwin, that trade is not visible to anyone except you and the exchange that you're
Starting point is 00:18:02 placing the trade on. And so that saves you from a lot of issues that are affecting dexes right now, which have to do with front running. So in a dex, typical dex is you execute your trade on the actual blockchain. So your trade will go to like an Ethereum smart contract, and the Ethereum smart contract will be the one to actually execute the trade. So that means for your trade to actually happen, it needs to go through an Ethereum miner. And so that creates front-running risks because if the Ethereum miner doesn't like your trade or wants to front-run your trade, they have the power to do that before the trade has actually executed. And so we see a lot of interesting front-running tricks that are happening today, like even now
Starting point is 00:18:41 on a lot of dexes. We sort of sidest up all of this because there's no on-block chain execution of individual trades, so no miners are really involved in the execution of the trade, so you lose all of these risks. So to sum up, really, it's the liquidity of the exchanges order book. It's the speed because we don't go to the blockchain. And it's the lack of front running because we don't have to involve minors and actually executing trades. Yeah, I was going to bring up that paper that Phil Diane at Cornell wrote recently with some other academics about how arbitrage bots in Duxes are doing certain things like paying high transaction fees and taking advantage of network latency to front run the ordinary trade, the ordinary user trades on Dexes.
Starting point is 00:19:26 So it sounds like with Arwen. Yeah, that's exactly what I was getting into there. Yeah. And is there any situation in the future where it would ever make sense to try to implement something like Arwin on a Dex or no? Is it only really for centralized exchanges? So Arwen on a Dex is tricky because the model that we've taken with Arwen is, well, I have to be careful about that, actually. Let me answer the, like, level one answer and then I'll do the level two answer. The level one answer is that Arwin on a dex is a little tricky because Arwin swaps,
Starting point is 00:19:58 the movement of coins, is from the user's wallet to the exchange's wallet or to some sort of collateral party wallet. It's not, you know, if Alice is trading with a counterparty Bob, where Alice is an Arwin user and Bob is not an Arwin user, Bob is just a regular custodial user of the exchange, there's really no direct movement of funds from Alice's wallet to Bob's wallet. It's more that there's a movement of funds from Alice's wallet to the exchange's wallet. And even though that sounds strange, that's exactly what happens today. Like if you trade at, you know, pick your favorite exchange,
Starting point is 00:20:29 the first thing you're going to do is you're going to move your coins into that exchange's wallet, and then you'll do some trades, and then you'll pull your coins out of that exchange's wallet. So it's really a trader-to-exchange wallet coin movement, and that's what we have in Arwen, right? And so that looks kind of different from what you have in the Dex, where a Dex is the movement of coins is peer-to-peer. So if Alice is trading with Counterparty Bob, the actual swap. will be from Alice's wallet to Bob's wallet. The reason we took the Arwen approach was because we really wanted to integrate directly
Starting point is 00:21:00 into centralized exchanges and not have to build kind of our own ecosystem because we didn't think that was going to take off as quickly. And you can see that now with the liquidity indexes. We think that that's coming from the fact that you really need like the growth inside the decks and there's all these speed and front running issues. So that's kind of why the fact that it's from the user's wallet to the exchange's wallet it makes it really tricky to have it, like, fit directly into the Dex model. That's Level 1 answer.
Starting point is 00:21:27 Level 2 answer is that there's a lot of interesting things that are coming out now, like Binance Dex and Whoopi Dex, and these are, like, you know, very different from what someone has as a Dex when you look at something like EtherDalta. And the difference is that these Dexes are really blockchains, separate blockchains, that are supposed to allow you to trade, like, a large number of assets. So, for instance, the Binance chain, you can trade Bitcoin on the Binance chain, right? And that's kind of weird because Bitcoin is not issued by the Binance chain. Bitcoin is issued by the Bitcoin blockchain, right?
Starting point is 00:22:02 So how do you actually trade Bitcoin on the Binance chain? And the way you do that is through a peg. So Binance chain currently uses this thing called BTCB, which is basically Bitcoin. Bitcoin. It's very similar to the way that tether is pegged to U.S. dollars. And so, you know, when you trade Pether, you're not trading U.S. dollars, but you're trading an asset that's pegged to U.S. dollars. BTCB is similarly an asset that's pegged Bitcoin. So, to make a long story short, that idea of, like, going from the asset that's pegged BTCB to the actual real Bitcoin, or going, you know, from real Bitcoin into an asset that's issued on the Binance blockchain, that's kind of a place where Arwin can come in and facilitate some of that swapping and some of that security. The idea is that Arwin is designed to swap coins from their native blockchain.
Starting point is 00:22:54 And so rather than having to kind of deposit your Bitcoin at a custodian and withdraw BTCB, you could use Arwin to swap directly from the Bitcoin into whatever the asset that's natively issued on the Binance blockchain would be. So that's kind of one way that we could fit into a Dex, but it's not really kind of plugging into Ether Delta the way you would think about it at first glance. Oh, super interesting. Yeah, so I guess it could be used in that fashion that is actually really fascinating. And then one other thing I want to ask you about was when you kind of talked about, you know, why it is that you're more focused now on centralized exchanges and how you get a certain level of speed. Does that mean that high frequency traders could also use Arwen? So we are paddling in that direction right now.
Starting point is 00:23:42 So to have high frequency traders use Arwen, we need basically bidirectional escrows that you can sell and buy. on the same escrow. So if I put in Bitcoin in an escrow, right now you can sell the Bitcoin out of that escrow, but you can't buy it back with the current, like, a product that we've launched as of today. But, you know, if you read our white paper on our roadmap is to support both buy and sell, and so one could use that to very quickly, you know, like, buy your Bitcoin, sell your Bitcoin, buy or buy your Bitcoin, which is what I think high-frequency traders are really looking for. We're still doing a bunch of research on, like, what the high-frequency trading market would look like in the crypto world. What I'm hearing is that there's starting to be
Starting point is 00:24:22 interest in building HFT, you know, data centers and using these strategies, but I'm not hearing that the demand is that high for like HFT at this specific moment. So we're sort of, that's a little bit further on our roadmap, but we have the capability of doing that. And if you look at our white paper, like the protocols for doing that are all laid out already in there. And earlier when you were talking about why it is that you, why Arwen works with centralized exchanges, I think something that's interesting is that you went in that direction while at the same time in the industry, it sort of feels like everybody's working on decentralized exchanges. So do you feel that somehow Arwin's going against the tide and the industry?
Starting point is 00:25:02 And, you know, why do you think that is? And how do you kind of plan to navigate that? I think we definitely went against the tide and we did it very inadvertently. Because, you know, in 2017, we started thinking about what kind of company we wanted to build. We were never of this opinion that decentralization is the key value proposition of blockchains. We were of the opinion that trust and trustlessness and managing trust was the key value proposition of blockchains. So let me explain what that means. One thing that has been sort of this constant current through my career as a security researcher
Starting point is 00:25:39 and engineer is that everywhere in the internet you have these things called trusted third parties. For instance, if you want to use HCTPS to securely access the website, at the end of the day, the security of that entire ecosystem comes down to a few centralized parties, which are called certificate authorities. And these guys are, you know, they get hacked and bad things happen, and there's all sorts of attacks that you can do because of this, like, you know, trusted centralized authority. And it's sort of like at the root of a lot of Internet systems, like, you know, web encryption or DNS, the domain name system. You find this stuff everywhere. And so for us, like, blockchain was this amazing thing that is an entity that you can trust, but it's not a single entity. It's not a single trusted third party.
Starting point is 00:26:24 The blockchain itself provides a root of trust that you can do cryptography with, but it's not a single party that can get hacked. So it's very hard to sort of roll back blockchains. That's the whole point. But there's not just like a single place that you can go and attack and, like, kind of skew the whole blockchain. And that's really fascinating. So when we, that's always been my understanding of what blockchains are and what they're for. And so when we started this, we said, okay, look, there's a whole bunch of things called centralized exchanges.
Starting point is 00:26:52 They're getting attacked. They're getting hacked. Money's getting stolen. How can we continue to trade on these things but not have to trust them? And then we said, okay, let's continue trading on them, but just use the blockchain as a root of trust. And that's where Arwin came from. The idea is you want to trade on centralized exchanges. Everybody wants to trade on centralized exchanges. Look at all this volume, right? 2017. Look at all this volume. How do we trade on them? without having to trust them. And that's where the whole thing started. So when the whole Dex movement took off, we were just going in a completely different direction saying, like, everybody wants to use centralized exchanges. Why don't we just figure out a way for them to use them without having to trust them? And from the exchanges perspective, how does working with Arwin
Starting point is 00:27:31 benefit them and, you know, what do you have to do to convince them to work with you? Like, I don't know how much work it takes to integrate Arwen. So working with an exchanges, like, your general enterprise SaaS sales cycle so you have to convince basically the executive at the exchange that this is a good idea. So that takes some time. In terms of why they would do it, I think that
Starting point is 00:27:54 there are a couple of reasons. There are a lot of actual leadership at exchanges that really believes in the promise of blockchain and the idea that blockchain provides sort of trustless all this ability to do things trustlessly that things are decentralized and we have found actual leadership at
Starting point is 00:28:09 a number of exchanges that this is like something that they truly believe. And so they're bothered by the fact that they're like, therefore acting as this custodian, basically acting like a traditional bank for everyone's crypto. Like they just feel like that's against the ethos of the space. So that's like one thing that you sometimes find and that helps us get to a deal faster. The other thing is that, you know, providing these types of features puts them basically in a leadership position in the market.
Starting point is 00:28:32 So we launched on Kucoin four months, four weeks ago. And there was a bunch of press about, you know, this is a leading, this is like a bold move that they're leading the space and they're kind of doing things that other exchanges haven't thought of doing. So at the moment, what Arwin is is really a differentiator to draw traders to an exchange that would allow them to transact on an exchange in a way that they can't really do in many other exchanges. And so that's really the main value proposition that we're offering. These exchanges, like being able to provide the service to their users and kind of lead the industry in that direction. The other piece that I think is really important is that if you look at what's
Starting point is 00:29:09 been going on in the crypto space in 2018. You know, we can sit here and just start naming number of startups that are trying to solve the custody problem. So let me just start. You know, CASA, Ledger, Treasure, Bickgo, Anchorage, like, let's just keep going, Zappo. There's some of them, right? And they're all super interesting, different coin kite. Everyone's doing something different, and they're all really interesting.
Starting point is 00:29:31 But at the end of the day, like, you have your coins in this custodian. As soon as you go to trade, they're not in your custodian anymore. And so, you know, what is driving me personally to kind of like push this into the market is that there are going to be users, they're going to be using these custodians, they're going to be invested in their custodian, and they're going to say, this is my secure custodian. I don't want to take my coins off my custodian, but I still want to do things with them. And protocols like Arwen allow them to do that. And so I think that as the custodians gain market traction, there's going to be more market traction for protocols like ours. And not having to like really change what they already do because people are used to trading on centralized exchanges, but they just want to get to those exchanges. in a way that keeps their coins protected by their custodians.
Starting point is 00:30:11 Great. And actually just that last piece about what it takes to integrate with, Rwin. Is it just kind of writing some code to interact with the smart contracts, with the escrow smart contracts? No. No, no. So we take care of all of that. So really the integration has to do with us coming into the exchange,
Starting point is 00:30:31 looking at their API endpoints for trading and terminating against those API endpoints. So we need certain endpoints. So for instance, some exchanges have the ability to programmatically withdraw coins from the exchange, right? There's like a withdrawal endpoint in the API. So if that's present, we can use that to do an Rwin integration. If that's not present, then we may need that to be exposed. So that's sometimes where the latency comes in. Like if you look at the big exchanges like Binance and I think Poloniacs, BitStamp,
Starting point is 00:31:00 they all support this type of programmatic withdrawal from accounts. We need that, but some of the smaller ones may not. have that, so we have to wait for that to be added. So that's kind of the integration. They don't have to do anything Arwin-specific. It's just that we need certain basic functionalities from the API that some of them have and some of them don't have. All right. So we're going to talk more about the custody stuff that you mentioned and also more about smart contracts after the break. But first, a quick word for our fabulous sponsors. On May 27th, I will be hosting a conversation about the future of finance and human rights at the Oslo Freedom Forum in Norway. As the World
Starting point is 00:31:37 continues to move toward a cashless society, paper currency is disappearing. Companies like Facebook, Apple, and Tencent are becoming increasingly influential in the digital payment space. We'll discuss how individuals and companies can preserve and protect financial freedoms in the digital age. I'll be joined by Bitcoin author and educator Jimmy Song, Kasa chief technology officer Elena Renova, Coin Center founder Jerry Brito, and Bitfury Group vice chairman George Kickboszai. To register to attend, you can visit Oslof Freedomform.com today. Use a discount code, unchained 25 to get 25% off your ticket price. Did you know that if money laundering were an economy, its GDP would be the size of Canada's?
Starting point is 00:32:20 Large volumes of tainted crypto assets move through financial networks, often below the radar of banks. Cybercriminals use unregulated crypto exchanges to avoid detection. No wonder governments around the world are rolling out tough new anti-money laundering laws for cryptocurrencies. Complying with those laws isn't easy. Banks and exchanges need the best cryptocurrency intelligence available to avoid penalties. Now you can use the same powerful AML and compliance monitoring tools used by regulators. CipherTrace is securing the crypto economy. To learn more, visit ciphertrace.com.
Starting point is 00:33:02 Unchained. Back to my conversation with Sharon Goldberg of Arwen. So when you were mentioning custody earlier, do you have to sign on specific custody solutions or can people use any other custody solutions with Arwen? Yeah. So currently you can use Arwin with any custody solution that you have. And again, this is a two-part answer to your question. So right now what we do with Arwen is that there's a piece of code called the Arwin Demon that speaks Arwen on the trader's behalf. And what the Arwen demon really has inside it is keys that are associated with the Arwen escrow. So when you take your coins and you put them in an R1 escrow, there are keys associated
Starting point is 00:33:42 with that escrow that allow you to move coins around and do trades. So the ideal integration from a security perspective for us would be to have the keys associated with the escrow actually housed inside your custodian. So for instance, if you're trading with a ledger, then those keys would be inside the ledger. And so that type of integration requires, you know, a bunch of work on our side and on the custodian side to actually execute upon. And that, you know, we're interested in doing some of that with, like, a variety of custodians. But at the moment, we have sort of a different way of doing it, which is that the keys associated with a particular escrow would live on the user's local
Starting point is 00:34:17 machine. And so those coins are actually never going into the custody of any third party. They're being, sorry, the coins in the escrows are actually being moved around by the Arwen DEMN, which is an executable that the user would locally download. So that means that you can basically use any custodian you want to transfer coins into the R1 escrowes. The demon will move the coins around in the escrows, and then when you close your R1 escrows, those will go back into your custodian directly. So at the moment, we can support any custodian, but as we go into sort of like higher levels
Starting point is 00:34:52 of security, we'd have more deep integrations with specific custodians. And that's kind of what we're working on right now. And when you say any kind of custodian, do you also include things like Zappo and Coinbase custody, stuff like that? Okay. Yeah, yeah, yeah, because today what you need to do and actually to move a coin into an Rwin escrow is that the Rwin demon will tell you an address. So for Bitcoin, you'll be given an address that is the hash of the Rwyn escrow smart contract. So you have the Rwin escrow smart contract and you hash it. That gives you an address. And that's an address like any other address.
Starting point is 00:35:27 And so what you would do is you would fund that address, and that locked your coins in escrow. The address itself is the hash of a smart contract, and that smart contract is associated with escrow keys that allow you to adjust the balance in the escrow. The scorebed app here with trusted stats and real-time sports news. Yeah, hey, who should I take in the Boston game? Well, statistically speaking. Nah, no more statistically speaking. I want hot takes. I want knee-jerk reactions. That's not really what I do. Is that because you don't have any need?
Starting point is 00:35:57 Or... The score bet. Trusted sports content, seamless sports betting. Download today. 19 plus, Ontario only. If you have questions or concerns about your gambling or the gambling
Starting point is 00:36:08 of someone close to you, please go to conicsonterio.ca. Local news is in decline across Canada. And this is bad news for all of us. With less local news, noise, rumors, and misinformation fill the void. And it gets harder to separate truth from fiction. That's why CBC News is putting more journalists
Starting point is 00:36:26 in more places across Canada. Reporting on the ground from where you live, telling the stories that matter to all of us. Because local news is big news. Choose news, not noise. CBC News. With Amex Platinum, almost every purchase made with your card can be covered with points, including new tastes, new fits, and virtually everything in between. That's the powerful backing of Amex. Conditions apply. And so then if Arwin were widely adopted, the general vision would sort of be like people could, if they want to, outsource their custody and also transact with a centralized exchange, which would enable them to, number one, not to have to worry about their, about managing their own private keys necessarily. And then also to not worry about their funds on any exchange being hacked. Is that right? That's right. Yeah, that's right. And so how does Arwin make money? So we work with the centralized exchanges and we share part of the revenue with them that comes through the traits that come on Arwen.
Starting point is 00:37:35 Like from each transaction? That depends on the particular exchange, but it could be done per transaction. It can be done sort of as a fee at the start of the year. There's different arrangements that we've considered with different players. But it has to do us basically with the traffic that comes in through the R1 platform to the exchange. And what coins do you support and how do you decide which ones to support? Yeah, so currently we have three coins because we are still in data and we're moving towards the full set of features that we plan to support by the end of the year.
Starting point is 00:38:07 But right now we have Bitcoin, Bitcoin Cash and Lightcoin. So we're probably the only protocol right now that can support swaps from Bitcoin into Bitcoin Cash actually. And so those are the three that we have right now. And the team is currently working on Ethereum and ERC20. And so when we have that part, we're going to have the ability. to basically swap from all the ERC 20 tokens plus the stable coins into Bitcoin, Bitcoin Cash and Lakecoin. So that's where we're starting from.
Starting point is 00:38:32 We started there because we were looking for the highest volume coins at the moment, and that was always Bitcoin. So we started there first. The other reason to start with Bitcoin is because Bitcoin is actually harder to write protocols for. And so we started with basically the most difficult part of the problem first. and when we have solved that problem, we can basically migrate that onto other coins that are easier to write smart contracts and protocols for. And that's, for example, Ethereum.
Starting point is 00:38:59 And so that's why we did Ethereum second. I mean, if you can actually nail down all the protocol and specificities in Bitcoin, it's a lot easier to port that over to Ethereum, which is completely different and a lot easier to program than Bitcoin. And when you were talking, and then earlier I asked you, so how do you decide which coins to support? Yeah. So we looked at the highest volume coins, which were...
Starting point is 00:39:21 Oh, no, but I mean like going forward, how will you decide? Oh, going forward, yeah. Sorry. Going forward, I think we're, you know, I'm very interested in a lot of these different new coins that are coming out. Like we have Cosmos and we have finance chain and we have Zcash. There's just a huge number of super interesting new blockchains that are out there. I think right now we have our hands full with the Ethereum and ERC20 leg.
Starting point is 00:39:48 And I think that, like, at the end of 2019, we're going to have an interesting view on, like, what are the next set of really key blockchains? And I think at that point, we're going to look at, you know, what are those blockchains, what type of scripting functionality do they have and pick on the basis of both, you know, like, the popularity of the importance and the success of the coin and also, like, what we can actually do with it in terms of scripting and protocol design. Okay, but generally you sort of envision that eventually Arwin will support as many coins as possible. That's right. Yeah, yeah. I mean, we just have to pick and choose in terms of the size of our team and what we can execute on. But, yeah, our goal is really to have coins that are not designed to interoperate with each other, to allow those to interoperate.
Starting point is 00:40:28 So we're looking at the type of coins that aren't supposed to really be able to do cross-blockchain protocols and focusing on actually executing the cross-blockchine protocols for coins that aren't supposed to be able to communicate. So, like, the classic right now, example of that is, you know, Bitcoin and Bitcoin cash, when they fork, you know, protocols that are designed for Bitcoin typically cannot work with. Bitcoin Cash. But we, on purpose, took the point of view that we need to be able to support something like Bitcoin Cash, even though they're not really designed to support each other, because people are actually trading, you know, these pairs in practice. And that's, you know, that's where the difficult problem is, and that's the one we're solving.
Starting point is 00:41:02 So just a minute ago, you said that Ethereum is easier to program on. But I know from our pre-interview that you personally actually find it the other way around that Bitcoin's easier to program on. So can you talk a little bit about what it's like, working with smart contracts in Bitcoin versus Ethereum and, you know, what the differences are and, you know, why maybe your point of view is a little bit different from others? Yeah, so the definition of the word easier. Like, easier can be interpreted in so many different ways. So I have to be, like, precise about the meaning of easier. So the way I was using easier two minutes ago was this, you know, Ethereum smart contracts can support a massive
Starting point is 00:41:42 amount of functionality. They are touring complete, which is something that everyone says. But you know, something that's, like, more meaningful, apart from the touring completeness of Ethereum smart contracts, is like, you can write all sorts of code in Ethereum. You're not super restricted into what actual, you know, functions you can execute in Ethereum. With Bitcoin, you can, like, basically do three things. You can sign transactions, not messages.
Starting point is 00:42:06 You can't find whatever message you want. You can only sign transactions, and you can compute hashes and check that the hash matches, like the pre-image of the hash matches the hash value. So those are the two things you can basically do. in Bitcoin. So given that you can only do two things in Bitcoin, it's not that easy to come up with protocols that have, you know, rich functionality given that you can really only do two things in the scripting language. And so that's why I say it's, you know, harder to write protocols
Starting point is 00:42:33 in Bitcoin than it is to write protocols in Ethereum, because in Ethereum, you can put a lot of the complexity of the protocol into the actual smart contract because the scripting language supports doing all sorts of things that are not possible to do on Bitcoin. So that's one. definition of easier. Okay. So now let's go to the next definition, which is when you're actually building a smart contract, right? So now you've figured out your protocol. What is a protocol? Protocol is what your smart contract is plus what messages you send back and forth. That's the definition of a protocol. So in Bitcoin, your smart contract is really simple, right, because you can barely do anything with this scripting language. But the messages you send back and forth
Starting point is 00:43:14 may be more complicated. In Ethereum, you know, you can't. your smart contract is much more complicated, but the messages you send back and forth may be simpler. So what's easier is like when you're writing the Bitcoin smart contract, it's really easy because it's just a little dumb thing that can do very few things. And actually programming that and making sure it doesn't have any bugs is not that hard, right? Because it just doesn't really do much. So there's very few places where you can go wrong.
Starting point is 00:43:37 For instance, the Arwin escrow smart contract has 16 op codes in it. Bitcoin Script is like assembly language, and we only have 16 op codes in our escrow smart contract. If you try to take the exact same smart contract from Bitcoin and try to port it into Ethereum, you end up with this complex, much more complex contract that has many more lines of code, many more function calls, many more things that are being done just to execute the exact same functionality. And that comes because the Ethereum scripting language is more rich than the Bitcoin one. So when I say it's easier to write Bitcoin smart contracts, it is because they're so simple.
Starting point is 00:44:12 Once you figure out this smart contract lets you actually do something, then writing it is easy. The hard part with Bitcoin is figuring out how you can actually do anything with this very crippled scripting language that's available to you in Bitcoin. So that's a very long answer to the question. And the reason that I find, like, Ethereum more difficult is because actually writing the smart contract itself
Starting point is 00:44:31 once you've decided what it needs to do is trickier because there's more instructions and there's all sorts of strange things that can happen in Ethereum because of the way the Ethereum virtual machine works that is very different from like just writing regular like Java code or C-sharp code that programmers are used to.
Starting point is 00:44:46 And so I actually don't know what an op code is. So when you said there were only 16 of those in Bitcoin, is that like lines of code? It's actually an instruction. So it might say, it might be like if something, like an if could be an op code or sign something could be an op code or check the hash could be an op code. Check the time could be an op code. Those are examples of op code. So there's just a very small number of instructions that you can do. It's not a function call, but it's like an instruction. almost like a machine instruction. I don't know if that clarifies, it's a very engineer answer, but it's just that there's a few, like, commands you can use in Bitcoin, and each op code is like one of those commands. And then in Ethereum for the same functionality,
Starting point is 00:45:30 how many lines is that? You said it was a lot more? Yeah, it's a lot more. We're actually, I don't want to tell you the number because we're still working on the exact details of the smart contract right now, but the difference is that you don't have specific instructions, but you have, you know, like, function calls, you have, like, a rich, you know, programming language. You're not writing code in, like, machine code, like assembly language like you are in Bitcoin.
Starting point is 00:45:55 That's the real difference. It's like if you think about normal programming languages, when you're programming your CPU and your computer, you're using a language called assembly language, which is very simple, like move something here, you know, multiply something, hash something. That's what you would do when you're programming like a CPU. And then when you're, like, a normal developer would be writing, like, JavaScript code. many, many layers above what you would be doing when you're programming a CPU with assembly language. So the difference is when you're programming Bitcoin, you're really doing like
Starting point is 00:46:23 assembly language programming, like one layer above the CPU, essentially. And when you're doing Ethereum programming, you're using a much richer programming language that has a lot more functionality, but also a lot more complexity. All right. Super interesting. So let's move on to some thought experiments. You did mention before Mount Cox and Bin Laden and just in general, you know, obviously there's this whole history of exchanges being hacked in crypto, and here it is that you are working on a project that, you know, could potentially, I think, prevent situations like that. So what do you think would have happened if users had been using Arwen in the Mount Gokx situation?
Starting point is 00:47:08 So if an exchange is hacked, basically what happens is the exchange would be disabling the ability to deposit and withdraw coins from that exchange. And so in Arwen, what that looks like is that the exchange would refuse to cooperate in closing any escrow that you have with that exchange. So remember in Arwen, what you do is you take your coins, deposit them in an escrow, do a bunch of trades, and when you're finished, you close the escrow and the coins return back to your wallet and can be used for other purposes. So if something bad happens to the exchange, when you go to close your escrow, the exchange will basically not respond in the way that you expect or just refuse to respond at all. So you'd see that something's wrong, that this escrow is not closing because the exchange is not cooperating with you. you to close this escrow. At this point, what Arwen would do is go into a coin recovery procedure.
Starting point is 00:47:51 And what that is is that the Arwin demon, the piece of software that speaks Arwin on your behalf will detect that the exchange is not properly responding to your request to close an escrow. And so what it will do is it will say to you, you know, this escrow is frozen, the exchange is not responding. You'll be able to recover your coins and get the coins out of this escrow on your own without the assistance of the exchange after a particular time. And so Arwen escrows are associated with an expiry time. So when you set up an escrow, you might say, you know, this escrow is for three days. What that expiry time does is that when it's over, it allows you to unilaterally close the escrow without the exchange's participation.
Starting point is 00:48:27 So even if they're hacked or they're behaving badly or something else has gone wrong on the exchange, you can still on your own basically withdraw the coins from the escrow and use them from something else, even if the exchange is not there. So the bottom line is if the exchange is hacked, you'd just be having your coins frozen in escrow for something. some period of time, at which point you'll be able to recover them according to the balance of the trades that you've done up to that point. So that sounds like it would apply really to any of kind of these high-profile situations on exchanges like Mount Gawks, Quadriga, Binance. Is that true that it would apply to all those? That's right. Yeah. So essentially what happens is if something goes wrong on the exchange and they stop processing withdrawals, which is essentially what you see
Starting point is 00:49:10 in all these cases. Like, for instance, Quedriga, you know, the founder disappeared and, you know, they lost access to their wallet, so if they don't have access to their wallets, they can't process withdrawals, right? Another example would be, like, if an exchange is hacked, they can't process withdrawals because there's no longer coins in their wallet to support the withdrawals. So it all comes down to just basically withdrawals not happening. So what Arwen looks like in all those cases is, you know, the exchange is not participating
Starting point is 00:49:35 in closing the escrow, so we're going to close it on our own. Yeah, and just to clarify, the Quadriga, owner died apparently, but yes, there is some suspicion about whether or not that was true. But then I actually also wanted to ask. So I know we don't have all the details about Binance just yet. And for listeners, we're actually recording very shortly after the Binance hack was announced. So potentially between the time we've recorded this and the time we're releasing it, there could be more details that are revealed. But Sharon, for you, knowing what we know so far, is there any, because like, as far as I understand
Starting point is 00:50:17 from Binance's announcement, it looks like individual user accounts were compromised. So I don't know if you, if, if, if, if, you know, I don't know how that would affect the ability to do something like that. Right. So with the finance hack, right, what we know, and we're only like a couple days from the Hague, so I'm sure more details will emerge in the coming days. What we know about this was that, according to the information that's out there, is that several user accounts were compromised, and it sounds like those accounts were sort of compromised at whatever rate they were compromised, so slowly accumulating compromised accounts. And then at one point, the attacker sort of took all those accounts, and it sounds like
Starting point is 00:51:06 it told them all to withdraw at the same time. And to withdraw coins to a particular place, which is controlled by the attacker, or places that are controlled by the attacker. And so all those accounts kind of just in one transaction, withdrawed, all those accounts requested a withdrawal kind of at the same time, and that withdrawal was processed at the same transaction all in one shot, and then we had 7,000 Bitcoins from the finance hot wallet just be moved into the attacker's control. So that's what it sounds like. So individual accounts probably were compromised at some very slow rate, and then the attacker waited until the moment where he actually did the withdrawal,
Starting point is 00:51:47 or he or she did the withdrawal and processed at the same time. So that's a pretty aggressive and precise attack. And that's what we know right now, but I'm sure more details will emerge in the future. So the effect of this was that essentially the hot wallet was emptied, and there were no more coin in the hot wallet. So consider another user that wasn't compromised that just coming in and wants to withdraw their Bitcoin from Binance. Well, there's no more Bitcoin in the hot wallet anymore. So you can't really do withdrawals unless they take them out of the cold wallet,
Starting point is 00:52:20 which of course they weren't going to do at the moment that they discovered that something went wrong. So the exchange is not going to be like, okay, now let's pull out our cold wallet and expose that and risk that being hacked. So at that point, you know, withdrawals are frozen because that's the only like natural thing to do at that point. So there's nothing, you know, strange about that. And at the end of the day, you know, Alice, who has nothing to do with any of this, can't withdraw her Bitcoin, even though they're her Bitcoin, right? So the difference with Arwin would be, we'd be back into this case where, like, the user wants to close an escrow.
Starting point is 00:52:49 She never actually gave her Bitcoin to the custody of Binance. So even if Binance's hot wallet was emptied, she still has whatever her escrows are, those are still locked on the blockchain. Even if finance is like, I'm going off the line, I'm not going to talk to anyone for a week while I figure out what happened here, she could unilaterally close those. escrows without the participation of the exchange. So really the whole technical contribution and all the innovation in Arwen is really just dealing with the case where the other side of the escrow,
Starting point is 00:53:15 you know, so I'm escrowing with finance just disappears and doesn't want to participate anymore. And so I have to be able to recover on my own without the exchange's participation. Right. But actually, so my question was ever so slightly different, which is that it sounds to me like an attacker wouldn't be able to perpetrate this type of hack because, sorry, if, you know, all, let's say all the users were, we're using Rwin, because essentially what would just happen is that then individual users might lose their coins, but the exchange, I mean, granted, then it gets a little weird because then we're sort of presuming, anyway, I think you see where I'm going, because then it's sort of like the exchange doesn't have any coins, but essentially, um, it would,
Starting point is 00:54:00 So if an individual user gets compromised, it kind of like localizes the damage to the individual user rather than the exchange suffering. Is that sort of? Right. Okay. Yeah. So, I mean, there's two answers. One is that the user really doesn't care what happens at the exchange. So even if the exchange is like out to get her the entire time she's trading on that exchange, she doesn't care because the exchange's job is to put up escrow's properly.
Starting point is 00:54:26 You know, and when you're setting up the escrows, like if the exchange is not doing that properly, you won't set up. escrows, and so those coins never go anywhere and you're never interacting with this exchange. Once you've set up the escrowes, even if the exchange is attacking you, it doesn't matter because you always know you're going to get the coins you expect. So that's really the first piece, right? The second piece is that when you have self-custody, you kind of make it harder to attack because the coins are housed, you know, in a distributed way. And so that's really like the value proposition of a lot of these self-custody solutions
Starting point is 00:54:54 is that you have to really go after the custodian in order to attack the user. And that's harder to do because it's like more places that you have to attack. All right. So let's talk about kind of where you're going. So you guys only recently launched in beta. And as far as I understand, there's like pretty restrictive limits on the trading. So, you know, probably because you are in beta. First of all, can you actually state what those limits are right now? Yeah, it's about $100 right now for the next little while, but we're going to be raising it soon. And so then going on to the future, it sounds like right now you're working on adding Ethereum and ERC 20 tokens. But what are some other features you'd like to add on Arwin in the future?
Starting point is 00:55:43 I kind of wondered if something like margin trading would work on Arwen. Yeah, you know, I can say this right now, but I don't want to like commit to anything I'm saying because we're still evaluating specifically what's next. there's a lot of different things that we know how to do and are interested in doing. So one of them is a high-frequency trading support that you mentioned, which we think is really exciting. But we're looking at what exactly the demand is for that particular feature right now. There's also the notion of options. So talking to traders, there's a lot of interest in having options that are not fully collateralized. So finding a way to do that could be really interesting.
Starting point is 00:56:23 It's not something that we started, but started. building, but something that we've talked about and thought about. Other pieces are, you know, providing, you know, fast movement of coins between exchanges. So, you know, you're on one exchange and now you can really quickly move your coins to different exchanges in order to exploit whatever price opportunity you have at different exchanges. So, you know, all of this I'm just kind of throwing out in the air because we haven't committed to exactly which one of these steps is next, potentially integrating with, like, banks and providing Fiat support as well through Atomic Swaps is another thing we're interested. So there's a lot of different opportunities that we're looking at right now.
Starting point is 00:57:00 And we'll have like more details on exactly what that is in like the coming months. But right now our real focus is just like providing this support for Ethereum and basically reducing some of the friction in using our one. And sorry, just so I understand what you meant when you said that you would be interested in integrating with banks for doing atomic slots with Fiat. Do you mean with like stable coins that are pegged to Fiat or something like that? No. So stable. Stable coins are going to come through Ethereum. So that's already on the roadmap, right? So when we have the ERC20, we will have stable coins, and then that's done, basically.
Starting point is 00:57:34 No, there's also a question of, like, real Fiat through real banks, and how can you work with the banks to actually have them support, you know, if there's movement of Fiat in the bank, how can you actually reflect that movement of Fiat on the blockchain? You know, so if you move, let's say, $100 in the bank, then maybe you move, like, part of a Bitcoin on the blockchain at the same time. So some of those ideas are things that we're thinking about too. Okay. Okay. So I feel like I'm a little bit confused. So it's like for a bank to use Arwen for their internal ledger?
Starting point is 00:58:06 No, no. So let me back up. So people are very interested in crypto to fiat trading, right? So they want to trade dollars for Bitcoins. That's perhaps the most popular market. I mean, you have in Korea, you have Bitcoin for one and things like that. So these are very popular. markets. And this concept of atomic swaps, which is something that's very particular to cryptocurrency, can be extended. So when you do an atomic swap, you typically have, you know, two cryptocurrencies and you're swapping from one to the other. So again, an atomic swap means Alice has item A, Bob has item B. So either Alice gets B and Bob gets A, or Alice keeps A and Bob keeps B. So it can't be the case that Bob gets both A and B or Alice gets both A and B that cannot happen. That's what an atomic swap is. And you can do that on the blockchain without trusting
Starting point is 00:59:01 anyone because that's the whole point of having a blockchain. It's a way of having mutually untrusted parties agree on some form of truth. And so you can use that to build these protocols. So that's like an atomic swap when people in the blockchain space say that, that's what they mean. But you can also extend that concept, right? So if you're actually moving fiat like real money, you know, paper money or money inside a bank, you know, there's no blockchain there. So it's hard to kind of use the blockchain as a root of trust. But when people move fiat around, they use banks, right? When you're moving fiat back and forth, you might be using a bank to facilitate this transfer.
Starting point is 00:59:35 So if you're transferring, you know, Fiat in the bank world, maybe you can reflect the movement of fiat in the bank world actually for the movement of coin on the blockchain. Right? So you don't really have to trust anyone to move the coin, although you may have to. have to trust the bank to move the fiat. And so tying those two pieces together is something that we think is pretty interesting. Hmm. Something about this, it sort of reminds me of like colored coins or something. But anyway, okay, well, it sounds very interesting and I guess, you know, we'll sort of see if that's direction you go in. All right, well, it's been so great having you on
Starting point is 01:00:10 Unchained. Where can people learn more about you and Arwen? So we have our website, Arwen.io. If you want to try Arwen right now, you can, can go to KuKoin.com, which is the first exchange that we've launched with, which is one of the top exchanges in Asia, and just click on trade from your wallet, and you'll be able to use Arwen to trade directly on Ku-coin. Okay. Actually, there was one piece, though, that I think I saw, which is this is restricted to non-U.S. That's true. Okay. Yes, that's true. So if you want to talk a little bit about the whole regulatory...
Starting point is 01:00:45 Actually, yeah. Yeah, can you? Let's do that, yeah. Okay, so, you know, we've been in this business for a year and a half, and we've been talking to a whole bunch of exchanges, and we discovered a bunch of things. So the first thing we discovered is that in Asia, crypto-to-crypto-cru trading is a really big thing. It's a much bigger thing than it is here in the U.S.
Starting point is 01:01:06 So that's really interesting. Second is that in Asia, sort of the regulatory situation looks very different than it does here. So let's take the example of Japan, for instance. In Japan, you have the financials. Service Agency of Japan, the FSA, that regulates all crypto trading and transactions and payments and so on. So there's this one body called the FSA. They regulate everything.
Starting point is 01:01:28 They're a very strong regulator and they're very tough and they're very involved, but there's just one of them and you know who they are. And so if the FSA license you, you're done. And so, you know, that's sort of like the picture in Asia. Either the regulators are very friendly and they're just like, you know, try what you're doing and we'll regulate you later after we figure out what it is that you're doing here. Or it'll be, you know, we're the FSA, we're very tough. but you just know that it's us and you can work with us and that's the end of it.
Starting point is 01:01:52 So that's kind of a picture in Asia. And so what happened for us is because what we're doing is so new, it's hard for the regulators to really know what we're doing because it's new. And so that makes it a little bit harder to kind of like launch with a U.S. exchange or with U.S. users because we have to kind of make an argument based on laws that are very old that involve multiple regulators. Like you have the SEC, the CFTC, you have the states, you have the FinCense, you have just a large number of different regulations that apply to cryptocurrency.
Starting point is 01:02:21 You have to figure out how your new protocol fits into all of these different rules and what that means for taking U.S. users. So that's really tricky when you're a startup. And so what we've done is essentially just worked outside of the U.S. because the regulatory landscape here, people say that it's unclear. I think a more correct term is that it's complex and that there's a lot of regulations that you have to comply with and not complying with them results in very bad things.
Starting point is 01:02:46 So kind of sidestepping all of that is what we've chosen to do at this point because we're really kind of breaking new ground from a technology perspective and understanding how that fits in with the regulations is something that we're working on but it takes time. So at this point, right, we've launched with an exchange that is abroad and doesn't really take users that are KYC from the U.S. And so as a result, you know, Arwen is not available to U.S. users right now. I think broadly speaking, I personally would like to see less of this happening because I'm sure that you've encountered a lot of new projects that are coming from teams here that are actually launching outside of the U.S.
Starting point is 01:03:27 And it really comes from this when you're doing some of the really innovative things that are coming out of this country. Understanding how the regulations apply to those things is really hard and expensive and involves lots of lawyers. And it's not just one set of rules, but it's like end of them. And that's what you see. You see launches out of the U.S. That said, we are working towards getting launches in the U.S., but it's like a longer and slower process that's involved, you know, figuring out exactly how we fit into many more regulatory frameworks
Starting point is 01:03:57 that are old and not really designed for the space. Yeah, I'm so glad that this came up at the end in a very roundabout way because I did ask SEC Commissioner Hester Perce about this when I interviewed her. And I think she seemed to say that she, you know, was kind of sympathetic or did understand that this was something, or actually that she was just concerned about what you said, that kind of innovation was happening here, but people were bringing their innovation elsewhere for that very reason. And she did say she listens to the show. So perhaps she'll hear this or I think other people at that's easy to listen to the show
Starting point is 01:04:35 as well. So maybe they'll hear. But yeah, I do find it is not, it's a pretty widespread sentiment, actually amongst a lot of the entrepreneurs in the space, at least in the U.S., so you're definitely not the only one. Yeah, and I just want to say that, like, if I can move a conversation just a little bit through this podcast, is that, like, you always hear like there's no regulatory clarity, there's no regulatory clarity. Like, that's not the point, right? Like, so we don't know if EF is a security or not a security. Like, that's an important question, a huge question, right? But there's so much more going on and there's so much more innovation happening.
Starting point is 01:05:10 So, for instance, what's a two-of-two multi-sig? And what does that imply? When you have a two-of-two multi-sig, who's controlling the asset, who's transmitted the asset? How does that fit into, you know, money-transminder laws? And how does that transmit it into, like, the state money-transmender laws? And how does that affect the CFTC's view of the object, right? Like, you've just got to think about so many different regimes and so many different rules. And, you know, this country has very well-developed regulations for financial services, which makes sense, right,
Starting point is 01:05:37 given, like, the history of all sorts of things happening when there aren't regulation. but what this is is like a new way to transact and what we're doing is we're having to fit this into these old rules and you know what that would even be fine if it was just one set of old rules like you have in the Japan the Japan FSA approach but here you just have lots of them so like you really don't know you really don't know how many of these rules can affect you right you have money services businesses in each state you have money transmits in like the FN regulations you have CFTC you have SFC you have SFC you have SAC you have SEC. So it's not just the sort of like lack of clarity, but it's the fact that there are a lot of rules. You have to do some really creative lawyering, which I personally actually really like.
Starting point is 01:06:20 Like I enjoy thinking about like all these old laws and how exactly like our escrowes affect these specific laws and how they fit in. I find that like intellectually fascinating. Like I am a professor at the end of the day, so I like love this stuff. But it's complicated. And if you make a mistake, like the penalties are high, right? And and so it really sort of prevents you from even taking the risk, right? Because, you know, like, I think this is the interpretation, but, like, who knows what the regulator is going to think? Because, you know, no one's really done this before. And so how much risk am I willing to take to actually deploy this technology in the U.S.? When I don't know exactly how the regulator might apply this, or maybe there's, like, an attorney
Starting point is 01:06:55 general in some state that doesn't like the way I did this and comes after me. So, like, it's just so complicated. And the penalties are so high that it really is stifling our ability to launch products in the country. Okay. Well, that's a grim place to end this, but hopefully that's an important statement that some regulators will hear. Well, it has been so great having you on the show. This was just, yeah, this was an amazing episode. So thanks again for coming on Unchained. Thank you. I'm sorry to end it on the sad note, but let me try to end it on a happier note, which is that I do think that there's just like a massive number of technological innovations. happening right now in this space. People are kind of trying to do things that don't really make sense in the physical world or in the traditional world, but do make sense and are possible
Starting point is 01:07:48 when we use blockchains. And so, like, I'm really excited about, you know, pushing this type of field forward. And, like, I just am looking for kind of places where we can get this out there and get people using it. And I do think that things will kind of fall in line. And this innovation will be accepted, but, you know, we're really, like, at a place where we're experimenting, and I'm sort of looking forward to seeing all of the new things that different people in this space are working on. Yeah, me too. All right, great.
Starting point is 01:08:20 Well, thanks for coming on the show. Thank you. Thanks so much for joining us today. To learn more about Sharon and Arwin, check out the show notes inside your podcast player. If you are not yet signed up for my email newsletter, go to Unchainedpodcast.com right now to get my thoughts on the top crypto stories of the week. And be sure to check out our new channel. on YouTube. Unchained is produced by me, Laura Shin, with help from fractal recording, Anthony Youne, Daniel Ness, and Rich Stroffelito. Thanks for listening.

There aren't comments yet for this episode. Click on any sentence in the transcript to leave a comment.