mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-02 15:10:46 +00:00
* init * updates config * wrapper configuration * updates exchange readme * adds SendAuthHTTPRequest and SendHTTPRequest * adds ratelimit file * adds test case and minor fixes * improve error handling * update testcases and improve GetSymbols API * adds SPOT API's * minor fix * WIP * WIP * adds test case * adds check in test case * fixes in Auth. HTTP * improvements * adds trade, kline support and testcases * adds SPOT API and testcases for same * adds SPOT API and testcases * adds SPOT API and testcase * WIP * adds API's * adds API's * adds test cases * adds comment to exported data types * adds API and test cases * adds API * adds API * rearrange functions * WIP: adds API * adds API for Post Order SPOT * adds API and few fixes * fixes * WIP * WIP * add PostBulkOrder API and its test case * fix issues * adds cancel order APIs and test cases for same * add minor test fixes * add API * adds API * fixes * add API * adds API and test cases * fix test * adds API * adds test * fix test * adds API and test * adds deposit API and test cases * WIP * adds API and test cases * WIP * WIP * add public future API and test cases * WIP * remove v2 API and replace them with v1 * update test cases * adds future order API and test cases * adds futures order API * adds API * add API and test cases * adds API and test cases * adds API and test cases * adds API and test cases * Adding wrapper functions * Fix on wrapper function * Adding websocket support * Complete addressing WS push datas * Adding spot push data unit tests * adding futures websocket push data handlers * Adding futures websocket push data handlers * Added unit tests * Updating unit tests * Updating wrapper and unit test functions * Adding missing wrapper functions and code cleaning up * Resolved linter issues * Fixing websocket issues * Fixing websocket issues * Slight fix on config_example file * Minor update * Basic nits updates * Fix minor linter issues * Minor update * Minor unit test update * Minor unit test update * Code update and linter issues fix * Removed unnecessary type conversion codes * Monor update based on review comment * Fix based on review comments * Adding rate-limiter * Websocket update and overall minor fixes * Removed IsAssetTypeEnabled method implementation * Fix connection and formatting issues * Updating orderbook issues * Very minor label fix * Minor error returning fix * code cleaning up and minor spelling fix * Updates on unit test * Update on unit tests and slight code structure * unit test update * orderbook update and minor fix * fix on race * Mini linter fix * fix minor parameter and unit test issues * handler funcs and models update * Fixing websocket and unit test issues * order side string for active orders * Fix on websocket and unit tests * Minor type changes * Minor Orderbook fix and unit test update * Small fix on orderbook * Updating orderbook functionality * FIx on websocket orderbook handlers * Small update on kucoin websocket * fix missed review comments * fix based on review comments * Updating websocket orderbook and fixing unit tests * Minor fixes * unit test update * Updating unit test according to enabled asset type * toggle canManipulateRealOrders const * Unit test update * Fix minor issues * minor fix * documentation fix * wrapper coverage and unused params fix * testing and minor changes * documentation, websocket and unit test update * minor linter fix * Websocket spot/margin subscription update * minor ticker update fix * minor fixes on endpoints * timestamp and number convert method and unit tests * timestamp convert minor update * minor type and conversion fix * create a common timestamp convert and fix minor issues * linter and ticker fix * Updating unit tests and order placing endpoint methods * Added a pairs check * Fix config test error * rm unused error variable * Fix source of linter issue * code update: convert, wrapper and websocket fix * minor code update * Websocket code and unit tests update * Websocket ticker ask/bid type change and small error msg fix * docs update * fix: websocket orderbook handling * change orderbook channel to marketOrderbookLevel2Channels and fix websocket orderbook update * Minor func rename and reciever change * Minor orderbook unit test issue fix * comment: about why we used a random delimiter '-' for futures * update config files and FetchTradablePair func for futures pairs * futures config pairs update * remove ConnextionMonitorDelay from websocket setup * fix on types and futures pair conversion * updating config pairs * change NewPairFromString to DeriveFrom * unit tests update * unit tests update * Added TickerBatching * added GetStandardConfig to GetDefaultConfig --------- Co-authored-by: Jaydeep Rajpurohit <jaydeeppurohit1996@gmail.com>
73 lines
2.1 KiB
Markdown
73 lines
2.1 KiB
Markdown
# 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
|
|
|
|
```sh
|
|
$ ./gctcli getavailabletransferchains --exchange=binance --cryptocurrency=usdt
|
|
{
|
|
"chains": [
|
|
"erc20",
|
|
"trx",
|
|
"sol",
|
|
"omni"
|
|
]
|
|
}
|
|
```
|
|
|
|
## Obtaining a deposit address based on a specific cryptocurrency and chain
|
|
|
|
```sh
|
|
$ ./gctcli getcryptocurrencydepositaddress --exchange=binance --cryptocurrency=usdt --chain=sol
|
|
{
|
|
"address": "GW3oT9JpFyTkCWPnt6Yw9ugppSQwDv4ZMG1vabC8WmHS"
|
|
}
|
|
```
|
|
|
|
## Withdrawing
|
|
|
|
```sh
|
|
$ ./gctcli withdrawcryptofunds --exchange=binance --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.US | Yes | Yes | |
|
|
| 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 |
|
|
| Bybit | Yes | Yes | |
|
|
| CoinbasePro | No | No | No|
|
|
| COINUT | No | No | NA |
|
|
| Exmo | Yes | Yes | Addresses must be created via their website first |
|
|
| 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 |
|
|
| Kucoin | Yes | Yes | |
|
|
| Lbank | No | No | |
|
|
| Okcoin | Yes | Yes | |
|
|
| Okx | Yes | Yes | |
|
|
| Poloniex | Yes | Yes | |
|
|
| Yobit | No | No | |
|
|
| ZB.COM | Yes | No | Addresses must be created via their website first |
|