Skip to content

Commit

Permalink
Release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Coleman committed Aug 7, 2017
1 parent c18511d commit b3cc393
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
32 changes: 31 additions & 1 deletion bip39-standalone.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<div class="container">

<h1 class="text-center">Mnemonic Code Converter</h1>
<p class="version">v0.2.0</p>
<p class="version">v0.2.1</p>
<hr>
<div class="row">
<div class="col-md-12">
Expand Down Expand Up @@ -22291,6 +22291,17 @@ <h3 data-translate>Libraries</h3>
scriptHash: 0x09,
wif: 0xe0,
}

bitcoinjs.bitcoin.networks.myriadcoin = {
messagePrefix: "unused",
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x32,
scriptHash: 0x00, // TODO set this correctly
wif: 0xb2,
};
</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){
Expand Down Expand Up @@ -46871,6 +46882,9 @@ <h3 data-translate>Libraries</h3>
var option = $("<option>");
option.attr("value", i);
option.text(network.name);
if (network.name == "BTC - Bitcoin") {
option.prop("selected", true);
}
DOM.phraseNetwork.append(option);
}
}
Expand Down Expand Up @@ -47216,6 +47230,14 @@ <h3 data-translate>Libraries</h3>
}

var networks = [
{
name: "BCH - Bitcoin Cash",
bip49available: false,
onSelect: function() {
network = bitcoinjs.bitcoin.networks.bitcoin;
setHdCoin(145);
},
},
{
name: "BTC - Bitcoin",
bip49available: true,
Expand Down Expand Up @@ -47368,6 +47390,14 @@ <h3 data-translate>Libraries</h3>
setHdCoin(1);
},
},
{
name: "XMY - Myriadcoin",
bip49available: false,
onSelect: function() {
network = bitcoinjs.bitcoin.networks.myriadcoin;
setHdCoin(90);
},
},
{
name: "XRP - Ripple",
bip49available: false,
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.2.1

* BTC is the default coin
* Add myriadcoin
* Add Bitcon Cash

# 0.2.0

* BitcoinJS library upgrded to v3.1.1
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<div class="container">

<h1 class="text-center">Mnemonic Code Converter</h1>
<p class="version">v0.2.0</p>
<p class="version">v0.2.1</p>
<hr>
<div class="row">
<div class="col-md-12">
Expand Down

0 comments on commit b3cc393

Please sign in to comment.