-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Support for UCA coin and BKEX exchange #449
base: master
Are you sure you want to change the base?
Conversation
} | ||
|
||
// all CRYPTO_FIAT combinations are supported | ||
private static final ImmutableSet<String> FIAT_CURRENCIES = ImmutableSet.of(CryptoCurrency.USDT.getCode()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
USDT cannot be fiat currency. Use USD in this set and later when calling exchange remap it to USDT.
// TODO: handle exception | ||
} | ||
|
||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unused code.
|
||
@Override | ||
public String sendCoins(String destinationAddress, BigDecimal amount, String cryptoCurrency, String description) { | ||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that exchange doesn't support withdrawals?
@@ -501,7 +501,7 @@ private void getExchangeBalance(String name, String params) { | |||
System.err.println("Exchange returned NULL."); | |||
} | |||
final String depositAddress = e.getDepositAddress(selectedCryptoCurrency); | |||
System.out.println("Deposit Address: " + depositAddress); | |||
System.out.println("Deposit Address: " + depositAddress); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix Ident
<param name="walletAddress" /> | ||
<cryptocurrency>UCA</cryptocurrency> | ||
</wallet> | ||
<ratesource prefix="digifinexRateSource" name ="Digifinex Rate Source" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
digifinexRateSource implementation is missing
StringTokenizer st = new StringTokenizer(sourceLogin,":"); | ||
String exchangeType = st.nextToken(); | ||
|
||
if ("bkexRateSource".equalsIgnoreCase(exchangeType)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make "bkexRateSource" lowercase = "bkexratesource"
don't forget to fix also xml.
<param name="fiatCurrency" /> | ||
<cryptocurrency>UCA</cryptocurrency> | ||
</ratesource> | ||
<exchange prefix="digifinex" name="DigiFinex"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
digifinex implementation is missing.
<param name="fiatCurrency" /> | ||
<cryptocurrency>UCA</cryptocurrency> | ||
</ratesource> | ||
<ratesource prefix="bkexRateSource" name ="Bkex Rate Source" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix lowecase
<param name="fiatcurrency"/> | ||
<cryptocurrency>UCA</cryptocurrency> | ||
</exchange> | ||
<cryptologo cryptocurrency="UCA" file="xpm.png"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xpm.png and svg is missing.
No description provided.