Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

phffmn
Copy link

@phffmn phffmn commented Nov 6, 2020

No description provided.

}

// all CRYPTO_FIAT combinations are supported
private static final ImmutableSet<String> FIAT_CURRENCIES = ImmutableSet.of(CryptoCurrency.USDT.getCode());
Copy link
Contributor

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
}

/*
Copy link
Contributor

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;
Copy link
Contributor

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);
Copy link
Contributor

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" >
Copy link
Contributor

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)) {
Copy link
Contributor

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">
Copy link
Contributor

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" >
Copy link
Contributor

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"/>
Copy link
Contributor

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.

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

Successfully merging this pull request may close these issues.

2 participants