105 Commits

Author SHA1 Message Date
OutCast3k 734e6b2eeb removed some coded that was no longer needed 2018-05-27 12:10:49 +00:00
OutCast3k 90a309d4b4 first stage of adding bech32 support added to coinb.in 2018-05-27 11:49:09 +00:00
OutCast3k abd2191c50 updated readme 2018-01-15 19:05:45 +00:00
OutCast3k bb8abb4ded some changes and bug fixes to the fees page 2018-01-15 18:58:17 +00:00
OutCast3k 40d514e0f0 couple of minor updates 2018-01-11 16:54:27 +00:00
OutCast3k c3b1a47199 few minor changes, plus the wallet now enables rbf by default 2018-01-06 16:11:20 +00:00
OutCast3k ed7d5d6411 small bugfix so that the #wallet inputs/outputs are properly set on the #fees page 2018-01-04 10:42:45 +00:00
OutCast3k 10e083bd89 add css changes 2018-01-03 19:30:36 +00:00
OutCast3k 56fa7b5139 various tweaks made to the #fees page 2018-01-03 19:27:53 +00:00
OutCast3k e85276dd89 added css changes 2018-01-01 18:58:33 +00:00
OutCast3k c843685662 added new #fee section to coinb.in 2018-01-01 18:53:23 +00:00
OutCast3k 64af126bc5 added segwit redeemscript to wallet, fixed typo, added links 2017-12-09 09:56:06 +00:00
OutCast3k 217897285e bug fix for issue #118 (do not generate a multisig address when the redeemscript is too large >520bytes) 2017-10-04 08:35:51 +00:00
OutCast3k b1603821da at the risk of upsetting some users segwit addresses have now been enabled by default in the #wallet section, with the option to switch between legacy and segwit very easily. 2017-10-01 18:06:57 +00:00
btc c2ef949dd0 segwit spending bug fixes 2017-09-21 13:38:48 +00:00
btc ecb18acb0f code was missing for the segwit feature from the #wallet section 2017-09-20 09:56:20 +00:00
OutCast3k 4a4f302fe6 added segwit support to the wallet section of #coinb.in 2017-09-16 09:03:10 +00:00
OutCast3k 4afee020b0 Update sha1sum
updated sha1sum
2017-09-12 06:25:00 +01:00
OutCast3k 2e0422656d removed blockr.io links as its closed down 2017-09-11 19:52:05 +00:00
OutCast3k 6c480a1102 segwit support added 2017-09-10 13:18:31 +00:00
OutCast3k d5fe5ea828 increase to default transaction fee (and donations) on the #wallet section, as well as links to bitcoinfees.21.co to assist with choosing a better transaction fee 2017-03-14 20:51:51 +00:00
OutCast3k 52b206c7d6 added a donation button to the #newTransaction page 2017-03-13 21:12:06 +00:00
OutCast3k 1f9d9e97c2 better sighash support for the gui, plus bug fixes and testing 2017-02-17 15:38:24 +00:00
OutCast3k d12b9d9072 final sighash tweak 2017-02-10 15:16:44 +00:00
OutCast3k 6c22adaa5a added extra sighash support for signing 2017-02-10 13:05:58 +00:00
OutCast3k 605a6df343 Updated coinbin.js
Fixed a bug, which was reported on https://www.reddit.com/r/Bitcoin/comments/5kowvt/psa_coinbin_appears_to_be_trying_to_steal_coins/ that appears to have caused incorrect HD key pairs to be generated in certain situations, because 'coinjs.compressed = true;' was not always being set when the user entered a HD onto the #verify tab.
2016-12-28 10:01:16 +00:00
OutCast3k 60efbb5174 updated sha1sum file due to recent edits 2016-12-28 09:54:06 +00:00
OutCast3k 1b111b335d updated coinbin.js
Fixed a bug, which was reported on https://www.reddit.com/r/Bitcoin/comments/5kowvt/psa_coinbin_appears_to_be_trying_to_steal_coins/ that appears to have caused incorrect HD key pairs to be generated in certain situations, because 'coinjs.compressed = true;' was not always being set when the user entered a HD onto the #verify tab.
2016-12-28 09:50:27 +00:00
OutCast3k 24028a001d Update sha1sum 2016-12-21 11:57:17 +00:00
OutCast3k f4c2b3d425 updated coinbin.js
fixed a small bug in the #wallet section of coinb.in
2016-12-21 11:56:18 +00:00
OutCast3k 20547ff133 Update sha1sum 2016-11-25 19:15:43 +00:00
OutCast3k 858774b640 fixed a bug introduced in previous commit 2016-09-13 03:36:49 +00:00
OutCast3k 21ecedaa48 added full carboncoin support 2016-09-11 18:40:18 +00:00
OutCast3k 3c1e957519 fixed a timelocked address bug as reported on issue 60 2016-09-06 07:06:36 +00:00
OutCast3k 44e6f5c639 update sha1sum 2016-09-05 13:32:05 +00:00
OutCast3k d176899774 dogecoin + chainso bugfix 2016-09-05 13:30:40 +00:00
OutCast3k 970cd756ec added better sighash support as well as (basic) support for carboncoin 2016-09-04 20:54:15 +00:00
OutCast3k b6dfa6b822 Merge pull request #59 from tomcarbon/master
Adding dogecoin support to coinb.in
2016-09-04 14:57:37 +01:00
Tom Carbon 85c9267379 Add files via upload 2016-09-03 22:20:09 -07:00
Tom Carbon 0c3530590f Add files via upload 2016-09-03 22:19:45 -07:00
OutCast3k 74a0fad4d2 Merge pull request #53 from DanielWeigl/master
Error in serialization for nLockTime values
2016-08-04 14:04:34 +01:00
OutCast3k 67f9c1f926 fixed a broadcasting issue 2016-07-28 23:40:31 +00:00
OutCast3k 67bd6e927c small bug fixes + enabled testnet via the #settings page 2016-07-28 22:36:27 +00:00
OutCast3k 284c6361e7 Merge pull request #54 from DanielWeigl/hodlheight
Allow HODL transaction to define nLockTime in blockheight or date/time
2016-07-28 22:56:03 +01:00
Daniel Weigl 347ccf4947 Allow HODL transaction to define nLockTime in blockheight or date/time
it still has a small UX quirks: the radio buttons dont get restored correctly after page reload
2016-07-03 19:34:59 +02:00
Daniel Weigl 8ac9f4207d Allow HODL transaction to define nLockTime in blockheight or date/time
it still has a small UX quirks: the radio buttons dont get restored correctly after page reload
2016-07-03 19:33:24 +02:00
Daniel Weigl 3ba79f0e3d Error in serialization for nLockTime values
if nLockTime is 1234(decimal) -> thats 4D2(hex) -> The current code splits it beginning from the end into bytes -> [4d, 02], but it should be [4, d2].

Error only occurs if one of the bytes is <16
2016-07-03 19:25:02 +02:00
OutCast3k cad1f6e98b update readme and sha1sum files 2016-06-08 22:27:13 +00:00
OutCast3k e818fc738d Merge pull request #51 from bip32JP/betterFeeWarn
Added fluid fee to catch smaller mistakes as well.
2016-06-08 23:23:09 +01:00
bip32JP 0a94fb64ef Added fluid fee to catch smaller mistakes as well. 2016-05-26 21:32:52 +09:00
OutCast3k e3fff74690 coinb.in now supports replace by fee (RBF) transactions 2016-05-21 15:47:10 +00:00
OutCast3k 0154514309 bug fix to blockcyphers broadcasting option, plus added a buy bitcoin button on the wallet page 2016-05-09 10:02:51 +00:00
OutCast3k 1e8773c195 added blockcypher.com to list of broadcast providers 2016-03-21 13:34:19 +00:00
OutCast3k 1ea47f6ff5 this commit makes it obvious as to how to add new providers (although this could change soon) more providers to be added in the next commit. 2016-03-15 23:47:40 +00:00
OutCast3k b943cbd6de add missing date and time placeholder from the time locked address page 2016-03-03 13:23:36 +00:00
OutCast3k 53c48af90c bug fix 2016-02-26 19:05:45 +00:00
OutCast3k 6970a07d60 bug fixes, credit to ibblondon and nxtchg. thanks 2016-02-25 23:09:43 +00:00
OutCast3k 695947b02d updated the #wallet section of the site so that when a transaction fails to broadcast due to a server side error it displays it in a box that can be manually processed elsewhere 2016-02-09 23:52:55 +00:00
OutCast3k 0a8bb6f33a update sha1sum 2016-02-09 23:29:29 +00:00
OutCast3k 27c9bff17e add extra validation to prevent invalid public keys being used. (as per issue 39) 2016-02-09 23:27:34 +00:00
OutCast3k c276998687 increased default fee on #wallet section of coinb.in 2015-12-30 00:17:36 +00:00
OutCast3k 4f16149a26 updated sha1sum file 2015-12-29 20:11:49 +00:00
OutCast3k 7bfacd51b1 fixed a small interface issue with the input feilds on the verify tab for hodl addresses 2015-12-29 20:06:03 +00:00
OutCast3k 1da38e46f7 small interface bugfix 2015-12-29 16:36:27 +00:00
OutCast3k 133a5d2858 few minor gui changes to the "New Time Locked Address" section 2015-12-29 16:20:53 +00:00
OutCast3k a9cfa44c44 Merge pull request #37 from thelink2012/test-time
Simple Hodl Address
2015-12-29 14:27:09 +00:00
Denilson M. Amorim cedc6dddaf Fix endianess of checklocktimeverify 2015-12-29 00:00:11 -03:00
Denilson M. Amorim d53c236ec3 Set #nLockTime automatically 2015-12-27 01:15:47 -03:00
Denilson M. Amorim c8577e03be Simple Hodl Address 2015-12-27 00:37:51 -03:00
OutCast3k 9a669885b3 Merge pull request #32 from itscory/patch-1
fixed issue with copying the script URL
2015-11-16 13:21:37 +00:00
itscory 8652fe789d made copying the scriptUrl easier
I noticed, at least on Firefox, that it is impossible to highlight and copy the script URL. I fixed this by changing the "disabled" attribute to "readonly."
2015-11-15 13:35:53 -05:00
OutCast3k 6b39b86447 updated the #broadcast page to use jquerys POST request over the GET request that was being used to handle larger transactions 2015-09-16 11:41:18 +00:00
OutCast3k 902370679f update sha1sum and readme 2015-09-12 19:17:21 +00:00
OutCast3k ab395a82f2 lots of of small changes; bug fixes, extra validation, warning of large fee, a mediation section and more 2015-09-12 18:38:34 +00:00
OutCast3k fe141b0b8a removed the mention of google analytics from the about page as its no longer being used 2015-08-31 12:20:36 +01:00
OutCast3k e33b2dc58e Merge pull request #25 from dabura667/findunconf
Fetch unconfirmed utxos as well
2015-08-31 11:45:21 +01:00
dabura667 a62a822b71 Fetch unconfirmed utxos as well 2015-08-30 10:51:42 +09:00
OutCast3k 91ee89282f Merge pull request #23 from dasource/master
Add ShadowCash
2015-08-17 12:08:28 +01:00
dasource 42391aba8e Add ShadowCash 2015-08-16 22:34:40 +01:00
OutCast3k 8e0742d64c minor bug fix from previous commit 2015-08-14 22:09:51 +00:00
OutCast3k a1c3c60244 added extra support for altcoins, litecoin beta added via #settings page 2015-08-14 21:07:19 +00:00
OutCast3k 004de1f318 added localbitcoins.com trading link to the about page 2015-07-27 18:13:09 +00:00
OutCast3k 6f8cd22d5f increased the amount of bytes allowed when using op_return from 40 to 80 2015-07-27 18:04:41 +00:00
OutCast3k cacc30cc95 update sha1sum file 2015-07-27 18:00:30 +00:00
OutCast3k d2f1d3a5d5 fixed a typo (thanks for pointing that out Injust) 2015-07-27 17:58:13 +00:00
OutCast3k 1c3e81bfd2 update coinbin.js as it wasn't allowing multisig addresses to be added to new transactions 2015-07-03 18:47:58 +01:00
OutCast3k cf71efcf59 Merge pull request #15 from bulldozer2003/master
display base58 address for redeem script
2015-06-29 07:29:41 +01:00
OutCast3k 92de202ed0 update sha1sum file 2015-06-23 23:15:57 +00:00
OutCast3k 6e821cf53a fixed a bug with the settings page 2015-06-23 23:12:09 +00:00
OutCast3k 85ec366c6e corrected testnet address prefix 2015-06-23 23:05:28 +00:00
OutCast3k 717f5cc7ef corrected donation address 2015-06-23 23:00:10 +00:00
OutCast3k 457ff2b528 updated version number in readme 2015-06-23 22:37:20 +00:00
OutCast3k ef5cbdb61e new changes to allow for the use of testnet and other altcoins 2015-06-23 22:34:30 +00:00
OutCast3k 7ef0046fe3 couple more gui changes 2015-06-22 11:01:17 +00:00
OutCast3k effdb84f24 transaction data for qrcode was too much for most browsers, so maximum size has been lowered 2015-06-22 10:47:54 +00:00
OutCast3k d4772fd601 changes to the way the qrcode button is placed from the previous commeit 2015-06-22 10:41:21 +00:00
OutCast3k d81f2779a9 Merge pull request #17 from bitcoincoltd/master
Add QR code buttons for transaction data textareas
2015-06-22 10:54:03 +01:00
bitcoincoltd d68361fba3 Minor adjustment to QR length handling
Don't attempt to create QR code for huge data.
2015-06-22 15:58:11 +07:00
bitcoincoltd 1cd101fd9e QR codes for transaction data
Added qr code popup buttons for transaction data textareas.
This is useful for when transferring data to offline computers for
signing via camera scan.
2015-06-22 15:55:30 +07:00
bulldozer2003 da2d20f477 display base58 address in addition to public key when decoding redeem script 2015-06-19 12:15:46 -05:00
OutCast3k 8fed2612d5 minor link bug fix, as well as some changes to allow the use of alt coins with out throwing an error 2015-05-20 13:05:19 +00:00
OutCast3k b7e737a76b bug fix 2015-05-17 17:30:41 +00:00
OutCast3k 024c5e5342 couple of small changes 2015-05-17 17:26:48 +00:00
OutCast3k e2f4756261 update sha1sum 2015-05-17 09:45:05 +00:00
OutCast3k cde2757342 added hd (bip32) support! 2015-05-17 00:30:21 +00:00
14 changed files with 3396 additions and 252 deletions
View File
+8 -2
View File
@@ -1,7 +1,7 @@
coinbin
=======
A Open Source Browser Based Bitcoin Wallet. Version 1.1 beta by OutCast3k
A Open Source Browser Based Bitcoin Wallet. Version 1.4 beta by OutCast3k
Live version available at http://coinb.in/ or http://4zpinp6gdkjfplhk.onion
@@ -25,5 +25,11 @@ Coinb.in supports a number of key features such as:
- Compatible with bitcoin-qt
- An offical .onion address for tor users.
- Offline qrcode creator and scanning tool
- HD (bip32) support
- Supports altcoins such as litecoin
- Replace by fee (RBF) Support
- Segwit Support
- Bech32 address support
- Fee calculator - https://coinb.in/#fees
Donate to 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg to see more development!
Donate to 3K1oFZMks41C7qDYBsr72SYjapLqDuSYuN to see more development!
File diff suppressed because one or more lines are too long
+94
View File
@@ -24,3 +24,97 @@ body {
background-color: #f5f5f5;
padding-top: 20px;
}
.alert {
overflow: hidden;
-ms-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
display: block;
}
#fees .txi_regular {
background: #d3d3d3;
}
#fees .txi_segwit {
background: #bae1ff;
}
#fees .txi_multisig {
background: #baffc9;
}
#fees .txi_hodl {
background: #ffdfba;
}
#fees .txi_unknown {
background: #ffb3ba;
}
#fees .txo_p2pkh {
background: #E679C8;
}
#fees .txo_p2sh {
background: #FAFE92;
}
#fees .txinputs {
}
#fees .txoutputs {
}
.hideOverflow {
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
#fees .slider {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 30px;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
border: 2px dotted #c3c3c3;
}
#fees .sliderbtn {
height: 30px;
width: 30px;
padding: 0px;
margin: 0px;
border: 0px;
}
#fees .slider:hover {
opacity: 1;
}
#fees .slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 32px;
height: 32px;
border: 0;
background: url('https://coinb.in/images/btc32x.png');
cursor: pointer;
}
#fees .slider::-moz-range-thumb {
width: 32px;
height: 32px;
border: 0;
background: url('https://coinb.in/images/btc32x.png');
cursor: pointer;
}
#fees .total {
font-size: 100px;
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

+880 -47
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+804 -71
View File
File diff suppressed because it is too large Load Diff
+1267 -119
View File
File diff suppressed because it is too large Load Diff
+211
View File
@@ -0,0 +1,211 @@
/* ========================================================================
* Bootstrap: collapse.js v3.3.4
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
'use strict';
// COLLAPSE PUBLIC CLASS DEFINITION
// ================================
var Collapse = function (element, options) {
this.$element = $(element)
this.options = $.extend({}, Collapse.DEFAULTS, options)
this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
'[data-toggle="collapse"][data-target="#' + element.id + '"]')
this.transitioning = null
if (this.options.parent) {
this.$parent = this.getParent()
} else {
this.addAriaAndCollapsedClass(this.$element, this.$trigger)
}
if (this.options.toggle) this.toggle()
}
Collapse.VERSION = '3.3.4'
Collapse.TRANSITION_DURATION = 350
Collapse.DEFAULTS = {
toggle: true
}
Collapse.prototype.dimension = function () {
var hasWidth = this.$element.hasClass('width')
return hasWidth ? 'width' : 'height'
}
Collapse.prototype.show = function () {
if (this.transitioning || this.$element.hasClass('in')) return
var activesData
var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
if (actives && actives.length) {
activesData = actives.data('bs.collapse')
if (activesData && activesData.transitioning) return
}
var startEvent = $.Event('show.bs.collapse')
this.$element.trigger(startEvent)
if (startEvent.isDefaultPrevented()) return
if (actives && actives.length) {
Plugin.call(actives, 'hide')
activesData || actives.data('bs.collapse', null)
}
var dimension = this.dimension()
this.$element
.removeClass('collapse')
.addClass('collapsing')[dimension](0)
.attr('aria-expanded', true)
this.$trigger
.removeClass('collapsed')
.attr('aria-expanded', true)
this.transitioning = 1
var complete = function () {
this.$element
.removeClass('collapsing')
.addClass('collapse in')[dimension]('')
this.transitioning = 0
this.$element
.trigger('shown.bs.collapse')
}
if (!$.support.transition) return complete.call(this)
var scrollSize = $.camelCase(['scroll', dimension].join('-'))
this.$element
.one('bsTransitionEnd', $.proxy(complete, this))
.emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])
}
Collapse.prototype.hide = function () {
if (this.transitioning || !this.$element.hasClass('in')) return
var startEvent = $.Event('hide.bs.collapse')
this.$element.trigger(startEvent)
if (startEvent.isDefaultPrevented()) return
var dimension = this.dimension()
this.$element[dimension](this.$element[dimension]())[0].offsetHeight
this.$element
.addClass('collapsing')
.removeClass('collapse in')
.attr('aria-expanded', false)
this.$trigger
.addClass('collapsed')
.attr('aria-expanded', false)
this.transitioning = 1
var complete = function () {
this.transitioning = 0
this.$element
.removeClass('collapsing')
.addClass('collapse')
.trigger('hidden.bs.collapse')
}
if (!$.support.transition) return complete.call(this)
this.$element
[dimension](0)
.one('bsTransitionEnd', $.proxy(complete, this))
.emulateTransitionEnd(Collapse.TRANSITION_DURATION)
}
Collapse.prototype.toggle = function () {
this[this.$element.hasClass('in') ? 'hide' : 'show']()
}
Collapse.prototype.getParent = function () {
return $(this.options.parent)
.find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
.each($.proxy(function (i, element) {
var $element = $(element)
this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)
}, this))
.end()
}
Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {
var isOpen = $element.hasClass('in')
$element.attr('aria-expanded', isOpen)
$trigger
.toggleClass('collapsed', !isOpen)
.attr('aria-expanded', isOpen)
}
function getTargetFromTrigger($trigger) {
var href
var target = $trigger.attr('data-target')
|| (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
return $(target)
}
// COLLAPSE PLUGIN DEFINITION
// ==========================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data('bs.collapse')
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
if (typeof option == 'string') data[option]()
})
}
var old = $.fn.collapse
$.fn.collapse = Plugin
$.fn.collapse.Constructor = Collapse
// COLLAPSE NO CONFLICT
// ====================
$.fn.collapse.noConflict = function () {
$.fn.collapse = old
return this
}
// COLLAPSE DATA-API
// =================
$(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
var $this = $(this)
if (!$this.attr('data-target')) e.preventDefault()
var $target = getTargetFromTrigger($this)
var data = $target.data('bs.collapse')
var option = data ? 'toggle' : $this.data()
Plugin.call($target, option)
})
}(jQuery);
+7
View File
File diff suppressed because one or more lines are too long
+32
View File
@@ -0,0 +1,32 @@
(function() {/*
A JavaScript implementation of the SHA family of hashes, as defined in FIPS
PUB 180-2 as well as the corresponding HMAC implementation as defined in
FIPS PUB 198a
Copyright Brian Turek 2008-2012
Distributed under the BSD License
See http://caligatio.github.com/jsSHA/ for more information
Several functions taken from Paul Johnson
*/
function n(a){throw a;}var q=null;function s(a,b){this.a=a;this.b=b}function u(a,b){var d=[],h=(1<<b)-1,f=a.length*b,g;for(g=0;g<f;g+=b)d[g>>>5]|=(a.charCodeAt(g/b)&h)<<32-b-g%32;return{value:d,binLen:f}}function x(a){var b=[],d=a.length,h,f;0!==d%2&&n("String of HEX type must be in byte increments");for(h=0;h<d;h+=2)f=parseInt(a.substr(h,2),16),isNaN(f)&&n("String of HEX type contains invalid characters"),b[h>>>3]|=f<<24-4*(h%8);return{value:b,binLen:4*d}}
function B(a){var b=[],d=0,h,f,g,k,m;-1===a.search(/^[a-zA-Z0-9=+\/]+$/)&&n("Invalid character in base-64 string");h=a.indexOf("=");a=a.replace(/\=/g,"");-1!==h&&h<a.length&&n("Invalid '=' found in base-64 string");for(f=0;f<a.length;f+=4){m=a.substr(f,4);for(g=k=0;g<m.length;g+=1)h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(m[g]),k|=h<<18-6*g;for(g=0;g<m.length-1;g+=1)b[d>>2]|=(k>>>16-8*g&255)<<24-8*(d%4),d+=1}return{value:b,binLen:8*d}}
function E(a,b){var d="",h=4*a.length,f,g;for(f=0;f<h;f+=1)g=a[f>>>2]>>>8*(3-f%4),d+="0123456789abcdef".charAt(g>>>4&15)+"0123456789abcdef".charAt(g&15);return b.outputUpper?d.toUpperCase():d}
function F(a,b){var d="",h=4*a.length,f,g,k;for(f=0;f<h;f+=3){k=(a[f>>>2]>>>8*(3-f%4)&255)<<16|(a[f+1>>>2]>>>8*(3-(f+1)%4)&255)<<8|a[f+2>>>2]>>>8*(3-(f+2)%4)&255;for(g=0;4>g;g+=1)d=8*f+6*g<=32*a.length?d+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k>>>6*(3-g)&63):d+b.b64Pad}return d}
function G(a){var b={outputUpper:!1,b64Pad:"="};try{a.hasOwnProperty("outputUpper")&&(b.outputUpper=a.outputUpper),a.hasOwnProperty("b64Pad")&&(b.b64Pad=a.b64Pad)}catch(d){}"boolean"!==typeof b.outputUpper&&n("Invalid outputUpper formatting option");"string"!==typeof b.b64Pad&&n("Invalid b64Pad formatting option");return b}
function H(a,b){var d=q,d=new s(a.a,a.b);return d=32>=b?new s(d.a>>>b|d.b<<32-b&4294967295,d.b>>>b|d.a<<32-b&4294967295):new s(d.b>>>b-32|d.a<<64-b&4294967295,d.a>>>b-32|d.b<<64-b&4294967295)}function I(a,b){var d=q;return d=32>=b?new s(a.a>>>b,a.b>>>b|a.a<<32-b&4294967295):new s(0,a.a>>>b-32)}function J(a,b,d){return new s(a.a&b.a^~a.a&d.a,a.b&b.b^~a.b&d.b)}function U(a,b,d){return new s(a.a&b.a^a.a&d.a^b.a&d.a,a.b&b.b^a.b&d.b^b.b&d.b)}
function V(a){var b=H(a,28),d=H(a,34);a=H(a,39);return new s(b.a^d.a^a.a,b.b^d.b^a.b)}function W(a){var b=H(a,14),d=H(a,18);a=H(a,41);return new s(b.a^d.a^a.a,b.b^d.b^a.b)}function X(a){var b=H(a,1),d=H(a,8);a=I(a,7);return new s(b.a^d.a^a.a,b.b^d.b^a.b)}function Y(a){var b=H(a,19),d=H(a,61);a=I(a,6);return new s(b.a^d.a^a.a,b.b^d.b^a.b)}
function Z(a,b){var d,h,f;d=(a.b&65535)+(b.b&65535);h=(a.b>>>16)+(b.b>>>16)+(d>>>16);f=(h&65535)<<16|d&65535;d=(a.a&65535)+(b.a&65535)+(h>>>16);h=(a.a>>>16)+(b.a>>>16)+(d>>>16);return new s((h&65535)<<16|d&65535,f)}
function aa(a,b,d,h){var f,g,k;f=(a.b&65535)+(b.b&65535)+(d.b&65535)+(h.b&65535);g=(a.b>>>16)+(b.b>>>16)+(d.b>>>16)+(h.b>>>16)+(f>>>16);k=(g&65535)<<16|f&65535;f=(a.a&65535)+(b.a&65535)+(d.a&65535)+(h.a&65535)+(g>>>16);g=(a.a>>>16)+(b.a>>>16)+(d.a>>>16)+(h.a>>>16)+(f>>>16);return new s((g&65535)<<16|f&65535,k)}
function ba(a,b,d,h,f){var g,k,m;g=(a.b&65535)+(b.b&65535)+(d.b&65535)+(h.b&65535)+(f.b&65535);k=(a.b>>>16)+(b.b>>>16)+(d.b>>>16)+(h.b>>>16)+(f.b>>>16)+(g>>>16);m=(k&65535)<<16|g&65535;g=(a.a&65535)+(b.a&65535)+(d.a&65535)+(h.a&65535)+(f.a&65535)+(k>>>16);k=(a.a>>>16)+(b.a>>>16)+(d.a>>>16)+(h.a>>>16)+(f.a>>>16)+(g>>>16);return new s((k&65535)<<16|g&65535,m)}
function $(a,b,d){var h,f,g,k,m,j,A,C,K,e,L,v,l,M,t,p,y,z,r,N,O,P,Q,R,c,S,w=[],T,D;"SHA-384"===d||"SHA-512"===d?(L=80,h=(b+128>>>10<<5)+31,M=32,t=2,c=s,p=Z,y=aa,z=ba,r=X,N=Y,O=V,P=W,R=U,Q=J,S=[new c(1116352408,3609767458),new c(1899447441,602891725),new c(3049323471,3964484399),new c(3921009573,2173295548),new c(961987163,4081628472),new c(1508970993,3053834265),new c(2453635748,2937671579),new c(2870763221,3664609560),new c(3624381080,2734883394),new c(310598401,1164996542),new c(607225278,1323610764),
new c(1426881987,3590304994),new c(1925078388,4068182383),new c(2162078206,991336113),new c(2614888103,633803317),new c(3248222580,3479774868),new c(3835390401,2666613458),new c(4022224774,944711139),new c(264347078,2341262773),new c(604807628,2007800933),new c(770255983,1495990901),new c(1249150122,1856431235),new c(1555081692,3175218132),new c(1996064986,2198950837),new c(2554220882,3999719339),new c(2821834349,766784016),new c(2952996808,2566594879),new c(3210313671,3203337956),new c(3336571891,
1034457026),new c(3584528711,2466948901),new c(113926993,3758326383),new c(338241895,168717936),new c(666307205,1188179964),new c(773529912,1546045734),new c(1294757372,1522805485),new c(1396182291,2643833823),new c(1695183700,2343527390),new c(1986661051,1014477480),new c(2177026350,1206759142),new c(2456956037,344077627),new c(2730485921,1290863460),new c(2820302411,3158454273),new c(3259730800,3505952657),new c(3345764771,106217008),new c(3516065817,3606008344),new c(3600352804,1432725776),new c(4094571909,
1467031594),new c(275423344,851169720),new c(430227734,3100823752),new c(506948616,1363258195),new c(659060556,3750685593),new c(883997877,3785050280),new c(958139571,3318307427),new c(1322822218,3812723403),new c(1537002063,2003034995),new c(1747873779,3602036899),new c(1955562222,1575990012),new c(2024104815,1125592928),new c(2227730452,2716904306),new c(2361852424,442776044),new c(2428436474,593698344),new c(2756734187,3733110249),new c(3204031479,2999351573),new c(3329325298,3815920427),new c(3391569614,
3928383900),new c(3515267271,566280711),new c(3940187606,3454069534),new c(4118630271,4000239992),new c(116418474,1914138554),new c(174292421,2731055270),new c(289380356,3203993006),new c(460393269,320620315),new c(685471733,587496836),new c(852142971,1086792851),new c(1017036298,365543100),new c(1126000580,2618297676),new c(1288033470,3409855158),new c(1501505948,4234509866),new c(1607167915,987167468),new c(1816402316,1246189591)],e="SHA-384"===d?[new c(3418070365,3238371032),new c(1654270250,914150663),
new c(2438529370,812702999),new c(355462360,4144912697),new c(1731405415,4290775857),new c(41048885895,1750603025),new c(3675008525,1694076839),new c(1203062813,3204075428)]:[new c(1779033703,4089235720),new c(3144134277,2227873595),new c(1013904242,4271175723),new c(2773480762,1595750129),new c(1359893119,2917565137),new c(2600822924,725511199),new c(528734635,4215389547),new c(1541459225,327033209)]):n("Unexpected error in SHA-2 implementation");a[b>>>5]|=128<<24-b%32;a[h]=b;T=a.length;for(v=0;v<
T;v+=M){b=e[0];h=e[1];f=e[2];g=e[3];k=e[4];m=e[5];j=e[6];A=e[7];for(l=0;l<L;l+=1)w[l]=16>l?new c(a[l*t+v],a[l*t+v+1]):y(N(w[l-2]),w[l-7],r(w[l-15]),w[l-16]),C=z(A,P(k),Q(k,m,j),S[l],w[l]),K=p(O(b),R(b,h,f)),A=j,j=m,m=k,k=p(g,C),g=f,f=h,h=b,b=p(C,K);e[0]=p(b,e[0]);e[1]=p(h,e[1]);e[2]=p(f,e[2]);e[3]=p(g,e[3]);e[4]=p(k,e[4]);e[5]=p(m,e[5]);e[6]=p(j,e[6]);e[7]=p(A,e[7])}"SHA-384"===d?D=[e[0].a,e[0].b,e[1].a,e[1].b,e[2].a,e[2].b,e[3].a,e[3].b,e[4].a,e[4].b,e[5].a,e[5].b]:"SHA-512"===d?D=[e[0].a,e[0].b,
e[1].a,e[1].b,e[2].a,e[2].b,e[3].a,e[3].b,e[4].a,e[4].b,e[5].a,e[5].b,e[6].a,e[6].b,e[7].a,e[7].b]:n("Unexpected error in SHA-2 implementation");return D}
window.jsSHA=function(a,b,d){var h=q,f=q,g=0,k=[0],m=0,j=q,m="undefined"!==typeof d?d:8;8===m||16===m||n("charSize must be 8 or 16");"HEX"===b?(0!==a.length%2&&n("srcString of HEX type must be in byte increments"),j=x(a),g=j.binLen,k=j.value):"ASCII"===b||"TEXT"===b?(j=u(a,m),g=j.binLen,k=j.value):"B64"===b?(j=B(a),g=j.binLen,k=j.value):n("inputFormat must be HEX, TEXT, ASCII, or B64");this.getHash=function(a,b,d){var e=q,m=k.slice(),j="";switch(b){case "HEX":e=E;break;case "B64":e=F;break;default:n("format must be HEX or B64")}"SHA-384"===
a?(q===h&&(h=$(m,g,a)),j=e(h,G(d))):"SHA-512"===a?(q===f&&(f=$(m,g,a)),j=e(f,G(d))):n("Chosen SHA variant is not supported");return j};this.getHMAC=function(a,b,d,e,f){var h,l,j,t,p,y=[],z=[],r=q;switch(e){case "HEX":h=E;break;case "B64":h=F;break;default:n("outputFormat must be HEX or B64")}"SHA-384"===d?(j=128,p=384):"SHA-512"===d?(j=128,p=512):n("Chosen SHA variant is not supported");"HEX"===b?(r=x(a),t=r.binLen,l=r.value):"ASCII"===b||"TEXT"===b?(r=u(a,m),t=r.binLen,l=r.value):"B64"===b?(r=B(a),
t=r.binLen,l=r.value):n("inputFormat must be HEX, TEXT, ASCII, or B64");a=8*j;b=j/4-1;j<t/8?(l=$(l,t,d),l[b]&=4294967040):j>t/8&&(l[b]&=4294967040);for(j=0;j<=b;j+=1)y[j]=l[j]^909522486,z[j]=l[j]^1549556828;d=$(z.concat($(y.concat(k),a+g,d)),a+p,d);return h(d,G(f))}};})();
+59
View File
@@ -0,0 +1,59 @@
/* ========================================================================
* Bootstrap: transition.js v3.3.4
* http://getbootstrap.com/javascript/#transitions
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
'use strict';
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// ============================================================
function transitionEnd() {
var el = document.createElement('bootstrap')
var transEndEventNames = {
WebkitTransition : 'webkitTransitionEnd',
MozTransition : 'transitionend',
OTransition : 'oTransitionEnd otransitionend',
transition : 'transitionend'
}
for (var name in transEndEventNames) {
if (el.style[name] !== undefined) {
return { end: transEndEventNames[name] }
}
}
return false // explicit for ie8 ( ._.)
}
// http://blog.alexmaccaw.com/css-transitions
$.fn.emulateTransitionEnd = function (duration) {
var called = false
var $el = this
$(this).one('bsTransitionEnd', function () { called = true })
var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
setTimeout(callback, duration)
return this
}
$(function () {
$.support.transition = transitionEnd()
if (!$.support.transition) return
$.event.special.bsTransitionEnd = {
bindType: $.support.transition.end,
delegateType: $.support.transition.end,
handle: function (e) {
if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
}
}
})
}(jQuery);
+20 -13
View File
@@ -1,21 +1,28 @@
---- Version 1.1 2015.03.24 ----
e6810907c901e6bd34a28735a68850936f0823b8 ./js/ellipticcurve.js
9ba5ede3d7f9d4c8fd623395f196adfdcf7e970f ./js/crypto-min.js
---- Version 1.4 2018.05.27 ---
77e4519962e2f6a9fc93342137dbb31c33b76b04 ./js/aes.js
0ce26da5ef686d4ece91acd6cb6506559e11ab07 ./js/qcode-decoder.min.js
be17ca7c834204bff711f582e41f76c06d472bac ./js/jsbn.js
0700fc9ad2e39adeca0b50614bb3d327fb49f609 ./js/crypto-sha256.js
3a09a8fc0cfe828b57fc798d668234d0490ee1a6 ./js/bootstrap-datetimepicker.min.js
253711c6d825de55a8360552573be950da180614 ./js/bootstrap.min.js
dda26795fcd22541612067d44cf72ecae62f092b ./js/coinbin.js
eec3c5f1c5f69a34205613f6bf62ff9cc5a8d07a ./js/coin.js
988565bc2cb402d63ed5c5fd7ff47c4278efc2c5 ./js/collapse.js
9ba5ede3d7f9d4c8fd623395f196adfdcf7e970f ./js/crypto-min.js
f7c09f2f5a721371e7d478050119f7e2d58e3ef9 ./js/crypto-sha256-hmac.js
0700fc9ad2e39adeca0b50614bb3d327fb49f609 ./js/crypto-sha256.js
e6810907c901e6bd34a28735a68850936f0823b8 ./js/ellipticcurve.js
ae49e56999d82802727455f0ba83b63acd90a22b ./js/jquery-1.9.1.min.js
be17ca7c834204bff711f582e41f76c06d472bac ./js/jsbn.js
ce4fa351a2e62accf7fad77110fa4ddb09a324bf ./js/moment.min.js
0ce26da5ef686d4ece91acd6cb6506559e11ab07 ./js/qcode-decoder.min.js
ad038e1f39646b68ae666324ed4c2882a8c42474 ./js/qrcode.js
64eb4ea5c882f8bce3e1885bf00728455f1c2f4c ./js/ripemd160.js
975a0378d213634acd9f071c46eeaa70558f3ed2 ./js/coinbin.js
46f1b2e7f64482753f5f0ecde3ec2af7b01812f7 ./js/coin.js
ae49e56999d82802727455f0ba83b63acd90a22b ./js/jquery-1.9.1.min.js
5f570018ed044eafd464f7e0ab1783b966224055 ./LICENCE
114089ef2a3feb6d4db4f9cabcb186d7750d5884 ./js/sha512.js
506c40035e0d22560478629434d0fea27643b77a ./js/transition.js
5f570018ed044eafd464f7e0ab1783b966224055 ./LICENSE
255c58c17e63eb54adb3cd02b5c06224c67fc364 ./css/bootstrap-datetimepicker.min.css
ed29315e0ffb3f14382431f2724235bf67f44eb3 ./css/bootstrap.min.css
fc6b4268fbd57ad95d2b41a1d4d6866f222fbdb2 ./css/bootstrap-theme.min.css
8297b8f4d686ec6c65981077514975e06ce41812 ./css/style.css
eb54f374256b75a17f274847b4ca9985fd046f9f ./css/style.css
2e3217a3f3b7c2fb30562ab9a4ef9a407ae81897 ./images/btc32x.png
8ac24915d59cef71c542e7cb7d7e153f560cba1f ./images/coinbin.gif
f2af060f1cadbc9065c8c465c648dc01be67cc12 ./images/loader.gif
86b6f62b7853e67d3e635f6512a5a5efc58ea3c3 ./fonts/glyphicons-halflings-regular.eot
@@ -23,5 +30,5 @@ ca35b697d99cae4d1b60f2d60fcd37771987eb07 ./fonts/glyphicons-halflings-regular.w
de51a8494180a6db074af2dee2383f0a363c5b08 ./fonts/glyphicons-halflings-regular.svg
278e49a86e634da6f2a02f3b47dd9d2a8f26210f ./fonts/glyphicons-halflings-regular.woff
44bc1850f570972267b169ae18f1cb06b611ffa2 ./fonts/glyphicons-halflings-regular.ttf
f04d650c603cedfb6d5f12062acea3b68bde9672 ./README.md
9746d755b854c33e8d00794f0ddcc3c151251570 ./index.html
c024021c71cba503979a859d23cbf7a88b570d82 ./README.md
208b64a1ef61aaceec82f06515e4f7cf046793f6 ./index.html