Skip to content

Commit

Permalink
add Bitmark
Browse files Browse the repository at this point in the history
  • Loading branch information
akrmn committed Sep 9, 2018
1 parent 3d62605 commit 9513516
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions assets/src/main/java/bisq/asset/coins/Bitmark.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
* License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.asset.coins;

import bisq.asset.Coin;
import bisq.asset.DefaultAddressValidator;

public class Bitmark extends Coin {

public Bitmark() {
super("Bitmark", "BTM", new DefaultAddressValidator());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ bisq.asset.coins.Bitcoin$Regtest
bisq.asset.coins.Bitcoin$Testnet
bisq.asset.coins.Bitcore
bisq.asset.coins.BitDaric
bisq.asset.coins.Bitmark
bisq.asset.coins.BitZeny
bisq.asset.coins.BSQ$Mainnet
bisq.asset.coins.BSQ$Regtest
Expand Down
27 changes: 27 additions & 0 deletions assets/src/test/java/bisq/asset/coins/BitmarkTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
* License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.asset.coins;

import bisq.asset.AbstractAssetWithDefaultValidatorTest;

public class BitmarkTest extends AbstractAssetWithDefaultValidatorTest {

public BitmarkTest() {
super(new Bitmark());
}
}

0 comments on commit 9513516

Please sign in to comment.