1

This question is not Just specific to bittrex, but i wanna know it in general that can any exchange ask its user to deposit tokens to a smart contract? I have been using ETH since a long time, i have also happened to deposit Tokens to big exchanges but never got a address which is a contract address to get my funds deposit.

Is it possible?

1
  • I send INS token to ETH address on Bittrex Exchange. Is there any way to move those token to other wallet? Please help.
    – Paul
    Jan 18, 2018 at 18:45

2 Answers 2

1

It's completely possible. If the exchange creates a separate contract for ERC-20s for each user, they can know when that user deposits an ERC-20. They'd likely then send all the tokens to a central wallet, and keep most of it in cold storage of course.

The sad thing about the ERC-20 standard is that there's no way to trigger code on deposit of an ERC-20, e.g. yes I can send ERC-20 to the contract that the exchange created for me, but that contract can't automatically forward the tokens to another contract in the same transaction. Of course the exchange can just detect when it receives tokens and create another transaction to move the tokens. This is the main purpose of the ERC-223 standard that is in the works, allowing a tokenFallback function to execute if the receiving function is a contract and implements tokenFallback.

1
  • "Of course the exchange can just detect when it receives tokens and create another transaction to move the tokens" how to achieve same thing in this kind of smart contract? Mar 10, 2018 at 5:42
0

Yes, it's possible and that is what Bittrex does as they say in this tweet: https://twitter.com/bittrexexchange/status/902741012140802049?lang=en

So if you are depositing to Bittrex, be sure to send extra gas.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.