Don’t just blame DeFi for paying high ETH gas fees

How institutions store and secure digital assets have a fundamental impact on transaction fees

Dan Yadlin
5 min readAug 31, 2020

Transaction costs on the Ethereum blockchain are at record highs, and no one will let you forget it. Reports often detail how decentralized finance platforms are the cause of ever-rising gas fees — tokens paid to miners who confirm and enable transactions on the Ethereum blockchain. Yes, DeFi does play a role, but the problem is institutional.

Some exchanges, custodians and asset managers have been using multisignature platforms to secure their digital assets. Several years ago, multisig was viewed as a respected attempt to prevent private keys from being compromised. Despite initial adoption, numerous shortcomings have made institutions both question and transition from the multisig approach, in many cases replacing it with multiparty computation, or MPC, infrastructure.

Among many disadvantages, multisig platforms are not natively supported on the Ethereum blockchain. Instead, institutions are required to execute smart contracts that implement the multisig logic — i.e., a smart contract that accepts deposits and requires multiple signatures to withdraw from it.

Creating these multisig smart contracts to secure exchange clients’ funds involves gas fees, which cost millions of dollars. But it’s not just people’s wallets that have been suffering. Because fees are denominated in Ether (ETH), a more congested network may lead to slower development of Ethereum-based projects.

Here’s how it works on a broad scale:

Multisig Gas Economics

Creating a multisig wallet implemented as a smart contract costs 1 million gas units. In addition, every deposit or withdrawal costs more than 100,000 gas units. Therefore, multisig institutions end up paying a higher fee, given they have chosen to use a smart contract function.

In contrast to the creation of a single signature MPC wallet, there are no wallet creation fees and deposits, and withdrawals cost 21,000 gas units.

Given gas deposit fees are paid by end-users, any institution implementing a smart contract may initially think this wallet creation fee is simply a one-time operation. Unfortunately, there is still another major issue with multisig addresses on the Ethereum network that results in another unnecessary fee: attribution.

Attribution

When an institution such as an exchange wants to identify deposits from different users, it creates a unique receive address for each client.

Unlike the Bitcoin network and other blockchains, Ethereum does not permit a transaction to include multiple inputs. Therefore, institutions will instead forward all deposits from each client’s unique receive address to a secure address where withdrawals are made.

So the question now is how do we secure these receive addresses for institutions using multisig? One option is to use a multisig address for the receive forwarding addresses. However, there is a much cheaper and more elegant solution called a forwarding contract. A forwarding contract will forward any incoming funds to a new location (the omnibus multisig wallet). So all deposits will be automatically consolidated and attribution is determined based on the forwarding contract. This unfortunately has a price as well as the institution has to create an additional smart contract (forwarding contract) per receive address.

Creating a forwarding contract costs around 200,000 gas units; depositing the forwarding contract costs approximately 60,000 gas units. These are all needless costs, further congesting the Ethereum blockchain.

In comparison, with a single sig MPC solution creating the receive address is free while depositing it costs the usual 21,000 gas units. We still need to conduct another transaction to forward from the receive address to the omnibus address which will cost 21,000 more gas units.

Collective Fees Incurred

Our description is summarised in the following table:

Show Me the Money

We’ve only presented the units of gas required to conduct Ethereum transactions on multisig platforms. The actual cost fluctuates, as users determine how much they want to pay (in Gwei) per unit of gas to the miners. These fees fluctuate as the network demand changes. With more demand on the network — as we are currently witnessing — users will need to pay a higher gas price in order to prioritize their transaction. The actual cost of a transaction can be thought of as gas x gas price.

Multisig transaction costs under current gas prices (~80 Gwei) are as follows:

Cost of Doing Business?

Suppose a new crypto exchange is seeking to establish its Ethereum wallet infrastructure with a separate receive address for each client. Based on the above pricing, if the exchange used a multisig infrastructure, it would pay $6 every time it signed up a new client and created a new receive address for them. This is before the client even deposits any funds.

The exchange will likely view this as part of its customer acquisition costs or the cost of doing business (if they’re even aware of this incurred cost, to begin with).

A recent report states that Coinbase has 35 million customers. At today’s prices, it would cost $245 million to set up a multisig infrastructure to support said clients — whether or not these clients choose to conduct transactions.

A Solution to the Problem

Institutional gas fee expenditures to simply set-up clients and attempt to mirror a multisig infrastructure on Ethereum can be a thing of the past.

An exchange using an MPC wallet solution such as Curv’s experiences added security benefits and pays nothing to create the same setup for their client base. MPC transactions are always a single sig transaction. For multisig solutions, institutions are charged multiple times regardless of the transaction type.

As with any maturing market, institutions have experienced increased fee compression over time, and firms have been seeking methods to scale their business at a lower cost without compromising on security.

The growth and adoption of MPC, for Ethereum and other blockchains, is helping firms do just that: reduce unnecessary gas expenditure and limit infrastructure set-up fees all while prioritizing security.

--

--