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

Add AXE #1189

Closed
wants to merge 4 commits into from
Closed

Add AXE #1189

wants to merge 4 commits into from

Conversation

charlesrocket
Copy link

Ticker symbol: AXE
Official token name: Axe
Official block explorer URL: http://207.246.65.114:3001
Is it an Altcoin or a token: Altcoin
Official project URL: https://github.com/AXErunners/axe/wiki

@@ -88,8 +88,8 @@ public static void setBaseCurrencyCode(String baseCurrencyCode) {
final List<CryptoCurrency> result = new ArrayList<>();

if (DevEnv.DAO_TRADING_ACTIVATED)
result.add(new CryptoCurrency("BSQ", "Bisq Token"));

result.add(new CryptoCurrency("AXE", "Axe"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look right... please revert that change.
Instead, AXE should be added a few lines down, just above this:

result.add(new CryptoCurrency("BCH", "Bitcoin Cash"));

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it

@Test
public void testAXE() {
AltCoinAddressValidator validator = new AltCoinAddressValidator();
validator.setCurrencyCode("ONION");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong currency code.

assertTrue(validator.validate("XYdqovfSUQvDEfmCzUCgc1FXtgxQsfCRWZ").isValid);
assertTrue(validator.validate("XZCz1HjLBQ7xAW94R4yhiQB6r6RsAuzRKx").isValid);

assertFalse(validator.validate("XQZAWrECjc8jBN87TbqDvoDmcvWiftsmpqq").isValid);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indent correctly.

@jonathancross
Copy link
Contributor

Does not seem that this PR was tested. :(

@ManfredKarrer
Copy link
Member

ManfredKarrer commented Jan 20, 2018

Thanks @jonathancross for the review. That PR came with so sloppy issues that I am not willing to spend time on testing and merging. I also don't see the address validation code. Hire a pro Java dev and avoid wasting our time please.

@charlesrocket
Copy link
Author

charlesrocket commented Jan 21, 2018

@ManfredKarrer wow theres a lot of aggression here) having troubles building for tests on osx 10.13 and some documentation is missing as well (https://github.com/bisq-network/exchange/wiki/How-to-prepare-your-Bisq-source-code-for-regtest-mode) we would be grateful if you could keep this PR open to avoid duplicates while we working on resolution. thank you so much

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.

None yet

3 participants