• Open Talk
  • DAI deposit amount is always zero (0) in metamask

Hi everyone,
I'm new to Alchemix and I wanted to started the process by depositing some DAI of mine into the vault...
I enter an amount of let's say, 2000 DAI, and I click on "Deposit".

Metamask opens but the amount is 0 🤷‍♂️

Do you know what's wrong with this deposit operation?

I was thinking maybe simply copy/paste the contract address and send DAI to it myself... but not sure if that would work.

Any help is very welcome.

Thanks!

Do you see gas costs? Because you are sending DAI and not ETH, Metamask shows that you are sending 0 eth, even if you are sending another token. That might be it. Post a screenshot if you want.

@matthieuscarset do not send DAI directly to the contract. the amount in the metamask window will be 0 because you are not sending ETH to the contract. the amount of DAI you are depositing is baked into the transaction data, which is handled by the UI.

4 months later

Hi - I have the same issue. But I would not like to swap my Dai to Eth. Is there a way to make this work ?

  • n4n0 replied to this.

    pbs07 You are interacting with a function in the smart contract, you're not directly sending DAI. The DAI that will be transferred to the contract is part of the transaction data, it does not reflect in Metamask's "total" amount.

    Write a Reply...