Merge pull request #393 from ethercore/master

Add EtherCore
This commit is contained in:
iancoleman
2020-02-06 14:58:06 +11:00
committed by GitHub
2 changed files with 16 additions and 0 deletions

View File

@@ -1838,6 +1838,7 @@
|| (name == "ELLA - Ellaism")
|| (name == "ESN - Ethersocial Network")
|| (name == "VET - VeChain")
|| (name == "ERE - EtherCore")
}
function networkHasSegwit() {
@@ -2417,6 +2418,14 @@
setHdCoin(194);
},
},
{
name: "ERE - EtherCore",
segwitAvailable: false,
onSelect: function() {
network = libs.bitcoin.networks.bitcoin;
setHdCoin(466);
},
},
{
name: "ESN - Ethersocial Network",
segwitAvailable: false,

View File

@@ -1635,6 +1635,13 @@ it('Allows selection of Thought', function(done) {
};
testNetwork(done, params);
});
it('Allows selection of EtherCore', function(done) {
var params = {
selectText: "ERE - EtherCore",
firstAddress: "0xDeeAD0297F06dfe6c7Ad0C1D0CF5B06D6047bEEe",
};
testNetwork(done, params);
});
// BIP39 seed is set from phrase
it('Sets the bip39 seed from the prhase', function(done) {