Skip to content
Permalink
Browse files

Added IXCoin

  • Loading branch information...
ahmedbodi authored and erasmospunk committed Mar 6, 2016
1 parent fdc350d commit 0be43f98f88041adf91ef8f3adfc703caa7d181b
@@ -63,6 +63,7 @@
EGULDEN_MAIN(EguldenMain.get()),
CLUBCOIN_MAIN(ClubcoinMain.get()),
RICHCOIN_MAIN(RichcoinMain.get()),
IXCOIN_MAIN(IxcoinMain.get()),
;

private static List<CoinType> types;
@@ -0,0 +1,33 @@
package com.coinomi.core.coins;

import com.coinomi.core.coins.families.BitFamily;

/**
* @author Ahmed Bodiwala
*/
public class IxcoinMain extends BitFamily {
private IxcoinMain() {
id = "ixcoin.main";

addressHeader = 138;
p2shHeader = 5;
acceptableAddressCodes = new int[] { addressHeader, p2shHeader };
spendableCoinbaseDepth = 120; // COINBASE_MATURITY_NEW

name = "IXCoin";
symbol = "IXC";
uriScheme = "ixcoin";
bip44Index = 86;
unitExponent = 8;
feeValue = value(10000);
minNonDust = value(1);
softDustLimit = value(1000000); // 0.01 IXC
softDustPolicy = SoftDustPolicy.BASE_FEE_FOR_EACH_SOFT_DUST_TXO;
signedMessageHeader = toBytes("Ixcoin Signed Message:\n");
}

private static IxcoinMain instance = new IxcoinMain();
public static synchronized IxcoinMain get() {
return instance;
}
}
@@ -46,6 +46,7 @@
import com.coinomi.core.coins.VertcoinMain;
import com.coinomi.core.coins.VpncoinMain;
import com.coinomi.core.coins.RichcoinMain;
import com.coinomi.core.coins.IxcoinMain;
import com.coinomi.core.network.CoinAddress;
import com.coinomi.stratumj.ServerAddress;
import com.google.common.collect.ImmutableList;
@@ -211,7 +212,9 @@
new CoinAddress(ClubcoinMain.get(), new ServerAddress("club-cce-1.coinomi.net", 5045),
new ServerAddress("club-cce-2.coinomi.net", 5045)),
new CoinAddress(RichcoinMain.get(), new ServerAddress("richx-cce-1.coinomi.net", 5046),
new ServerAddress("richx-cce-2.coinomi.net", 5046))
new ServerAddress("richx-cce-2.coinomi.net", 5046)),
new CoinAddress(IxcoinMain.get(), new ServerAddress("ixc-cce-1.coinomi.net", 5047),
new ServerAddress("ixc-cce-2.coinomi.net", 5047))
);

public static final HashMap<CoinType, Integer> COINS_ICONS;
@@ -260,6 +263,7 @@
COINS_ICONS.put(CoinID.EGULDEN_MAIN.getCoinType(), R.drawable.egulden);
COINS_ICONS.put(CoinID.CLUBCOIN_MAIN.getCoinType(), R.drawable.clubcoin);
COINS_ICONS.put(CoinID.RICHCOIN_MAIN.getCoinType(), R.drawable.richcoin);
COINS_ICONS.put(CoinID.IXCOIN_MAIN.getCoinType(), R.drawable.ixcoin);

COINS_BLOCK_EXPLORERS = new HashMap<CoinType, String>();
COINS_BLOCK_EXPLORERS.put(CoinID.BITCOIN_MAIN.getCoinType(), "https://blockchain.info/tx/%s");
@@ -301,6 +305,7 @@
COINS_BLOCK_EXPLORERS.put(CoinID.ASIACOIN_MAIN.getCoinType(), "https://chainz.cryptoid.info/ac/tx.dws?%s.htm");
COINS_BLOCK_EXPLORERS.put(CoinID.EGULDEN_MAIN.getCoinType(), "https://chainz.cryptoid.info/efl/tx.dws?%s");
COINS_BLOCK_EXPLORERS.put(CoinID.RICHCOIN_MAIN.getCoinType(), "https://explorer.richcoin.us/transaction?transaction=%s");
COINS_BLOCK_EXPLORERS.put(CoinID.IXCOIN_MAIN.getCoinType(), "https://chainz.cryptoid.info/ixc/tx.dws?%s");
}

public static final CoinType DEFAULT_COIN = BitcoinMain.get();
@@ -330,6 +335,7 @@
FeathercoinMain.get(),
GcrMain.get(),
GuldenMain.get(),
IxcoinMain.get(),
JumbucksMain.get(),
LitecoinMain.get(),
MonacoinMain.get(),
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0be43f9

Please sign in to comment.
You can’t perform that action at this time.