DAI in the hands of all— You can now send DAI without paying Ether gas fees. (2024)

TL;DR: We built a gasless non-custodial DAI wallet that allows you to send DAI and pay transaction fees in DAI instead of Ether. You can get it on Android below or follow @LamarkazLab on Twitter to be notified of the iOS release.

Different proposals attempted to solve this problem for years. One popular method to achieve gasless (without Ether gas fees) token transfers is known as meta-transactions, a layer 2 architecture that allows you to delegate the payment of Ether gas fees to someone (called a relayer) while you pay them in any token.

While this sounds great in theory, in practice, proposed meta-transaction architectures have lacked the ability to on-board users without a first step that would still require Ether. To work around this problem, EIP proposals created new token standards that support meta-transactions natively but require token contracts to be migrated.

Ideally, we can have a solution that:

  1. works with existing ERC20 token contracts
  2. requires no user on-boarding process or UX trade-offs
  3. doesn’t expect users to own Ether, or even know of its existence
  4. keeps users in custody of their tokens

Thanks to the recent Ethereum Constantinople upgrade, we have found an architecture that checks every item on the list! And we’ve implemented it on the mainnet in Metacash — a gasless mobile DAI wallet.

Back in January, we published a proposal on EthResear.ch describing an alternative wallet architecture that combines meta-transactions, smart contract wallets, and the new Ethereum Constantinople CREATE2 opcode to replace the Ethereum external account model (i.e. accounts controlled by private keys).

The problem with external accounts is that they’re not programmable unlike smart contracts. Consequently, users cannot set custom rules for their accounts. Replacing external accounts with smart contract wallets (we’ll call them smart wallets, for short) allows the full flexibility of smart contracts at the account holder level. The smart wallet would only execute its owner’s commands via signed messages from the owner’s external account. Additionally, we can set new rules. Think daily withdrawal limits, two-factor authentication, account recovery mechanisms, Last Will distribution mechanisms, privacy through account mixing, and more features that we may have not yet imagined!

And if a smart wallet holds your tokens, then we can also put meta-transaction functionality at the wallet layer instead of the token contract layer. In this case, relayers interact with each user’s contract to execute their transfers, instead of interacting with token contracts. This allows Metacash to work without upgrading existing token contracts or replacing the ERC20 standard, fulfilling the first requirement on our checklist.

‘Who deploys the smart contract that represents "you"?’ — u/Fermi_Amarti

The idea of smart contract wallets isn’t new. Projects such as Gnosis Safe and Parity Wallet already use this model to provide safety features for Ether and tokens that are simply not possible under the external account model. The one big problem with smart wallets is: who deploys them? Of course, users could do it directly, but they have to pay Ether gas fees, which defies the purpose of meta-transactions.

There needs to be a way not only for users to use meta-transactions after their smart wallet is deployed on-chain, but first to be able to deploy the smart wallet itself through a meta-transaction. Ideally, this meta-deployment architecture should make no trust assumptions about both the user and the relayer.

This is where Ethereum Constantinople’s new CREATE2 opcode comes in. In a nutshell, CREATE2 allows smart contract addresses to be generated off-chain before they’re deployed. You also get a guarantee that only a contract with a specific bytecode can be deployed to this address in the future, whether by you or someone else (a relayer, maybe).

In our architecture, the user generates their smart wallet addresses off-chain in the wallet client. And thanks to CREATE2, the user can assume that it is safe to receive tokens at this address even before the smart wallet is deployed on-chain. After receiving tokens at their smart wallet address, the user can then send their first token meta-transaction AND meta-deploy their smart wallet in a single action through a relayer. Each user’s first transfer goes to a previously-deployed smart wallet factory contract which executes the following:

  1. Creates the smart wallet contract on behalf of the user
  2. Requires the smart wallet to send the user’s transfer to the recipient
  3. Requires the smart wallet to pay a fee from the user’s tokens to the relay

Beyond this point, future meta-transactions interact directly with the newly-deployed smart wallet. This is the reason why you’ll find that the first transaction on Metacash is always a little more expensive in terms of DAI fees than each time afterwards.

Since this entire process is done without the user ever obtaining Ether and without changing the user behavioral model, requirements 2 & 3 are now checked off on our list.

You can’t try Metacash for the first time without feeling at least a little skeptical about it. After all, custodial wallets and exchanges already allow their users to send DAI and many other ERC20 tokens while taking their fee in the token itself instead of Ether. And the Metacash user experience can feel similar, if not identical, to a custodial wallet. So is it really non-custodial or is there a catch?

The factory and smart wallet contracts regulate the relationship between you and the relayer. Both are open source and verified on Etherscan.

The factory verifies your digital signature provided by the relayer in order to make sure that the relayer doesn’t deploy your smart wallet without your permission. It also ensures that the relayer fee and the gas price were authorized by you.

The smart wallet verifies your digital signature provided by the relayer in order to ensure that the token address, the amount, the recipient, the relayer fee, the gas price and the transaction order (nonce) were all approved by you.

What happens if the relayer decides to censor you or simply goes down? Both the factory and the smart wallet allow a direct transaction option. In case of censorship or relayer downtime, you can still access your funds by sending a normal Ethereum transaction and paying fees in Ether. The relay cannot freeze your assets or censor your access, it can only censor convenience.

Since the relayer cannot use your wallet or tokens without your permission or censor you/freeze your tokens, then we’ve checked off the last requirement on our checklist.

Deploying the entire smart wallet bytecode for each user would be very storage-redundant. It would also add significant gas cost to the initial smart wallet deployment for each user.

We solve this problem by using the DELEGATECALL opcode. This allows us to deploy a singleton smart wallet implementation contract that is used by all users.

Each user only deploys a significantly smaller contract that inherits its functionality from the singleton implementation contract, reducing most of the Ethereum storage redundancy and deployment gas cost for each user.

In Metacash, smart wallet contract upgradability comes as a by-product of using DELEGATECALL. Each user can change the address of the singleton implementation contract that their smart wallet is using, which allows them to upgrade for new features. No smart wallet address change, no contract deployment costs and no token swaps. Of course, upgrading can also be done in a gasless meta-transaction.

This creates a new standard for token standards that follows a principle of user-activated upgradability rather than developer-activated upgradability.

Instead of having no choice but to wait for each token’s developers to implement a feature, we can have permissionless improvements.

Instead of new token proposals going through governance processes and lengthy debates among every token’s community, we can have individual opt-ins for improvements.

Instead of creating token standards, we can create smart wallet standards.

Almost every feature that a token standard can add to a token, a smart wallet can add to every token — regardless of whether it was implemented by the token’s developers. Individual users can opt-in for different smart wallet implementations that follow different standards.

Third-party developers can add new token features that users can instantly use with all of their favorite tokens, without taking anyone’s permission.

The potential benefits of the smart wallet architecture greatly over-weigh simple gasless meta-transactions. We argue that this new ability to program wallet accounts in the form of smart contracts has the potential to create completely new possibilities, and especially, in the context of wallets.

We have a few ideas on our list for DAI:

  1. Custom daily withdrawal limits to minimize risk of theft
  2. Timelocked social recovery mechanisms against theft, client attacks & wallet loss
  3. Timelocked proof of death to enable Last Will distribution
  4. Ethereum subscriptions

If any of these ideas sounds like a must-have for you in a Metacash update, or if you have a better idea, let us know on Telegram.

DAI in the hands of all— You can now send DAI without paying Ether gas fees. (1)

Metacash is fully-functional on the Ethereum mainnet today. You can use it to send DAI to anyone while paying transfer fees in DAI itself, instead of Ether.

The app is currently available on Android below. If you’d like to be notified of the iOS release (coming soon), stay updated using the links below.

Metacash is still in its infancy, and we’re very eager to know everyone’s feedback, ideas, comments & feature requests.

Please feel free to get in touch with us here:

Twitter

Reddit

Telegram

EthResearch

DAI in the hands of all— You can now send DAI without paying Ether gas fees. (2024)

FAQs

Are there gas fees with DAI? ›

Because the Ethereum blockchain is part of the EVM, the cryptocurrencies built on that blockchain require gas fees. For example, a popular token built on Ethereum's blockchain is DAI. Because it uses the Ethereum blockchain, users need to pay gas fees in gwei to conduct transactions on the chain.

Is it cheaper to send DAI or ETH? ›

This way, DAI can be used while taking advantage of the low gas prices on the RSK network. Sending DAI from one wallet to another using RSK would can cost up to 80 times less than doing so over Ethereum.

Do I need ETH to send DAI? ›

There is no way to exchange them back unless you buy some eth so you can pay the gas fee. The miners or nodes are validating transactions like the exchange of your dai to eth you pay them in eth as a 'gas' fee for keeping the blockchain secure and so your transaction gets included in the blockchain.

What happens if you don t have enough ETH for gas fees? ›

If you don't have enough ETH, you can click 'Buy Ether' to replenish your wallet. You can also learn more about the way gas works in our What is Gas article, but generally, a standard ETH transaction will take a gas limit of 21000 and sending tokens will require 50000 gas - 100000 gas .

How to buy DAI without fees? ›

Bank transfers are often the best route to buying Dai on Coinbase, with no fees on deposits and just a 1.49% fee on purchases.

How do I avoid gas ETH fees? ›

Ways to Avoid Ethereum Gas Fees
  1. Use DeFi Saver App.
  2. Optimize your Transaction Timings.
  3. Use DApps That Offer Discounts and Rebates.
  4. Utilize Gas Tokens.
  5. Accurate Calculation of Ethereum Gas Fees.
  6. Use a Layer-2 Blockchain.
Jul 7, 2022

How much does it cost to send DAI? ›

Dai Exchange Fees
Dep. Deposit feesTrade
Bitfinex-0.1% / 0.2%
Bitstamp-0.5%
Coinbase-0.5%
FTX-0.02% / 0.07%
8 more rows

Why are DAI fees so high? ›

Why are Dai(DAI) withdrawal fees charged? The fee is charged to incentivize the network's nodes (miners) to process and validate the transaction, thus ensuring that it is added to the blockchain. The fee helps ensure that the transaction is processed quickly and efficiently.

How much does it cost to send DAI Coinbase? ›

Coinbase charges a flat 1% transaction fee on all cryptocurrency transactions.

Is DAI cheap to transfer? ›

Dai works well for money transfers. Because the price is usually $1, Dai is a good crypto to use for money transfers. If you transfer $100 worth of Bitcoin to someone else, it could be worth $95, $105, or another amount by the time they receive it.

Is DAI backed by ether? ›

MakerDAO was formed in 2014 by Danish entrepreneur Rune Christensen. On December 18, 2017, Dai and its associated smart contracts were officially launched on the main Ethereum network.

What is the price of DAI to ETH? ›

The DAI to ETH conversion rate today is 0.0005531 ETH and has increased by 0.03% in the last 24 hours.

How do I avoid ETH gas fees on Metamask? ›

On Metamask, you can set your gas fee to “Low” before confirming a transaction. If you want to save even more gas, click on Advanced Options. In this tab, you can set the max fee to slightly above the 7 day lowest historical gas price from Etherscan chart.

What are the lowest times for ETH gas fees? ›

Because fewer people work on weekends,historically,gas fees are lower on Saturdays and Sundays. You will save money on Ethereum gas fees if you try to avoid their work hours.

Will Ethereum 2.0 reduce gas fees? ›

Will Ethereum 2.0 Reduce the Gas Fee? In theory, Ethereum 2.0's switch from proof of work to proof-of-stake blockchain governance should enhance the network's security and scalability. As a result, it should reduce the gas fee required with every transaction on Ethereum.

How much is $100 on DAI? ›

US Dollar to Dai
$ US DollarDai
100.00100.05
250.00250.11
500.00500.23
1,000.001,000.45
4 more rows

How does DAI stay at $1? ›

Dai is the first decentralized, collateral-backed stable cryptocurrency. DAI is an ERC-20 token that attempts to maintain a stable 1:1 value with the U.S. dollar by locking other crypto assets in smart contracts.

How do I cash out my DAI? ›

How to sell DAI on Kraken
  1. Sign up for a Kraken account. You just need an email address, username and a strong password.
  2. Verify your Kraken account. All you need is your name, birth date, country of residence and phone number.
  3. Send DAI to your Kraken Address. ...
  4. Sell DAI.

Can I avoid Ethereum fees? ›

Wait for off-peak hours:Ethereum gas fees can vary depending on the level of network congestion.To reduce fees,try to initiate transactions during off-peak hours when network traffic is lower. Choose a lower gas price:Gas prices on Ethereum can be high during times of high network congestion.

How much is 100000 DAI in USD? ›

Selling 100000 Dai you get 100050 US Dollar at 10. April 2023 01:00 AM (GMT).

Will DAI always be $1? ›

DAI reflects Ethereum market forces in ways that USD never could. This is because DAI is its own currency. While it's anchored to $1, it is not $1. It is not redeemable for $1, it's redeemable for $1 worth of ETH.

Is staking DAI worth it? ›

Verdict. Staking Dai is an excellent way to increase token holdings and is accessible for most cryptocurrency investors. Depositing tokens through an exchange is likely the easiest way to earn interest, followed closely by locking DAI within a MakerDAO Dai Savings Rate contract.

Is DAI the safest stable coin? ›

We've Got You. Tether is the most popular stablecoin, but it's risky. USDC and Dai are widely considered to be some of the safest stablecoins. Here's why.

Is DAI backed by anything? ›

Most stablecoins are backed by fiat currency. DAI, on the other hand, is backed by multiple cryptocurrency holdings (ETH, BAT, WBTC, for example) based on the assets of MKR stakeholders.

Why do people buy DAI? ›

One of the main uses for DAI is as a stable hedge or counterweight against the volatility of more popular crypto-assets such as Ethereum or Bitcoin. The stable value of DAI means it is good for investors or traders who believe the market is about to go down.

Is DAI safer than tether? ›

Is DAI safer than USDT? Both DAI and USDT are reputed. DAI works in a decentralised manner while Tether is backed by a single entity. At the same time, Tether is backed by stable fiat where as DAI is backed by crypto tokens.

Which country made DAI currency? ›

History of Dai

MakerDAO launched Dai stablecoin in December 2017. MakerDAO was created in 2015 by Rune Christensen. Rune Christensen is an entrepreneur from Sealand, Denmark.

Can you profit from DAI? ›

Crypto owners keep their crypto funds like DAI in a wallet, thus staking the funds for a selected period of time. In return, they are rewarded with interest on top of their holdings. A lot of people buy DAI just to hold it for potential future profit.

Is DAI taxed? ›

Capital Gains Tax: Selling, swapping, or spending Dai is a disposal of an asset and any gain may be subject to Capital Gains Tax. Income Tax: Earning DAI - for example through Dai staking rewards - may be viewed as additional income and subject to Income Tax upon receipt.

How do people make money with DAI? ›

When the price goes back up, Dai crypto holders make profits, and demand increases. As demand increases, the supply decreases since users borrow Dai through Collateralized Debt Position (CDPs) and buy from the market. Thus, they cause the Dai price to go back up to its target price.

Can DAI freeze assets? ›

DAI is different from other stablecoins because it is not backed by fiat currencies or issued by a centralized company, nor can anyone's DAI holdings be frozen.

Is DAI really decentralized? ›

DAI is a cryptocurrency categorized as a stablecoin. It aims to keep its value consistent with the U.S. dollar at a 1:1 ratio. It has its own decentralized governing organization, MakerDAO, to regulate its value.

What assets is DAI backed by? ›

DAI is a multi-collateral asset where different assets such as ETH, BAT, USDC, wBTC, COMP, Tether, and AAVE can be provided in exchange for DAI; Most other stablecoins tend to be fiat-backed, DAI is backed by cryptocurrencies; Holding DAI provides the utility of hedging against volatility.

How do I cancel my MetaMask gas fee? ›

In advanced settings, turn on Customize transaction nonce and Advanced gas controls. The latter will allow you to manipulate the gas you pay and make sure your cancellation transaction is processed before the original you want to cancel.

How do I get my gas fee back on MetaMask? ›

Gas paid is not a fee that MetaMask receives so we cannot refund it. This fee is paid to validators for finalizing transactions, validating them into blocks, and securing the blockchain.

How much is MetaMask gas fee? ›

It's completely free, available in multiple languages, and includes useful tools such as simulations to help you find your feet with MetaMask. Gas is the unit of measure for how much computational work is required to process transactions and smart contracts.

Do Ethereum gas fees go down at night? ›

The highest transaction fees on Ethereum are between 2 and 6 pm UTC. If you want to pay the lowest Ethereum fees, you should perform transactions early in the morning, between 1 and 3 am UTC, or late at night, between 9 and 11 pm UTC.

What time of day is ETH highest? ›

Looking to save money on your Ethereum transactions? Well, you're in luck. We studied Ethereum gas charts and found the best times to transact. The busiest times and the most expensive times are on weekdays from 8 AM to 1 PM (EST).

What time is gas the cheapest? ›

“Though there is variation in daily gas prices across different states, the consensus is that filling up at the beginning or end of the work week, on Monday or Friday, is the best way to save money, says Patrick De Haan, head of petroleum analysis at GasBuddy.

Do gas fees burn Ethereum? ›

Gas fees are the fees users pay on Ethereum to conduct transactions such as swapping or executing smart contracts. Users can only pay this fee in ether (ETH). The network nodes earn a fraction of this fee for spending computing power to validate and confirm the transactions, and the remainder of the fee is burned.

Will ETH 2.0 have fees? ›

Ethereum 2.0's transaction fees, they are determined largely by the market — if there are more transactions made than can fit onto a new block being added to the blockchain, users will bid up the price of transaction fees in order to get transaction finalized as soon as possible by getting their transactions written ...

Will ETH 2.0 reduce supply? ›

And even though there's no supply cap on the cryptocurrency, don't expect that number to get too much bigger. According to simulations from Ethereum tracker Ultrasound Money, after the transition to proof of stake, the supply of ETH is set to decline 2% annually.

How much is the transaction fee on DAI? ›

Dai Exchange Fees
Dep. Deposit feesTrade
Bitfinex-0.1% / 0.2%
Bitstamp-0.5%
Coinbase-0.5%
FTX-0.02% / 0.07%
8 more rows

What coins have zero gas fees? ›

Top 10 Cryptocurrencies Under $1 with Zero Transaction Fees for...
  • IOTA. IOTA does not charge any crypto transaction fees at all. ...
  • Stellar. Stellar is a multi-currency backend payment network that runs on tokens like Lumens (XLM). ...
  • XRP. ...
  • Cardano. ...
  • Decentraland. ...
  • Nano. ...
  • Tron. ...
  • EOS.
Dec 27, 2022

What are the fees to buy DAI? ›

Right now, it costs about $1.00 to buy of 1 Dai.

What is the drawback of DAI? ›

Disadvantages
AdvantagesDisadvantages
• Transparent, secure, and transferable within the Ethereum ecosystem.• Lacks liquidity (fewer trading pairs).
• Offers more privacy, as no KYC identification required.• Users are limited in the currencies they can use as collateral.
1 more row
Mar 29, 2022

Which blockchain is best without gas fees? ›

Zero Gas Fees.

SKALE is the only blockchain network capable of running an unlimited number of fast, on-demand, pooled-security Blockchains with zero gas fees to end users. SKALE enables developers to deploy their own interoperable EVM blockchain in minutes without sacrificing security or decentralization.

How do I transfer crypto without fees? ›

Right now, going into 2023, Binance, Binance.US, Bybit, BitMEX, and Robinhood all offer free Bitcoin trading. Meanwhile, Robinhood has commission-free trading on all cryptos! You can also trade crypto stocks like GBTC and ETHE with no fees with stock brokers like Fidelity.

Which blockchain has the cheapest gas fee? ›

Bitgert chain gas fee is $0.0000000000001. It is the cheapest gas fee in the cryptocurrency industry, which is a zero. The gasless blockchain is the reason why Bitgert has been skyrocketing non-stop for a whole week. Bitgert chain is also the fastest chain at 100k APY, which is faster than Solana.

How much is 5 USD in DAI? ›

USD to DAI
AmountToday at 6:30 am
5 USD5.00 DAI
10 USD10.00 DAI
50 USD50.00 DAI
100 USD100.01 DAI
4 more rows

Top Articles
Latest Posts
Article information

Author: Dr. Pierre Goyette

Last Updated:

Views: 6630

Rating: 5 / 5 (70 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Dr. Pierre Goyette

Birthday: 1998-01-29

Address: Apt. 611 3357 Yong Plain, West Audra, IL 70053

Phone: +5819954278378

Job: Construction Director

Hobby: Embroidery, Creative writing, Shopping, Driving, Stand-up comedy, Coffee roasting, Scrapbooking

Introduction: My name is Dr. Pierre Goyette, I am a enchanting, powerful, jolly, rich, graceful, colorful, zany person who loves writing and wants to share my knowledge and understanding with you.