Files
gocryptotrader/docs/MULTICHAIN_TRANSFER_SUPPORT.md
Adrian Gallagher 0c00b7e1df exchanges/engine: Add multichain deposit/withdrawal support (#794)
* Add exchange multichain support

* Start tidying up

* Add multichain transfer support for Bitfinex and fix poloniex bug

* Add Coinbene multichain support

* Start adjusting the deposit address manager

* Fix deposit tests and further enhancements

* Cleanup

* Add bypass flag, expand tests plus error coverage for Huobi

Adjust helpers

* Address nitterinos

* BFX wd changes

* Address nitterinos

* Minor fixes rebasing on master

* Fix BFX acceptableMethods test

* Add some TO-DOs for 2 tests WRT races

* Fix acceptableMethods test round 2

* Address nitterinos
2021-10-15 15:55:38 +11:00

2.2 KiB

Multichain transfer support

Several exchanges support deposits and withdrawals by other blockchain networks. An example would be Tether (USDT) which supports the ERC20 (Ethereum), TRC20 (Tron) and Omni (BTC) networks.

GoCryptoTrader contains a GetAvailableTransferChains exchange method for supported exchanges which returns a list of the supported transfer chains specified by a cryptocurrency.

A simple demonstration using gctcli is as follows:

Obtaining a list of supported transfer chains

$ ./gctcli getavailabletransferchains --exchange=ftx --cryptocurrency=usdt
{
 "chains": [
  "erc20",
  "trx",
  "sol",
  "omni"
 ]
}

Obtaining a deposit address based on a specific cryptocurrency and chain

$ ./gctcli getcryptocurrencydepositaddress --exchange=ftx --cryptocurrency=usdt --chain=sol
{
 "address": "GW3oT9JpFyTkCWPnt6Yw9ugppSQwDv4ZMG1vabC8WmHS"
}

Withdrawing

$ ./gctcli withdrawcryptofunds --exchange=ftx --currency=USDT --address=TJU9piX2WA8WTvxVKMqpvTzZGhvXQAZKSY --amount=10 --chain=trx
{
 "id": "01234567-0000-0000-0000-000000000000",
}

Exchange multichain transfer support table

Exchange Deposits Withdrawals Notes
Alphapoint No No
Binance Yes Yes
Bitfinex Yes Yes Only supports USDT
Bitflyer No No
Bithumb No No
BitMEX No No Supports BTC only
Bitstamp No No
Bittrex No No NA
BTCMarkets No No NA
BTSE No No Only through website
CoinbasePro No No No
Coinbene Yes Yes Addresses must be created via their website first
COINUT No No NA
Exmo Yes Yes Addresses must be created via their website first
FTX Yes Yes
GateIO Yes Yes
Gemini No No
HitBTC No No
Huobi.Pro Yes Yes
ItBit No No
Kraken Yes Yes Front-end and API don't match total available transfer chains
Lbank No No
LocalBitcoins No No Supports BTC only
OKCoin International No No Requires API update to version 5
OKEX No No Same as above
Poloniex Yes Yes
Yobit No No
ZB.COM Yes No Addresses must be created via their website first