wif: 0xc1,
};
+bitcoinjs.bitcoin.networks.twins = {
+ messagePrefix: 'unused',
+ bip32: {
+ public: 0x022d2533,
+ private: 0x0221312b
+ },
+ pubKeyHash: 0x49,
+ scriptHash: 0x53,
+ wif: 0x42
+};
+
+bitcoinjs.bitcoin.networks.twinstestnet = {
+ messagePrefix: 'unused',
+ bip32: {
+ public: 0x3a8061a0,
+ private: 0x3a805837
+ },
+ pubKeyHash: 0x4c,
+ scriptHash: 0x89,
+ wif: 0xED
+};
+
bitcoinjs.bitcoin.networks.ultimatesecurecash = {
messagePrefix: '\x18UltimateSecureCash Signed Message:\n',
bip32: {
pubkey = eosUtil.bufferToPublic(keyPair.getPublicKeyBuffer());
privkey = eosUtil.bufferToPrivate(keyPair.d.toBuffer(32));
}
-
+
addAddressToList(indexText, address, pubkey, privkey);
if (isLast) {
hidePending();
setHdCoin(159);
},
},
+ {
+ name: "TWINS - TWINS",
+ onSelect: function() {
+ network = bitcoinjs.bitcoin.networks.twins;
+ setHdCoin(970);
+ },
+ },
+ {
+ name: "TWINS - TWINS Testnet",
+ onSelect: function() {
+ network = bitcoinjs.bitcoin.networks.twinstestnet;
+ setHdCoin(1);
+ },
+ },
{
name: "USC - Ultimatesecurecash",
onSelect: function() {
};
testNetwork(done, params);
});
+it('Allows selection of TWINS', function(done) {
+ var params = {
+ selectText: "TWINS - TWINS",
+ firstAddress: "WPpJnfLLubNmF7HLNxg8d8zH5haxn4wri8",
+ };
+ testNetwork(done, params);
+});
+it('Allows selection of TWINS testnet', function(done) {
+ var params = {
+ selectText: "TWINS - TWINS Testnet",
+ firstAddress: "XpnU1HHdNG5YxvG9Rez4wjmidchxqnZaNa",
+ };
+ testNetwork(done, params);
+});
it('Allows selection of Ultimatesecurecash', function(done) {
var params = {
selectText: "USC - Ultimatesecurecash",