Skip to content

Added Support for UCA coin and BKEX exchange#449

Open
phffmn wants to merge 8 commits into
GENERALBYTESCOM:masterfrom
phffmn:master
Open

Added Support for UCA coin and BKEX exchange#449
phffmn wants to merge 8 commits into
GENERALBYTESCOM:masterfrom
phffmn:master

Conversation

@phffmn
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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?

}
final String depositAddress = e.getDepositAddress(selectedCryptoCurrency);
System.out.println("Deposit Address: " + depositAddress);
System.out.println("Deposit Address: " + depositAddress);
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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