Skip to content

Commit

Permalink
Update to coinb.in 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Oct 15, 2017
2 parents 7602e38 + 2178972 commit 34734de
Show file tree
Hide file tree
Showing 5 changed files with 556 additions and 223 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
coinbin
=======

A Open Source Browser Based Groestlcoin Wallet. Version 1.2 beta
A Open Source Browser Based Groestlcoin Wallet. Version 1.3 beta


Live version available at http://groestlcoin.org/webwallet

Expand All @@ -26,3 +27,7 @@ Webwallet supports a number of key features such as:
- Compatible with Groestlcoin Core
- Offline qrcode creator and scanning tool
- HD (bip32) support
- Replace by fee (RBF) Support
- Segwit support

Donate to 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg to see more development!
208 changes: 146 additions & 62 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-plus"></span> New<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#newAddress" data-toggle="tab">New Address</a></li>
<li><a href="#newAddress" data-toggle="tab">Address</a></li>
<li><a href="#newSegWit" data-toggle="tab">SegWit Address</a></li>
<li><a href="#newMultiSig" data-toggle="tab">MultiSig Address</a></li>
<li><a href="#newTimeLocked" data-toggle="tab">Time Locked Address</a></li>
<li><a href="#newHDaddress" data-toggle="tab">HD Address</a></li>
Expand Down Expand Up @@ -123,7 +124,7 @@ <h3><span class="glyphicon glyphicon-piggy-bank"></span> Wallet</h3>

<div class="col-md-4">
<h3><span class="glyphicon glyphicon-globe"></span> Addresses</h3>
<p>We support <a href="#newAddress">regular addresses</a> but also <a href="#newMultiSig">multisig</a> and stealth, and access to your own private keys!</p>
<p>We support <a href="#newAddress">regular addresses</a>, <a href="#newMultiSig">multisig</a>, <a href="#newSegWit">segwit</a> and stealth all with access to your own private keys!</p>
</div>

<div class="col-md-4">
Expand All @@ -150,6 +151,15 @@ <h2>Open Wallet <small> browser based groestlcoin wallet</small></h2>
<input id="openPass" type="password" class="form-control" placeholder="Password" required>
<input id="openPassConfirm" type="password" class="form-control" placeholder="Password confirm" required>
<br>
<div>
<a href="javascript:;" class="optionsCollapse"><div class="well well-sm"><span class="glyphicon glyphicon-collapse-down" id="glyphcollapse"></span> Advanced Options</div></a>
<div class="hidden optionsAdvanced">
<label>Segregated Witness Address</label>
<p class="checkbox">
<label><input type="checkbox" id="walletSegwit" class="checkbox-inline" checked> Use a segwit address instead of a regular address. <span class="text-muted"><i>(recommended)</i></span></label></label>
</p>
</div>
</div>
<div id="openLoginStatus" class="alert alert-danger hidden"></div>
<button id="openBtn" class="btn btn-primary" type="submit">Submit</button>
</form>
Expand All @@ -164,7 +174,15 @@ <h2>Open Wallet <small> browser based groestlcoin wallet</small></h2>
<div id="walletQrCode"></div> <br>
<div>
<span id="walletLoader" class="hidden"><img src="images/loader.gif"></span>
<span id="walletAddress"></span>
<span id="walletAddress"></span>

<div class="btn-group">
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" id="walletToBtn">SegWit <span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="javascript:;" id="walletToSegWit">SegWit</a></li>
<li><a href="javascript:;" id="walletToLegacy">Legacy</a></li>
</ul>
</div>
</div>
<br>
<div style="text-align:center; width:350px;">
Expand Down Expand Up @@ -221,8 +239,8 @@ <h2>Open Wallet <small> browser based groestlcoin wallet</small></h2>
</div>
<div class="row">
<div class="col-xs-6">
<label><abbr title="the amount to pay in network miner fees - 0.0001 or more recommended">Transaction Fee</abbr></label>
<input type="text" class="form-control" value="0.0001" id="txFee">
<label><abbr title="the amount to pay in network miner fees - 0.0004 or more recommended for a faster processing time">Transaction Fee</abbr>&nbsp;&nbsp;<a href="https://bitcoinfees.21.co/" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></label>
<input type="text" class="form-control" value="0.0004" id="txFee">
</div>
<div class="col-xs-5">
<label><abbr title="the amount to donate to webwallet">Donation</abbr></label>
Expand Down Expand Up @@ -305,6 +323,47 @@ <h3>Address Options</h3>
<br>
</div>

<div class="tab-pane tab-content" id="newSegWit">
<h2>New SegWit Address <small> Smaller &amp; Faster Transactions</small></h2>

<p>Any keys used you will need to manually store safely as they will be needed later to redeem the bitcoins.</p>

<label>SegWit Address (Share)</label>

<div class="input-group">
<input id="newSegWitAddress" type="text" class="form-control address" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
</div>

<label>RedeemScript</label>
<input id="newSegWitRedeemScript" type="text" class="form-control" readonly>

<label>Public key</label>
<input id="newSegWitPubKey" type="text" class="form-control" readonly>

<label>Private key (WIF key)</label>
<div class="input-group">
<input id="newSegWitPrivKey" type="password" class="form-control" value="" readonly>
<span class="input-group-btn">
<button class="showKey btn btn-default" type="button">Show</button>
</span>
</div>


<h3>Address Options</h3>
<p>You can use the advanced options below to generate different kind of keys and addresses.</p>

<div class="checkbox">
<label><input type="checkbox" id="newSegWitBrainwallet" class="checkbox-inline"> Custom Seed or Brain Wallet</label>
<input type="text" class="form-control hidden" id="brainwalletSegWit">
</div>

<input type="button" class="btn btn-primary" value="Generate" id="newSegWitKeysBtn">
<br>
</div>

<div class="tab-pane tab-content" id="newMultiSig">
<h2>New Multisig Address <small>Secure multisig address</small></h2>

Expand Down Expand Up @@ -496,7 +555,7 @@ <h3>Address Options</h3>
<h2>Transaction <small>Create a new transaction</small></h2>
<p>Use this page to create a raw transaction</p>

<b>Address, WIF key or Multisig Redeem Script</b>:
<b>Address, WIF key or Redeem Script</b>:
<div class="input-group">
<span class="input-group-btn">
<button class="btn btn-info qrcodeScanner" type="button" data-toggle="modal" data-target="#modalQrcodeScanner" forward-result="#redeemFrom"><span class="glyphicon glyphicon-camera"></span></button>
Expand All @@ -514,9 +573,9 @@ <h2>Transaction <small>Create a new transaction</small></h2>
<div class="hidden alert alert-info" id="redeemFromAddress"></div>

<div>
<a href="javascript:;" id="optionsCollapse"><div class="well well-sm"><span class="glyphicon glyphicon-collapse-down" id="glyphcollapse"></span> Advanced Options</div></a>
<a href="javascript:;" class="optionsCollapse"><div class="well well-sm"><span class="glyphicon glyphicon-collapse-down" id="glyphcollapse"></span> Advanced Options</div></a>

<div class="hidden" id="optionsAdvanced">
<div class="hidden optionsAdvanced">

<label>Clear Inputs</label>
<p class="checkbox">
Expand Down Expand Up @@ -562,7 +621,11 @@ <h2>Transaction <small>Create a new transaction</small></h2>
<br>

<div class="tab-content">

<div class="tab-pane fade in active" id="txoutputs">

<span class="pull-right"><a href="javascript:;" id="donateTxBtn" class="btn btn-link"><span class="glyphicon glyphicon-heart"></span> Donate!</a></span>

<p>Enter the address and amount you wish to make a payment to.</p>
<div class="row">
<div class="col-xs-8">
Expand Down Expand Up @@ -638,7 +701,7 @@ <h2>Transaction <small>Create a new transaction</small></h2>

<div class="row">
<div class="col-xs-3">
<label><abbr title="What is not spent will be used as a transaction fee">Transaction Fee</abbr></label>
<label><abbr title="What is not spent will be used as a transaction fee">Transaction Fee</abbr>&nbsp;&nbsp;<a href="https://bitcoinfees.21.co/" target="_blank"><span class="glyphicon glyphicon-question-sign"></span></a></label>
<input type="text" id="transactionFee" class="form-control" value="0.0000" readonly>
</div>
</div>
Expand Down Expand Up @@ -674,66 +737,82 @@ <h2>Verify <small>transactions and other scripts</small></h2>
<br>

<div class="hidden verifyData" id="verifyRsData">

<h4>Redeem Script</h4>
<p><span style="float:right"><a href="javascript:;" target="_blank" class="verifyLink" title="Link to this page"><span class="glyphicon glyphicon-link"></span></a></span>The above redeem script has been decoded</p>

<div class="hidden" id="verifyRsDataMultisig">
<label>Multi Signature Address</label>
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control address multisigAddress" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
<label>Multi Signature Address</label>
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control address multisigAddress" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
</div>
</div>
</div>
</div>
<label>Required Signatures</label>
<p class="signaturesRequired">?</p>
<label>Signatures Required from</label>
<table class="table table-striped table-hover">
<tbody>
</tbody>
</table>
</div>

<div class="hidden" id="verifyRsDataHodl">
<label>Hodl Address</label>
<div class="row">
<div class="col-md-12">
<div class="input-group">
<input type="text" class="form-control address" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
</div>
</div>
</div>
<label>Required Signatures</label>
<p class="signaturesRequired">?</p>
<label>Signatures Required from</label>
<table class="table table-striped table-hover">
<tbody>
</tbody>
</table>
<br>
</div>

<div class="hidden verifyData" id="verifyRsDataSegWit">
<label>Segwit Address</label>
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control address segWitAddress" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
</div>
</div>
</div>
<br>
</div>

<label>Required Signature</label>
<div class="row">
<div class="col-md-12">
<div class="input-group">
<input type="text" class="form-control address pubkey" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
</div>
</div>
</div>
<div class="hidden verifyData" id="verifyRsDataHodl">
<label>Hodl Address</label>
<div class="row">
<div class="col-md-12">
<div class="input-group">
<input type="text" class="form-control address" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
</div>
</div>
</div>

<label>Unlock Time</label>
<div class="row">
<div class='col-md-4'>
<div class="input-group">
<input type="text" class="form-control date" value="" readonly>
</div>
</div>
</div>
<label>Required Signature</label>
<div class="row">
<div class="col-md-12">
<div class="input-group">
<input type="text" class="form-control address pubkey" value="" readonly>
<span class="input-group-btn">
<button class="qrcodeBtn btn btn-default" type="button" data-toggle="modal" data-target="#modalQrcode"><span class="glyphicon glyphicon-qrcode"></span></button>
</span>
</div>
</div>
</div>

<br>
</div>
<label>Unlock Time</label>
<div class="row">
<div class='col-md-4'>
<div class="input-group">
<input type="text" class="form-control date" value="" readonly>
</div>
</div>
</div>
</div>
</div>

<div class="hidden verifyData" id="verifyTransactionData">
Expand All @@ -742,6 +821,7 @@ <h4>Transaction Script</h4>
<div><b>Version</b>: <span class="transactionVersion"></span></div>
<div><b>Transaction Size</b>: <span class="transactionSize"></span></div>
<div><b>Lock time</b>: <span class="transactionLockTime"></span></div>
<div class="transactionSegWit"><b>SegWit</b>: True</div>
<div class="transactionRBF"><b>RBF</b>: This is a <a href="https://en.bitcoin.it/wiki/Transaction_replacement">replace by fee</a> transaction!</div>

<hr>
Expand Down Expand Up @@ -769,6 +849,7 @@ <h4>Transaction Script</h4>
</table>
</div>


<div class="hidden verifyData" id="verifyPrivKey">
<h4>WIF key</h4>
<p>The above wif key has been decoded</p>
Expand Down Expand Up @@ -878,6 +959,7 @@ <h4>Keys</h4>

<input type="button" value="Submit" class="btn btn-primary" id="verifyBtn">
<br>

</div>

<div class="tab-pane tab-content" id="sign">
Expand Down Expand Up @@ -979,6 +1061,10 @@ <h3>Information</h3>
<p>Webwallet is a free and open source project released under the MIT license</p>
<h3>Privacy</h3>
<p>Webwallet believes strongly in privacy, the site does not collect and store IP or transaction data via our servers nor do we store your groestlcoins private key. We do route traffic via cloudflare using an SSL certificate.</p>
<h3>Support</h3>
<p>We recommend that you first check our <a href="https://status.coinb.in/" target="_blank">service status</a> page, if the problem persists you can contact us by emailing support{at}coinb.in.</p>
<h3>Donate</h3>
<p>Please donate to <a href="bitcoin:1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg">1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg</a> if you found this project useful or want to see more features!</p>
</div>

<div class="tab-pane tab-content" id="settings">
Expand Down Expand Up @@ -1046,8 +1132,6 @@ <h2>Settings <small> making webwallet even better!</small></h2>
<select class="form-control" id="coinjs_broadcast">
<option value="chainz.cryptoid.info">chainz.cryptoid.info</option>
<option value="groestlsight.groestlcoin.org">groestlsight.groestlcoin.org</option>

<!-- <option value="blockr.io_bitcointestnet"> Blockr.io (Groestlcoin testnet)</option> -->
</select>
</div>
</div>
Expand Down Expand Up @@ -1084,7 +1168,7 @@ <h2>Settings <small> making webwallet even better!</small></h2>

<div id="footer">
<div class="container text-right">
<p class="text-muted">Version 1.2</p>
<p class="text-muted">Version 1.3</p>
</div>
</div>

Expand Down
Loading

0 comments on commit 34734de

Please sign in to comment.