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
Add AXE #1189
Conversation
@@ -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")); |
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.
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"));
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.
got it
@Test | ||
public void testAXE() { | ||
AltCoinAddressValidator validator = new AltCoinAddressValidator(); | ||
validator.setCurrencyCode("ONION"); |
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.
Wrong currency code.
assertTrue(validator.validate("XYdqovfSUQvDEfmCzUCgc1FXtgxQsfCRWZ").isValid); | ||
assertTrue(validator.validate("XZCz1HjLBQ7xAW94R4yhiQB6r6RsAuzRKx").isValid); | ||
|
||
assertFalse(validator.validate("XQZAWrECjc8jBN87TbqDvoDmcvWiftsmpqq").isValid); |
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.
Please indent correctly.
Does not seem that this PR was tested. :( |
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. |
@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 |
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