📌 An opinionated recap of the most interesting new products in crypto
Token Economy
Got forwarded this email? Subscribe here.
Subscriber? We'd appreciate if you could forward it to someone who would find it valuable. 🙏
-
view in browser -
Hey all! We skipped an issue last week due to travel (and not a huge amount to report either).

This issue kicks off with a data-driven guest post by our friend Fredrik, co-founder of Dune Analytics, Unplugger at heart and an insanely skilled freestyle skier! He looks into recent traction numbers across four DEX models, a pretty juicy read.

Cool new products for the past two weeks are featured right below Fred's post. *A lot* going on in DeFi lend as always, plus a new ETH mixer, a formally verified EVM complier and a new standard for authentication on Ethereum.

Let's do it. 🙌

--
PS: don't forget to send *new* products our way via this typeform link (new as in ideally just released, not like 9 months ago) 🙏
Are DEXs starting to see product/market fit?
A guest post by Fredrik Haga, co-founder of Dune Analytics.

If you’re interested in crypto, and Ethereum in particular, you’ve noticed that decentralized finance (aka DeFi) has been the talk of the town lately. So far this year lending protocols and Uniswap have gotten a lot of attention, while the other Decentralized Exchanges (aka DEXs) have not been as prominent in the cryptosphere. In this post, we’ll take a look at four different DEX models, dig through some data and compare across the field to get a feel for their traction and user dynamics. Is it still just crypto people playing with crypto products or are we starting to see real problems being solved?

A quick intro to the different models

In this post we’ll look at Uniswap, Kyber Network, 0x and the Dutch Exchange created by the Gnosis team.

Uniswap uses pooled liquidity reserves and a constant product market-making formula. In less abstract terms that means that liquidity providers can add tokens to pools and others can then trade directly against those pools with the smart contract as their counterparty. Liquidity providers earn fees from trades done against the liquidity pool they supplied to. The benefit of this model is that it’s very easy to use as neither liquidity providers nor traders need to find a counterparty to use the system. The downside is that traders sometimes experience significant slippage and that being a liquidity provider is not always as profitable as one might hope

On the surface, Kyber Network appears similar to Uniswap as both allow users to easily swap tokens. There are, however, some important differences. Kyber offers users liquidity through various reserve pools that are managed by both Kyber and other parties. The user gets the price from whatever pool that offers the best rate. There are requirements for starting a pool and they can be managed in different ways. While on Uniswap anyone and everyone can supply to the same pool and prices are set by a formula. Furthermore, Kyber is making it very easy for other dApps and apps to integrate Kyber into their products. 

0x is a protocol for trading with smart contracts. While they offer various products on top of their core protocol they are most known for having a range of relayers that keep order books off-chain and then the actual trades are settled on-chain. This is the model that looks most similar to traditional exchanges. Challenges with this model have been unclear regulatory environment and a lack of liquidity - we’ll have a look at what that liquidity looks like.  

The DutchX uses the dutch auction principle for trading tokens. Even though this model is less well known than the others the mechanism is actually not that complicated: the seller begins the auction with a high asking price for a set quantity of a token and then the price goes down over time. At each point in time bidders can buy a desired amount of tokens at the current price. When bidders have bought the full amount of tokens for sale in the auction every buyer pays the lowest (/last) price. The DutchX mechanism removes some challenges like no front-running and slippage due to low liquidity. The main issue with this model is that it is slow: each auction takes about 6 hours to clear. 

What’s the volume like?

Uniswap deserves the attention it gets with the highest volume this year: $181 million worth of tokens exchanged through their smart contracts. Maybe a little more surprisingly Kyber comes in very close to Uniswap with $176 million traded. Their strategy of integrating with other dApps maybe does not give them as much fame, but it sure gives them volume. 0x comes in at a solid third place with $79 million traded this year. Dutch X, the newest kid on the block (pun intended), launched in February and has seen almost $22 million in volume since inception. In other words, all these DEX models now have some serious traction. Now let’s have a look at their growth.
It’s well known that Uniswap exploded from nothing the first few months of this year and we see that clearly in the numbers. Beyond the rosy start (another pun indeed) it’s also great to see that the volume keeps growing fairly consistently through the summer months. Uniswap’s weekly volumes have been over $6 million for 3 consecutive months now. This could be indicating that there are not occasional whale acts that drive the metrics, but rather persistent user problems being solved and a snowball effect at play with better liquidity, lower slippage, more demand and so on.

As we see Kyber has also experienced significant growth this year, and especially over the summer. Kyber has been doing over $10 million in weekly volume about half of the weeks in the last few months, which is above Uniswap. In other words, Kyber is on track to bypass Uniswap soon!

After seeing Uniswap quickly outgrow their volumes the first four months of the year, 0x has had some fantastic summer months. It looks like 0x’s focus on improving liquidity is paying off as they’re closing in on Uniswaps weekly volumes and the most prominent DEX project of 2018 should probably get more attention again. What is also quite remarkable here is that a vulnerability was found in the 0x contracts on July 12th (week starting 8th of July). They shut down their v2.0 contracts, patched them and redeployed all their contracts as v2.1 on that same day. Some immutability maximalists might be disappointed by the fact that the core 0x team can simply shut down their smart contracts. Interestingly the metrics do show an impressive consistency in volume that week. Albeit a slight dip in volume the week does not even look like an outlier here!

The DutchX launched in February and is currently seeing weekly volumes around $400k. There’s a big peak in late June caused by the fact that trading on the DutchX gave you governing rights in the dxDAO until the 28th of June. When volumes are modest and single events have large effects like this it’s obvious that their product has a less established regular user base. A key promise of the DutchX is low slippage and the data does support this claim, which is encouraging. You can inspect the DutchX’s relatively low slippage across different token pairs here

It seems fair to attribute some of these differences in volume to the complexity of using each product. Uniswap and Kyber have a “press play” experience or under the hood integration with a nice dApp or wallet UI. On the other hand, most 0x interfaces require a user to have some understanding of trading and order matching while the DutchX requires users to both understand the dutch auction model and be present to bid at the right time. Now that does not necessarily mean that one approach is unequivocally better than the others: while all products allow for on-chain exchange of tokens they might be tackling different market segments.

Different user segments?

So if Uniswap on one end offers ease of use, but slippage and on the other end DutchX is more complex, but offers low slippage; then one might expect more professional traders to use the DutchX conducting larger trades and more casual traders to use Uniswap conducting smaller trades. 

Let’s have a look by dividing the trading volume by the number of trades for the last full week of July. We get an average trade size of ~$650 for Uniswap, ~$770 for Kyber, ~$890 for 0x and ~$250 for DutchX. These numbers could support the above hypothesis that the various DEX products are serving different segments of the market: from more casual to more professional user groups respectively. Except for the DutchX, but that system is still very young and presumably not battle-tested enough to see truly large orders quite yet. 
Looking at unique users (measured as unique trading addresses) we might find further support for our above hypothesis: Uniswap and Kyber are serving a broader set of users, while 0x and DutchX are serving a smaller set of (presumably) more sophisticated users. The above nuances might indicate that the different DEXs are finding their target audiences and are solving real problems, which is incredibly exciting news! It is still worth pointing out that the number of users is of course still very low compared to basically everything else happening on the web. But then again many startups get off the ground by serving a small niche very well before scaling out to a broader audience. Given that we still have a fairly modest sample size and no highly distinct values it’s too early to draw clear-cut conclusions here, but it’s going to be interesting to keep an eye on this data going forward! 

Product/market fit in sight!?

It’s well known that a week in crypto is about a year in the outside world, so it’s worth reminding ourselves that about a year ago these projects recently went live or didn’t even exist. Remarkably, we are now at the stage where all these different approaches to permissionless trading on Ethereum are live, working in the wild and being used. This year DEXs are seeing serious and consistent growth across the board, and maybe even some early signs of finding some of that much-craved product/market fit! 

All data mentioned in this article can be seen interactive and in real-time here. You can also see and fork the underlying SQL-queries. 

Thanks to Alex Svanevik for helping me out with this post. 

Fredrik Haga 
Co-Founder at Dune Analytics

(Note that for 0x we are using price feeds from centralized exchanges to determine the USD value of on-chain volume. Some esoteric tokens might not be counted because they don’t have a price on centralized exchanges. However, this should not change the overall volume by much).
😎 Cool new projects
An all things MakerDAO/DAI dashboard.

Probably one of the most detailed and comprehensive dashboard we've seen on MakerDAO-related onchain activity, by the Santiment team. You can see the recent uptick due to Coinbase Earn programme from any sort of angle.
A formally verified EVM compiler.

One for the smart contract developers in here. Elle is an early prototype of a compiler focused on generating code for the EVM implemented inside of a 'proof assistant' (called Isabelle) which can prove its correctness using a formal proof that can be checked by a machine. A bit of a mouthful to say that it's a tool aimed at preventing bugs causing miscompilation of higher-level smart contract code.

Documentation
Github
A ZK-snark based, non-custodial ETH mixer.

Another ETH mixer has launched on mainnet (though yet unaudited). This one is powered by zkSnarks technology, providing non-custodial, trustless, serverless, private transactions on the Ethereum network.

We've seen a bit of a wave of these mixers lately, with Hopper, Heiswap and a bunch of others. Clearly privacy is coming to Ethereum as a feature, fast. Interestingly the founder of Tornado also published a critical vulnerability common to all of them, which allowed double-spending. It was an easy fix, but still shows how experimental all these tools are.

Tornado mixer Github
A template for an ERC20 token 1-for-1 redeemable for DAI from a pool of cDAI that sends interests to a beneficiary.

If you know Pooltogether, this is effectively its generalized version (released by the founder of Betoken): there's a beneficiary address (which could be a DAO for example) and then anyone can contribute DAI into a pool which locks it into Compound to earn interest. The interest is automatically routed to the beneficiary, while the contributors get pcDAI which can be redeemed at anytime for DAI from the pool.

A classic example of what can be done when money is programmable. Look forward to seeing how this gets used.
An analytics dashboard for the emerging DeFi use-case.

This by the Covalent team looks like another really well made defi-focused dashboard, starting with all analytics on Uniswap (trade volumes/liquidity pools, liquidity providers / returns and on-chain price feeds).

The ROI dashboard by liquidity provider are particularly cool, see this one for example.

"Introducing defistats" blog post
An open source Ethereum protocol that sits on top of multiple money markets to maximize yield.

This looks awesome, and was only a matter of time. It's a smart contract layer on top of compound, dydx, and ultimately any defi protocol, that auto-allocates funds according to market rates in order to maximize yield (or perform any rebalancing strategy really). This is not too dissimilar from Set Protocol in some way, but with money markets as the underlying layer.

It also shows how users won't actually need to know what's going on under the hood if they end up interacting with applications that leverage these sort of aggregator smart contracts.

It's on mainnet so anyone can build with it, but it's yet unaudited so play safely.

MMM Github
A tool to compare gas consumption for different defi smart contracts.

Federico keeps spinning out really cool (and helpful!) little tools for defi, watch this guy :) 

His latest creation helps measure differences in efficiency between different smart contracts by comparing gas consumption. The tool currently cover Uniswap, Kyber, Bancor and lending protocols Compound and dYdX.
A model to leverage real world assets in DeFi credit facilities.

It's great to see more teams working on bringing off-chain collateral into the defi ecosystem. We haven't dived into this approached as yet, though the challenges are presumably still the same as those faced by other teams (ie both legal and technical). To their credit the Fluidity team claim they have already executed an end-to-end pilot with US Treasuries as the underlying collateral in the multi-collateral DAI system.

Whitepaper
Web2.0-style authentication on Ethereum.

The Authereum beta went live on Kovan testnet last week.

By integrating Authereum into a dapp, users are getting a UX much more aligned with that of web 2.0 applications: so no longer need to access the dapp via a web 3.0 browser, contract-based accounts with account recovery options (via Torus) so no more seed phrase gymnastics, direct access to fiat on ramps with debit or credit cards (via Wyre), one-click txs and soon fees to be paid in any token (e.g. DAI). Security features are from traditional web 2.0 and thus centralized (e.g. a transaction firewall), though users can bypass them an operate in a fully non-custodial way should they want to.

It's only via this sort of UX that dapps will be able to convert and retain fresh new users.

Authereum Kovan demo on Uniswap
---
PS: as always, use the link below to bring cool new projects to our attention:
🚀 Submit here!
Curated on a Product Hunt collection!
ℹ️ About us
Token Economy is written and curated by Stefano Bernardi & Yannick Roux.

🤙 If you're building a new fundamental piece of technology for the future, please reach out or submit it at this link

🙏 We'd appreciate if you could forward this issue to someone who would find it valuable

✍️ If you'd like to publish some of your content on the Token Economy publication, please fill out this form
Feel free to send links to include in the next issue, or any comments you might have on this one!
Unsubscribe | View in browser