border-bottom: 1px dashed #000;
text-decoration: none;
}
+ .version {
+ position: absolute;
+ top: 5px;
+ right: 5px;
+ }
</style>
</head>
<body>
<div class="container">
<h1 class="text-center">Mnemonic Code Converter</h1>
+ <p class="version">v0.1.0</p>
<hr>
<div class="row">
<div class="col-md-12">
wif: 0xcc,
};
+bitcoin.networks.dashtn = {
+ bip32: {
+ public: 0x043587cf,
+ private: 0x04358394
+ },
+ pubKeyHash: 0x8c,
+ scriptHash: 0x13,
+ wif: 0xef,
+};
+
bitcoin.networks.game = {
bip32: {
public: 0x0488b21e,
wif: 0xb7,
};
+bitcoin.networks.slimcoin = {
+ bip32: {
+ public: 0xef6adf10,
+ private: 0xef69ea80
+ },
+ pubKeyHash: 0x3f,
+ scriptHash: 0x7d,
+ wif: 0x46,
+};
+
+bitcoin.networks.slimcointn = {
+ bip32: {
+ public: 0x043587CF,
+ private: 0x04358394
+ },
+ pubKeyHash: 0x6f,
+ scriptHash: 0xc4,
+ wif: 0x57,
+};
+
</script>
<script>(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ethUtil = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function (global){
}
function convertRipplePriv(priv) {
- return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2)
+ return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66)
}
</script>
var hexAddress = addressBuffer.toString('hex');
var checksumAddress = ethUtil.toChecksumAddress(hexAddress);
address = ethUtil.addHexPrefix(checksumAddress);
+ privkey = ethUtil.addHexPrefix(privkey);
+ pubkey = ethUtil.addHexPrefix(pubkey);
}
// Ripple values are different
if (networks[DOM.network.val()].name == "Ripple") {
DOM.bip44coin.val(5);
},
},
+ {
+ name: "DASH Testnet",
+ onSelect: function() {
+ network = bitcoin.networks.dashtn;
+ DOM.bip44coin.val(1);
+ },
+ },
{
name: "Ethereum",
onSelect: function() {
DOM.bip44coin.val(1);
},
},
+ {
+ name: "Slimcoin",
+ onSelect: function() {
+ network = bitcoin.networks.slimcoin;
+ DOM.bip44coin.val(63);
+ },
+ },
+ {
+ name: "Slimcoin Testnet",
+ onSelect: function() {
+ network = bitcoin.networks.slimcointn;
+ DOM.bip44coin.val(111);
+ },
+ },
{
name: "Viacoin",
onSelect: function() {