Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Transferring Coins out from Wallet and Depositing to IDEX #22

Open
RZeynalov opened this issue Jun 5, 2018 · 2 comments
Open

Transferring Coins out from Wallet and Depositing to IDEX #22

RZeynalov opened this issue Jun 5, 2018 · 2 comments

Comments

@RZeynalov
Copy link

RZeynalov commented Jun 5, 2018

Hi All,

Anybody knows how make transferring coins via API? does such-like function exist ?
And how to deposit coins from the Wallet to IDEX?

Pls kindly help)

@raypulver
Copy link
Contributor

Transferring tokens and depositing to IDEX has to be done with the Ethereum API by signing and dispatching a transaction from the wallet which owns the tokens. The IDEX platform reads deposits directly from the blockchain. For transfers, make sure your tokens have been withdrawn from IDEX, then send a transaction directly to the token contract which calls transfer(address,uint256)
For deposits check out the documentation for deposit() and depositToken(address,uint256) -- depositToken requires you to call approve(address,uint256) on the token contract itself to approve IDEX to receive your tokens (i.e. depositing tokens requires 2 transactions)

@RZeynalov
Copy link
Author

Thx raypulver,

Is it possible to make deposits using web3 py library, if yes, can you pls send small example. I can successfully transfer coins to another wallets via web3 py but experiencing problems to deposit coins.

https://etherscan.io/tx/0x9102bb18baab71d337f9c5be3a7a84f62d97903871b0fdf7510d74ac66d68bd8

Thank you all in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants