Decentralized Exchanges (DEX) are a key foundation for the DeFi ecosystem. They give you the ability to trade and swap one cryptocurrency for another peer-to-peer, without the need for third parties such as a centralized exchange or traditional financial institutions.

Still, we have to ask: Why worry about implementing decentralized exchanges if we already have their centralized counterparts? How do DEXes actually work, and more importantly, why are they important for the DeFi space?

Decentralizing exchanges

If you are familiar with centralized exchanges (CEX), you will have no trouble understanding how decentralized exchanges work. In a centralized exchange, a central entity or…

It’s time for another L2 comparison! The other day I came across a project I wasn’t aware of: Polygon. Polygon is advertised on its official site as the “Ethereum’s Internet of Blockchains”. What does this mean?

Polygon seems to be tackling all of Ethereum’s current limitations at the same time: its current low throughput (which hopefully will be improved with Ethereum 2.0); the poor UX provided for applications as a result of gas fees and the delayed PoW finality; and what they call “no sovereignty” which translates into the lack of composability of the Ethereum stack; and its governance dependence…

It’s never a good idea to store big chunks of data in a blockchain. For starters this is straight impossible, as the amount of data that may be included in a transaction is limited. But even if you could, it would be prohibitively expensive in terms of cost and resources, as every peer in the network would have to store that piece of data you chose to store on-chain. …


In the past few months, the price of ETH has surged, and the usage of the Ethereum network has significantly increased. The main culprits for this trend have been the renewed interest in NFTs and the consolidation of DeFi applications, along with the outstanding growth of the cryptocurrency market. This has resulted in a number of “not so pleasant” consequences for DApp developers in the Ethereum ecosystem: mainly, the network’s inability to accommodate the increase in usage leading to high gas costs (even more if you want your transaction to be validated in the next few…

PS: In the end there is always a server involved.

Originally published at:

In a project I have been involved lately, I’ve been considering migrating all the system to a serverless infrastructure. I was searching for a way of saving costs in the infrastructure layer, and (at least for now) making the infrastructure 100% a variable cost. The project is in such an early stage that I don’t want the infrastructure to be a fixed cost draining my resources, i.e. I want near zero costs while no one is using the system.

Of course, a serverless infrastructure has many other advantages apart from the cost model, such as simple…

Also published at:

A while ago I wrote an article discussing the different types of consensus algorithms out there, what they consisted in, and its virtues and vices. One of the points I wanted to stress in the publication is the importance of choosing an optimal consensus algorithm while developing your blockchain use case. Of course, there are many other design decisions you need to take into account while developing your brand new Dapp, but choosing a good consensus algorithm in your design may make your developers lives way better.

I am moving out to my personal newsletter

Photo by Jan Tinneberg on Unsplash

This may be my last article in Medium, at least for a while (you know, never say never). For the last few years, Medium has been the destination of almost all my writing pieces. I have written articles with a greater or lesser frequency, getting more or less acceptance depending on the article. I had the chance to write for some of the coolest tech publications around here, such as Coinmonks and Hackernoon; and I had the enormous honor of even getting paid for writing (obviously, I am not some kind of idiot, if someone still wants me to write…

For pessimist I’m rather optimist.

*** Originally published in #adlrocha’s ***

Today I want to share with you my thoughts (and maybe open a more than needed discussion) about a topic I have always been really sensitive to. With the impressive amount of tech talent that we have in Europe (and even in Spain, if you let me), how is it possible for us not to have any global tech monster such as US’s FAANGs, or China’s Alibaba and Tencent.

… Duct Tape B*S* jobs

Let’s get things straight, I love open source. I am a great advocate of this model, it is one of the greatest things that could have happened to the development of the software industry (in terms of innovation, openness, and security). However, open source software has a dark side, the appearance of associated Duct Tape Bullshit Jobs. In case you are wondering, yes, I took this “duct taper” concept from David Graeber’s book (if you haven’t read this book yet, I highly recommend you do, it will definitely change the way you think about work).

Photo by Victor Grabarczyk on Unsplash

So, what do duct tapers…

Alfonso de la Rocha

Research at Protocol Labs | Avid reader seeking for constant innovation. [] []

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store