mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 08:22:16 +00:00
Add CLAM.
This commit is contained in:
@@ -13101,6 +13101,15 @@ bitcoin.networks.shadowtn = {
|
|||||||
feePerKb: 1000,
|
feePerKb: 1000,
|
||||||
estimateFee: function() { return "unused in this app" },
|
estimateFee: function() { return "unused in this app" },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoin.networks.clam = {
|
||||||
|
bip32: {
|
||||||
|
public: 0xa8c26d64,
|
||||||
|
private: 0xa8c17826
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x89,
|
||||||
|
wif: 0x85,
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
<script>// Select components from sjcl to suit the crypto operations bip39 requires.
|
<script>// Select components from sjcl to suit the crypto operations bip39 requires.
|
||||||
|
|
||||||
@@ -15041,6 +15050,13 @@ var Mnemonic = function(language) {
|
|||||||
DOM.bip44coin.val(26);
|
DOM.bip44coin.val(26);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "CLAM",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoin.networks.clam;
|
||||||
|
DOM.bip44coin.val(23);
|
||||||
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|||||||
@@ -25,3 +25,12 @@ bitcoin.networks.shadowtn = {
|
|||||||
feePerKb: 1000,
|
feePerKb: 1000,
|
||||||
estimateFee: function() { return "unused in this app" },
|
estimateFee: function() { return "unused in this app" },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoin.networks.clam = {
|
||||||
|
bip32: {
|
||||||
|
public: 0xa8c26d64,
|
||||||
|
private: 0xa8c17826
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x89,
|
||||||
|
wif: 0x85,
|
||||||
|
};
|
||||||
|
|||||||
@@ -459,6 +459,13 @@
|
|||||||
DOM.bip44coin.val(26);
|
DOM.bip44coin.val(26);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "CLAM",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoin.networks.clam;
|
||||||
|
DOM.bip44coin.val(23);
|
||||||
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|||||||
Reference in New Issue
Block a user