-
+
@@ -1333,13 +1355,12 @@
About open source bitcoin wallet
-
Version 1.6
+
Version 1.7
Compatible with bitcoin core
Github https://github.com/OutCast3k/coinbin/
-
TOR 4zpinp6gdkjfplhk.onion
+
TOR coinbin 3ravkwb24f7rmxx6w3snkjw45jhs5lxbh3yfeg3vpt6janwqd.onion | 4zpinp6gdkjfplhk.onion
What is Bitcoin?
Bitcoin is a type of digital currency in which encryption techniques are used to regulate the generation of units of currency and verify the transfer of funds, operating independently of a central bank. See weusecoins.com for more information.
-
If you are looking to buy some Bitcoin try LocalBitcoins.com .
Information
Coinb.in is a free and open source project released under the MIT license, originally by OutCast3k in 2013. Discussion of the project can be found at bitcointalk.org during its early testing stages when its primary focus was to develop a proof of concept multisig solution in javascript.
Coinb.in is run and funded by the generosity of others in terms of development and hosting.
@@ -1364,7 +1385,6 @@
Bitcoin (mainnet)
Litecoin (mainnet)
Dogecoin (mainnet)
-
Carboncoin (mainnet)
ShadowCash (mainnet)
Bitcoin (testnet)
@@ -1429,7 +1449,6 @@
Chain.so (Bitcoin mainnet)
Chain.so (Litecoin)
Chain.so (Dogecoin)
-
Cryptoid.info (Carboncoin)
@@ -1439,7 +1458,7 @@
Unspent outputs :
-
Select the network you wish to retreive your unspent inputs from
+
Select the network you wish to retreive your unspent outputs from
coinb.in (Bitcoin mainnet)
Blockcypher.com (Bitcoin mainnet)
@@ -1451,7 +1470,6 @@
Chain.so (Bitcoin mainnet)
Chain.so (Litecoin)
Chain.so (Dogecoin)
- Cryptoid.info (Carboncoin)
@@ -1475,7 +1493,7 @@
diff --git a/js/coin.js b/js/coin.js
index d8f5388..84a1149 100644
--- a/js/coin.js
+++ b/js/coin.js
@@ -22,7 +22,7 @@
coinjs.developer = '33tht1bKDgZVxb39MnZsWa8oxHXHvUYE4G'; //bitcoin
/* bit(coinb.in) api vars */
- coinjs.hostname = ((document.location.hostname.split(".")[(document.location.hostname.split(".")).length-1]) == 'onion') ? '4zpinp6gdkjfplhk.onion' : 'coinb.in';
+ coinjs.hostname = ((document.location.hostname.split(".")[(document.location.hostname.split(".")).length-1]) == 'onion') ? 'coinbin3ravkwb24f7rmxx6w3snkjw45jhs5lxbh3yfeg3vpt6janwqd.onion' : 'coinb.in';
coinjs.host = ('https:'==document.location.protocol?'https://':'http://')+coinjs.hostname+'/api/';
coinjs.uid = '1';
coinjs.key = '12345678901234567890123456789012';
@@ -1140,7 +1140,7 @@
/* broadcast a transaction */
r.broadcast = function(callback, txhex){
var tx = txhex || this.serialize();
- coinjs.ajax(coinjs.host+'?uid='+coinjs.uid+'&key='+coinjs.key+'&setmodule=bitcoin&request=sendrawtransaction&rawtx='+tx+'&r='+Math.random(), callback, "GET");
+ coinjs.ajax(coinjs.host+'?uid='+coinjs.uid+'&key='+coinjs.key+'&setmodule=bitcoin&request=sendrawtransaction', callback, "POST", ["rawtx="+tx]);
}
/* generate the transaction hash to sign from a transaction input */
diff --git a/js/coinbin.js b/js/coinbin.js
index afc98f1..393b63f 100644
--- a/js/coinbin.js
+++ b/js/coinbin.js
@@ -128,8 +128,13 @@ $(document).ready(function() {
});
$("#walletShowKeys").click(function(){
+ $(".walletOptions").removeClass("hidden").addClass("hidden");
$("#walletKeys").removeClass("hidden");
- $("#walletSpend").removeClass("hidden").addClass("hidden");
+ });
+
+ $("#walletShowBuy").click(function(){
+ $(".walletOptions").removeClass("hidden").addClass("hidden");
+ $("#walletBuy").removeClass("hidden");
});
$("#walletBalance, #walletAddress, #walletQrCode").click(function(){
@@ -280,8 +285,8 @@ $(document).ready(function() {
});
$("#walletShowSpend").click(function(){
+ $(".walletOptions").removeClass("hidden").addClass("hidden");
$("#walletSpend").removeClass("hidden");
- $("#walletKeys").removeClass("hidden").addClass("hidden");
});
$("#walletSpendTo .addressAdd").click(function(){
@@ -842,7 +847,6 @@ $(document).ready(function() {
if(navigator.getUserMedia){
if (!!window.stream) {
$("video").attr('src',null);
- window.stream.stop();
}
var videoSource = $("select#videoSource").val();
@@ -855,18 +859,24 @@ $(document).ready(function() {
navigator.getUserMedia(constraints, function(stream){
window.stream = stream; // make stream available to console
var videoElement = document.querySelector('video');
- videoElement.src = window.URL.createObjectURL(stream);
+ try {
+ videoElement.srcObject = stream;
+ } catch {
+ videoElement.src = window.URL.createObjectURL(stream);
+ }
videoElement.play();
}, function(error){ });
- QCodeDecoder().decodeFromCamera(document.getElementById('videoReader'), function(er,data){
+
+ QCodeDecoder().decodeFromVideo(document.getElementById('videoReader'), function(er,data){
if(!er){
- var match = data.match(/^bitcoin\:([13][a-z0-9]{26,33})/i);
+ var match = data.match(/^bitcoin\:([1|3|bc1][a-z0-9]{25,50})/i);
var result = match ? match[1] : data;
$(""+$("#qrcode-scanner-callback-to").html()).val(result);
$("#qrScanClose").click();
}
});
+
} else {
$("#videoReaderError").removeClass("hidden");
$("#videoReader, #videoSource").addClass("hidden");
@@ -923,9 +933,6 @@ $(document).ready(function() {
listUnspentBlockchair(redeem, "litecoin");
} else if(host=='blockchair_dogecoin'){
listUnspentBlockchair(redeem, "dogecoin");
-
- } else if(host=='cryptoid.info_carboncoin'){
- listUnspentCryptoidinfo_Carboncoin(redeem);
} else {
listUnspentDefault(redeem);
}
@@ -1156,41 +1163,6 @@ $(document).ready(function() {
});
}
-
- /* retrieve unspent data from chain.so for carboncoin */
- function listUnspentCryptoidinfo_Carboncoin(redeem) {
-
- $.ajax ({
- type: "POST",
- url: "https://coinb.in/api/",
- data: 'uid='+coinjs.uid+'&key='+coinjs.key+'&setmodule=carboncoin&request=listunspent&address='+redeem.addr,
- dataType: "xml",
- error: function() {
- $("#redeemFromStatus").removeClass('hidden').html('
Unexpected error, unable to retrieve unspent outputs!');
- },
- success: function(data) {
- if($(data).find("result").text()==1){
- $("#redeemFromAddress").removeClass('hidden').html('
Retrieved unspent inputs from address
'+redeem.addr+' ');
- $.each($(data).find("unspent").children(), function(i,o){
- var tx = $(o).find("tx_hash").text();
- var n = $(o).find("tx_output_n").text();
- var script = (redeem.redeemscript==true) ? redeem.decodedRs : o.script_hex;
- var amount = (($(o).find("value").text()*1)/100000000).toFixed(8);
- addOutput(tx, n, script, amount);
- });
- } else {
- $("#redeemFromStatus").removeClass('hidden').html('
Unexpected error, unable to retrieve unspent outputs.');
- }
- },
- complete: function(data, status) {
- $("#redeemFromBtn").html("Load").attr('disabled',false);
- totalInputAmount();
- }
- });
-
- }
-
-
/* retrieve unspent data from blockchair */
function listUnspentBlockchair(redeem,network){
$.ajax ({
@@ -1346,32 +1318,6 @@ $(document).ready(function() {
});
}
- // broadcast transaction via cryptoid
- function rawSubmitcryptoid_Carboncoin(thisbtn) {
- $(thisbtn).val('Please wait, loading...').attr('disabled',true);
- $.ajax ({
- type: "POST",
- url: coinjs.host+'?uid='+coinjs.uid+'&key='+coinjs.key+'&setmodule=carboncoin&request=sendrawtransaction',
- data: {'rawtx':$("#rawTransaction").val()},
- dataType: "xml",
- error: function(data) {
- $("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').removeClass("hidden").html(" There was an error submitting your request, please try again").prepend('
');
- },
- success: function(data) {
- $("#rawTransactionStatus").html(unescape($(data).find("response").text()).replace(/\+/g,' ')).removeClass('hidden');
- if($(data).find("result").text()==1){
- $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' TXID: ' + $(data).find("txid").text() + '
View on Blockchain Explorer ');
- } else {
- $("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').prepend('
');
- }
- },
- complete: function(data, status) {
- $("#rawTransactionStatus").fadeOut().fadeIn();
- $(thisbtn).val('Submit').attr('disabled',false);
- }
- });
- }
-
// broadcast transaction via chain.so (mainnet)
function rawSubmitChainso(thisbtn, network){
$(thisbtn).val('Please wait, loading...').attr('disabled',true);
@@ -1983,11 +1929,11 @@ $(document).ready(function() {
});
} else if(host=="chain.so_litecoin"){
$("#rawSubmitBtn").click(function(){
- rawSubmitchainso(this, "LTC");
+ rawSubmitChainso(this, "LTC");
});
} else if(host=="chain.so_dogecoin"){
$("#rawSubmitBtn").click(function(){
- rawSubmitchainso(this, "DOGE");
+ rawSubmitChainso(this, "DOGE");
});
} else if(host=="blockcypher_bitcoinmainnet"){
$("#rawSubmitBtn").click(function(){
@@ -2013,10 +1959,6 @@ $(document).ready(function() {
$("#rawSubmitBtn").click(function(){
rawSubmitblockchair(this, "dogecoin");
});
- } else if(host=="cryptoid.info_carboncoin"){
- $("#rawSubmitBtn").click(function(){
- rawSubmitcryptoid_Carboncoin(this);
- });
} else {
$("#rawSubmitBtn").click(function(){
rawSubmitDefault(this); // revert to default
diff --git a/sha1sum b/sha1sum
index 021f4cf..8168c05 100644
--- a/sha1sum
+++ b/sha1sum
@@ -1,9 +1,9 @@
----- Version 1.6 2020.10.02 ----
+---- Version 1.7 2021.10.23 ----
77e4519962e2f6a9fc93342137dbb31c33b76b04 ./js/aes.js
3a09a8fc0cfe828b57fc798d668234d0490ee1a6 ./js/bootstrap-datetimepicker.min.js
253711c6d825de55a8360552573be950da180614 ./js/bootstrap.min.js
-cb5717166bf1c99abbd75a06013067c4a5897d5a ./js/coinbin.js
-911fb7bdba24269029f27659e4040cd991b2307c ./js/coin.js
+61095a685a6bb343fc5dcdd7cf3e458bfb3aa0a4 ./js/coinbin.js
+5f83da7e2fce8c55a711a768970899c2300dcd46 ./js/coin.js
988565bc2cb402d63ed5c5fd7ff47c4278efc2c5 ./js/collapse.js
9ba5ede3d7f9d4c8fd623395f196adfdcf7e970f ./js/crypto-min.js
f7c09f2f5a721371e7d478050119f7e2d58e3ef9 ./js/crypto-sha256-hmac.js
@@ -23,13 +23,17 @@ ed29315e0ffb3f14382431f2724235bf67f44eb3 ./css/bootstrap.min.css
fc6b4268fbd57ad95d2b41a1d4d6866f222fbdb2 ./css/bootstrap-theme.min.css
eb54f374256b75a17f274847b4ca9985fd046f9f ./css/style.css
2e3217a3f3b7c2fb30562ab9a4ef9a407ae81897 ./images/btc32x.png
-8ac24915d59cef71c542e7cb7d7e153f560cba1f ./images/coinbin.gif
+2c95cc283e4d843655ea111a7e4072c16ab56b7b ./images/bitrefill16x.png
+b6e8cb7bc6e7a9cb167e65696439891fc06ded6d ./images/changelly16x.png
+774cf795e16b33c5d67b5ad0ae95692c3ce49fce ./images/coinbin.png
+f4fbd6f11bf1d81b0fdba3bfb83799fda6c46c67 ./images/coinbin.svg
+7645c6b897dc845ed681fad0812b424063374494 ./images/hodlhodl16x.png
f2af060f1cadbc9065c8c465c648dc01be67cc12 ./images/loader.gif
86b6f62b7853e67d3e635f6512a5a5efc58ea3c3 ./fonts/glyphicons-halflings-regular.eot
ca35b697d99cae4d1b60f2d60fcd37771987eb07 ./fonts/glyphicons-halflings-regular.woff2
de51a8494180a6db074af2dee2383f0a363c5b08 ./fonts/glyphicons-halflings-regular.svg
278e49a86e634da6f2a02f3b47dd9d2a8f26210f ./fonts/glyphicons-halflings-regular.woff
44bc1850f570972267b169ae18f1cb06b611ffa2 ./fonts/glyphicons-halflings-regular.ttf
-ee481606d8d48f402d152fa632ba9e5f9da7f169 ./README.md
-a706e95f6436ee4a31dc26b17a9ac8ab1f0d3750 ./index.html
+283e5a5aa0999fb8e84bdc7a0f2a881db249baf1 ./README.md
+76985f9ad1239f69bdd5083ce222ff33eb6c87e6 ./index.html
7130b64e3ef4cf6f2f1550e902f081c58dc053de ./test.html