aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Coleman <coleman.ian@gmail.com>2017-06-14 12:31:12 +1000
committerIan Coleman <coleman.ian@gmail.com>2017-06-14 12:31:12 +1000
commit920eb591a467dba98bef44adabb6cd6b257f43e2 (patch)
treebe5bd8e36066b76a2646f5be29338e7db86a83dd
parentd0239db48c485dc912bb41ef33c2f5b4fdf32b5e (diff)
downloadBIP39-920eb591a467dba98bef44adabb6cd6b257f43e2.tar.gz
BIP39-920eb591a467dba98bef44adabb6cd6b257f43e2.tar.zst
BIP39-920eb591a467dba98bef44adabb6cd6b257f43e2.zip
Compile standalone v0.1.0
-rw-r--r--bip39-standalone.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html
index 09634b8..bcf020c 100644
--- a/bip39-standalone.html
+++ b/bip39-standalone.html
@@ -107,12 +107,18 @@
107 border-bottom: 1px dashed #000; 107 border-bottom: 1px dashed #000;
108 text-decoration: none; 108 text-decoration: none;
109 } 109 }
110 .version {
111 position: absolute;
112 top: 5px;
113 right: 5px;
114 }
110 </style> 115 </style>
111 </head> 116 </head>
112 <body> 117 <body>
113 <div class="container"> 118 <div class="container">
114 119
115 <h1 class="text-center">Mnemonic Code Converter</h1> 120 <h1 class="text-center">Mnemonic Code Converter</h1>
121 <p class="version">v0.1.0</p>
116 <hr> 122 <hr>
117 <div class="row"> 123 <div class="row">
118 <div class="col-md-12"> 124 <div class="col-md-12">
@@ -38726,7 +38732,7 @@ module.exports = function stripHexPrefix(str) {
38726 } 38732 }
38727 38733
38728function convertRipplePriv(priv) { 38734function convertRipplePriv(priv) {
38729 return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2) 38735 return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66)
38730} 38736}
38731 38737
38732</script> 38738</script>
@@ -44310,6 +44316,8 @@ window.Entropy = new (function() {
44310 var hexAddress = addressBuffer.toString('hex'); 44316 var hexAddress = addressBuffer.toString('hex');
44311 var checksumAddress = ethUtil.toChecksumAddress(hexAddress); 44317 var checksumAddress = ethUtil.toChecksumAddress(hexAddress);
44312 address = ethUtil.addHexPrefix(checksumAddress); 44318 address = ethUtil.addHexPrefix(checksumAddress);
44319 privkey = ethUtil.addHexPrefix(privkey);
44320 pubkey = ethUtil.addHexPrefix(pubkey);
44313 } 44321 }
44314 // Ripple values are different 44322 // Ripple values are different
44315 if (networks[DOM.network.val()].name == "Ripple") { 44323 if (networks[DOM.network.val()].name == "Ripple") {