<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Figaro - Medium]]></title>
        <description><![CDATA[www.figaro.tech - Medium]]></description>
        <link>https://medium.com/figarotech?source=rss----8dd52cccb9c6---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Figaro - Medium</title>
            <link>https://medium.com/figarotech?source=rss----8dd52cccb9c6---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 00:12:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/figarotech" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Decentralized Exchanges]]></title>
            <link>https://medium.com/figarotech/decentralized-exchanges-more-disruptive-than-you-think-56a4d523cd21?source=rss----8dd52cccb9c6---4</link>
            <guid isPermaLink="false">https://medium.com/p/56a4d523cd21</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[decentralized-exchange]]></category>
            <dc:creator><![CDATA[Kristopher Craw]]></dc:creator>
            <pubDate>Mon, 16 Sep 2019 02:49:48 GMT</pubDate>
            <atom:updated>2018-08-18T17:35:10.256Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>Decentralized Exchanges — Far More Disruptive Than You Think</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7wuhBBzq5vv-4_POBkRquw.png" /></figure><p>I’ve noticed a lot of discussion lately around what exactly makes something like Coinbase a centralized exchange and what exactly the decentralized vs. centralized debate is all about. A <a href="https://www.cryptocompare.com/exchanges/guides/what-is-a-decentralized-exchange/">common misconception</a> is that it’s only about whether or not an exchange keeps custody of your crypto, but that’s a very narrow definition and there’s actually a far more disruptive and subversive movement happening around decentralized exchanges (DEX). Admittedly, it doesn’t help matters that terms in the cryptocurrency space can often be jargon-y, confusing, and sometimes mean more than one thing depending on the context. So herein lies my attempt to provide some (simplified) clarity and make the case for a bigger DEX picture.</p><p><strong>Centralized vs. Decentralized = Who Has The Power?</strong></p><p>In the cryptocurrency/blockchain space, when we talk about centralization vs. decentralization, we are usually talking about who has authority and power on a network. Oftentimes we are talking about hashing power or consensus authority e.g., Bitcoin centralization and security if a few mining pools collectively control more than <a href="https://medium.com/coinmonks/what-is-a-51-attack-or-double-spend-attack-aa108db63474">51% of the hashing power</a>.</p><p>This is because the more decentralized a blockchain network, the harder it is to achieve 51% control through collusion or conspiracy, and therefore, the more secure and trustworthy the network. In the case of exchanges, we are also talking about who controls the market data feed and the matching engine, because whoever controls those things controls the ability to grant special access and make or break fortunes.</p><p>But before we talk about decentralized vs. centralized exchanges, including how they work and the trade-offs between them, it helps to understand why custody of cryptocurrencies is <em>not</em> the whole story behind (de)centralization.</p><p><strong>Wallets != Centralization/Decentralization</strong></p><p>A common definition is that centralized exchanges are ones that take custody of cryptocurrencies on behalf of users and decentralized exchanges are ones where users manage their own cryptocurrencies — but that’s really very narrow and centers around online vs. offline “wallets.” It’s important to note that the wallet debate isn’t about power and authority, but rather about ease of use vs. security. To better illustrate, it helps to understand a couple of things about crypto wallets.</p><p>The first is that nobody holds your crypto — not you, not centralized exchanges, not banks or other institutions. Or more accurately, everybody holds your cryptocurrencies, because they only exist as entries in distributed ledgers, a copy of which is maintained by every node on a network.</p><p>The second is that the ability to spend or transfer your crypto is dependent on one thing and one thing only: possession of the secret key that “unlocks” it. A wallet is simply a device that securely holds the secret key to your account — i.e., it doesn’t hold your cryptocurrencies, it holds the secret keys to spending your cryptocurrencies. Whether you hold onto your secret keys or entrust them to a 3rd party is a matter of convenience and security.</p><p>Wallets come in two main flavors:</p><ul><li>Online (sometimes called “hot”): operated by a 3rd party, e.g. Coinbase, where your secret key is kept on a 3rd party server and accessed with a username and password; very easy to use, but if the 3rd party doesn’t practice good security, your secret key might be <a href="https://medium.com/@jimmysong/mt-gox-hack-technical-explanation-37ea5549f715">stolen</a></li><li>Offline (sometimes called “cold”): your own software/hardware/piece of paper/brain that holds your secret key; harder to use, and if you don’t practice good <a href="https://xkcd.com/538/">security</a>, your secret key might be <a href="https://techcrunch.com/2018/03/21/a-15-year-old-hacked-the-secure-ledger-crypto-wallet/">stolen</a></li></ul><p>There’s a very lively debate about whether the convenience of online wallets is worth trusting a 3rd party with your finances, but like most online financial accounts, it comes down to the security measures (and insurance policies) of the online wallet you use, and there is a <em>very</em> strong argument that long-term mainstream adoption will only occur through online wallets. There’s also a strong argument that people tend to overestimate their ability to practice good security, and that offline wallets might not be all that more secure in practice. But while this debate is important, there’s a much more important debate going on around centralized and decentralized exchanges.</p><p><strong>Centralized/Decentralized Exchanges — Who Controls What</strong></p><p>As mentioned previously, the central question of the decentralization debate, at least in regards to exchanges — whether crypto, stocks, futures, or any other asset class — is (or at least, in my opinion, should be) whether the order book, data feed, and matching engine are centrally located and/or centrally controlled, or whether they are decentralized, often by running, in whole or in part, on a public blockchain — that is the exchange itself runs on a blockchain, rather than just transacting in blockchain-based assets.</p><p>Centralized exchanges have a couple of technological upsides — they tend to have very fast transaction times and very fast data feeds. Think high-frequency trading. They also tend to be physically located in a single data center and controlled by a single authority — this means that an advantage can be gained by simply locating as close as possible, and most centralized exchanges will sell you physical proximity (for a hefty sum). This also means that one entity creates and controls the rules of the system and we must rely on regulation (often self-regulation) to ensure fair play. What makes something like Coinbase different than the NYSE really comes down to asset types, and technologically they are more alike than different.</p><p>Decentralized exchanges (DEX) are the opposite — order books, data feeds, and matching engines are maintained in a decentralized fashion without a single physical location or source of origin, with the rules enshrined in publicly auditable<strong> </strong>software and executed by the network. It’s still very early in the development of DEXs and there are many variations in existence (and even more in development) achieving varying levels of decentralization, but a consistent theme is that DEXs provide a more level playing field with more democratic access to data, order matching, and rule creation. Depending on the details of how a DEX operates, its also possible that there may be less need for regulation, or that a system will lack any central entity that could be regulated, and security and fairness will come in the form of audited source code. And depending on your view of high-frequency trading, the tradeoffs in terms of slightly slower markets might not be a tradeoff at all.</p><p>If you’re curious as to how a DEX operates, we can loosely categorize them into one of three flavors:</p><ul><li>Direct P2P: operate purely peer-to-peer with only a simple order book and no matching engine, with parties making direct transactions with each other (sort of like the digital equivalent of an open-outcry trading pit); recent trends tend to focus on helping buyers and sellers find each other and/or maintaining privacy and anonymity</li><li>Offline Order Matching: maintains a record of all transactions, including open and matched orders, on a blockchain, but the matching engine runs off-blockchain with varying levels of (de)centralization; recent trends usually focus on trying to bring some of the benefits of decentralization to this more centralized model of order matching</li><li>100% Blockchain: everything, including the matching engine, occurs on the blockchain in a decentralized fashion, which is the holy grail of DEX; recent trends focus on solving the technical challenges of running everything on a blockchain, thus far with limited success (most blockchains really aren’t designed to operate financial exchanges)</li></ul><p>Note that there’s no technological reason that DEXs can’t provide an online wallet as an ancillary service — its just a service that holds your secret keys — and as projects mature we should expect that online wallet services for DEX exchanges will start popping up to provide better user experiences.</p><p><strong>Wrap-Up</strong></p><p>Ease of use/rate of adoption vs. security/custody is an important debate, but when we talk about DEXs in terms of decentralized control and operation of data and matching engines, we are talking about something that has the potential to be truly disruptive — a reimagining of what an exchange is and who owns and controls them, with the power to truly democratize financial markets. That’s a lot bigger than who has custody of your cryptocurrencies.</p><p><strong>Disclosures</strong></p><p>I own small amounts of BTC and ETH, and I am part of a team that has been working for the last year (in stealth mode) on an open-source blockchain for DEX financial markets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56a4d523cd21" width="1" height="1" alt=""><hr><p><a href="https://medium.com/figarotech/decentralized-exchanges-more-disruptive-than-you-think-56a4d523cd21">Decentralized Exchanges</a> was originally published in <a href="https://medium.com/figarotech">Figaro</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcing FigaroDB]]></title>
            <link>https://medium.com/figarotech/announcing-figarodb-8b6c0f8fe49?source=rss----8dd52cccb9c6---4</link>
            <guid isPermaLink="false">https://medium.com/p/8b6c0f8fe49</guid>
            <category><![CDATA[decentralized-exchange]]></category>
            <category><![CDATA[financial-markets]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Kristopher Craw]]></dc:creator>
            <pubDate>Sun, 15 Sep 2019 16:27:28 GMT</pubDate>
            <atom:updated>2019-09-17T17:25:42.895Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*apOk3v0OrgPDjGpb" /><figcaption>Photo by <a href="https://unsplash.com/@sortino?utm_source=medium&amp;utm_medium=referral">Joshua Sortino</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>When we started Figaro, we set out to build technology that would power fairer financial markets, free from colocation, high frequency trading, and dark pools. We wanted to build a system where anyone could compete on a level playing field based on skill and market knowledge, rather than insurmountable technical and financial barriers designed to ensure that the same privileged few always win.</p><p>Early on we realized the key to this was building distributed exchanges, with each member node independently owned and operated, and with full data transparency and cryptographic proof of best execution order matching. Only then could we create markets insulated against the financial influence of a few major players.</p><p>To accomplish our goals, we’ve embraced blockchain as a core technology. This game-changing technology enables secure distributed and decentralized networks in a way that has never before been possible. Unfortunately, no off-the-shelf blockchain technology allows for operating limit order books and matching engines at scale while maintaining full cryptographic proof of order book state and best execution order matching. That means we’ve had to build our own. FigaroDB is the result of almost 2 years of heavy R&amp;D, and we are excited to share our results.</p><h4>Background</h4><p>The naive solution would have been to create limit order books and matching engines using smart contracts and the Ethereum Virtual Machine (EVM). Unfortunately, the performance characteristics of the EVM and the relatively intense data requirements of keeping a sorted order book prove to be unworkable, even with a dedicated network to avoid excessive “gas” costs. This reflects the experience of the DEX community at large, which abandoned smart contract exchanges in favor of relay networks. However, relay networks use centralized order books and matching engines, with only settlement being decentralized. This means they are highly vulnerable to colocation, front running, and dark pools. To create fairer financial markets, we require a solution that is fully decentralized.</p><h4>FigaroDB</h4><p>With FigaroDB, we’ve been developing a cryptographic database designed specifically for order books and matching engines. As a design goal, we require real world scalability, the ability to generate merkle roots of order book state to support distributed computing, and the ability to provide compact merkle proofs of best execution order matching in order to provide full decentralization without loss of security. After iterating several approaches and versions, we’ve been able to alpha test a prototype that meets those design goals, and we share our benchmark results below.</p><p><strong>Benchmarks</strong></p><p><em>PC with 1TB NVMe SSD PCIx4, Quad Core i7, 32 GB RAM</em></p><p><em>Test 1: </em>Seed 500 Ask orders, benchmark matching Bid orders throughput</p><p>Result: 16500 tx/s</p><p><em>Test 2: </em>Seed 50k Ask orders and 50k unmatched Bid orders, benchmark matching Bid orders throughput</p><p>Result: 12500 tx/s</p><p><em>Test 3</em>: Seed 50k Ask orders and 50k unmatched Bid orders, benchmark time to create complete Ladder from disk</p><p>Result: 100ms</p><p>These are exciting results, because this means FigaroDB can operate as part of a decentralized exchange supporting over a <em>billion</em> transactions per day, independent of order volume, <em>even before sharding</em>. This is key to ensuring that Figaro can operate at the scale of global financial markets and serve as an alternative to traditional centralized financial exchanges.</p><h4>What’s Next?</h4><p>With FigaroDB, we finally have a means of operating fully decentralized exchanges at scale. Keep an eye on <a href="https://www.figaro.tech/">Figaro</a> as we continue to develop a custom blockchain to create the world’s fairest financial markets. We intend to release Figaro Core, including FigaroDB, as source-available software under both noncommercial and commercial licenses. For more information or opportunities to partner with Figaro, you can reach us at <a href="/service/mailto:info@figaro.tech">info@figaro.tech</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b6c0f8fe49" width="1" height="1" alt=""><hr><p><a href="https://medium.com/figarotech/announcing-figarodb-8b6c0f8fe49">Announcing FigaroDB</a> was originally published in <a href="https://medium.com/figarotech">Figaro</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>