Bitcoin Forum
March 28, 2017, 10:22:44 AM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [All]
  Print  
Author Topic: [coinb.in] Open Source, Multi Signature, HD Wallet and more!  (Read 42382 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
December 29, 2013, 09:10:20 AM
 #1

Coinb.in
An Open Source, Multi Signature, HD Wallet and more!

Web : https://coinb.in
TOR : http://4zpinp6gdkjfplhk.onion/
GitHub : https://github.com/OutCast3k/coinbin/
Email : OutCast3k(at)gmail.com
Donate : 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg

About

Coinb.in is a free and open source project released under the MIT license. In its early stages when its primary focus was to develop a proof of concept multisig solution in javascript but now it is a wallet and a playground for bitcoiners to experiment with.

Coinb.in is run and funded by the generosity of others in terms of development and hosting.

Features

Coinb.in supports a number of key features such as:

  • Offline Compressed & uncompressed Address creation.
  • Offline Multisignature Address creation.
  • "In browser" Key (re)generation.
  • Send and receive payments.
  • Ability to decode transactions, redeem scripts and more offline.
  • Build custom transactions offline.
  • Sign transactions offline.
  • Signatures are deterministic as per RFC 6979 (https://tools.ietf.org/html/rfc6979#section-3.2)
  • Broadcast transactions.
  • nLockTime support.
  • Add custom data to transactions with the use of OP_RETURN.
  • Support current Dark Wallet Stealth Address structure (as of version Alpha 7) for outputs.
  • Brain wallet support.
  • 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
  • CHECKLOCKTIMEVERIFY (op_hodl) supported for time locked addresses
  • Replace by fee (RBF) support

Donate

Please donate to 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg if you found this project useful or want to see more features!

Tutorials

MultiSig

Notarizing

Double spending (non-RBF)


coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
1490696564
Hero Member
*
Offline Offline

Posts: 1490696564

View Profile Personal Message (Offline)

Ignore
1490696564
Reply with quote  #2

1490696564
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
xeroc
Sr. Member
****
Offline Offline

Activity: 345



View Profile
December 29, 2013, 10:41:36 AM
 #2

You may want to take a look at
http://www.bitescrow.org/
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
December 29, 2013, 10:53:50 AM
 #3

You may want to take a look at
http://www.bitescrow.org/

Whilst bitescrow.org is pretty neat, unless I'm mistaken it seems to use a different method to facilitate an escrow, it does not seem to use multi signature addresses and is limited to the number of parties that can take part.

What I have developed allows for true multi signature addresses to created in within your browser, and all the outputs are compatible with bitcoin-qt.

To clarify, a multi signature address starts with a 3, like this address 39wJtGk78E76AKpUKLhzrhmwVyZZHfCUbV it does not start with a 1 like normal addresses.

http://blockchain.info/address/39wJtGk78E76AKpUKLhzrhmwVyZZHfCUbV

For more information, see: https://en.bitcoin.it/wiki/Address#Multi-signature_addresses

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
coinrevo
Member
**
Offline Offline

Activity: 70


View Profile
December 29, 2013, 11:21:00 AM
 #4

this is great! keep up the good work.

* I think it would great to explain the process and concepts in more detail on the site. What is a redeem script?

* say I want to implement the following: pay 0.01 BTC to address #A12 if the year in the timestamp of the last block is equal to 2014. what would it take to make this work?

* btw, the link on the site to your profile is broken. I think you want this: https://bitcointalk.org/index.php?action=profile;u=34834  
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
December 29, 2013, 12:05:55 PM
 #5

this is great! keep up the good work.

* I think it would great to explain the process and concepts in more detail on the site. What is a redeem script?

* say I want to implement the following: pay 0.01 BTC to address #A12 if the year in the timestamp of the last block is equal to 2014. what would it take to make this work?

* btw, the link on the site to your profile is broken. I think you want this: https://bitcointalk.org/index.php?action=profile;u=34834  

Thanks for the feedback Smiley

You're right, I will defiantly add more information to the site about the process shortly.

A "redeem script" contains 2 pieces of information, the public keys and the minimum number of signatures required to use it as a spendable input. It is also used to generate the multi signature address itself. There should be some information on the bitcoin wiki about this, but I will also add it to the site shortly.

I believe its possible to manipulate the timestamp of the transaction in the way you've requested, although I will need to do a little bit of testing first.

Thanks for pointing out the broken link, I've since fixed it.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
December 30, 2013, 10:10:12 PM
 #6

Couple of small updates made, will upload to github later Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
chuckbobuck
Newbie
*
Offline Offline

Activity: 4


View Profile
January 04, 2014, 10:52:10 AM
 #7

This is fantastic! 

I will be testing this in the coming days and will provide some feedback.   Keep up the good work. 
yakov
Jr. Member
*
Offline Offline

Activity: 40


View Profile
January 04, 2014, 12:02:12 PM
 #8

Very good. Allows use of multisigs without installing bitcoin-qt and downloading the blockchain.

However you shouldn't use the word "escrow" to describe this. This isn't escrow because the escrow agent cannot run off with the money. Also "escrow" agents are heavily regulated in many parts of the world, while arbitrators, adjudicators, mediators, judges, reconcilers, referees, umpires, etc are not subject to that regulation.
Changing the word doesn't change much in law, but its bad to give the wrong idea to lawyers since multisig transactions are not something that's ever existed before to my knowledge.

Also you might want to look at http://www.bitrated.com/ which does the same thing but requires an account and has some other features. I don't think it can be easily used with an online auction site, like bitmit.net with multisigs. Your site seems much better for that.


edit: some other thoughts.
1. If the public key is copied in with a mistake it could lead to loss of funds. Perhaps we need a standard for base58check public keys? According to the wiki (https://en.bitcoin.it/wiki/Base58Check_encoding#Version_bytes) you'd use the version byte 42 but it's marked "proposed" and I can't find any other info on it.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 04, 2014, 01:15:08 PM
 #9

Very good. Allows use of multisigs without installing bitcoin-qt and downloading the blockchain.

However you shouldn't use the word "escrow" to describe this. This isn't escrow because the escrow agent cannot run off with the money. Also "escrow" agents are heavily regulated in many parts of the world, while arbitrators, adjudicators, mediators, judges, reconcilers, referees, umpires, etc are not subject to that regulation.
Changing the word doesn't change much in law, but its bad to give the wrong idea to lawyers since multisig transactions are not something that's ever existed before to my knowledge.

Also you might want to look at http://www.bitrated.com/ which does the same thing but requires an account and has some other features. I don't think it can be easily used with an online auction site, like bitmit.net with multisigs. Your site seems much better for that.


edit: some other thoughts.
1. If the public key is copied in with a mistake it could lead to loss of funds. Perhaps we need a standard for base58check public keys? According to the wiki (https://en.bitcoin.it/wiki/Base58Check_encoding#Version_bytes) you'd use the version byte 42 but it's marked "proposed" and I can't find any other info on it.

Good point on the terminology, you're right, "escrow" probably isn't the right term. I'll have a think about what to change it to, but I am open to suggestions..

Also I agree I should validate the public keys, to prevent loss of funds, I'll try and come up with something later today.

Thanks for the feedback Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 05, 2014, 10:55:59 PM
 #10

1. If the public key is copied in with a mistake it could lead to loss of funds. Perhaps we need a standard for base58check public keys? According to the wiki (https://en.bitcoin.it/wiki/Base58Check_encoding#Version_bytes) you'd use the version byte 42 but it's marked "proposed" and I can't find any other info on it.

Added a check to make sure public keys are valid Smiley

Also, looking to also re-brand it from "escrow" to something else, any suggestions are welcome.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
shesek
Newbie
*
Offline Offline

Activity: 21


View Profile
January 06, 2014, 12:57:03 PM
 #11

OutCast3k, congrats on the release! We talked about it awhile ago on IRC, I'm glad to see you released it.

Also you might want to look at http://www.bitrated.com/ which does the same thing but requires an account and has some other features. I don't think it can be easily used with an online auction site, like bitmit.net with multisigs. Your site seems much better for that.

It doesn't do the same thing; Coinb.in has a general purpose tool that can be used for many kinds of multi-signature transactions, while Bitrated was created specifically to facilitate arbitration services and has an interface that was optimized for that purpose. Also, Bitrated does not require setting up an account - its optional and only for arbitrators that wants to be listed on the website, and buyers/sellers don't have accounts at all (and I believe it should be quite easy to use with something like bitmit).


Bitrated user: nadav.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 06, 2014, 08:28:22 PM
 #12

OutCast3k, congrats on the release! We talked about it awhile ago on IRC, I'm glad to see you released it.

Also you might want to look at http://www.bitrated.com/ which does the same thing but requires an account and has some other features. I don't think it can be easily used with an online auction site, like bitmit.net with multisigs. Your site seems much better for that.

It doesn't do the same thing; Coinb.in has a general purpose tool that can be used for many kinds of multi-signature transactions, while Bitrated was created specifically to facilitate arbitration services and has an interface that was optimized for that purpose. Also, Bitrated does not require setting up an account - its optional and only for arbitrators that wants to be listed on the website, and buyers/sellers don't have accounts at all (and I believe it should be quite easy to use with something like bitmit).



Thanks mate Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
yakov
Jr. Member
*
Offline Offline

Activity: 40


View Profile
January 06, 2014, 11:40:54 PM
 #13

OutCast3k, congrats on the release! We talked about it awhile ago on IRC, I'm glad to see you released it.

Also you might want to look at http://www.bitrated.com/ which does the same thing but requires an account and has some other features. I don't think it can be easily used with an online auction site, like bitmit.net with multisigs. Your site seems much better for that.

It doesn't do the same thing; Coinb.in has a general purpose tool that can be used for many kinds of multi-signature transactions, while Bitrated was created specifically to facilitate arbitration services and has an interface that was optimized for that purpose. Also, Bitrated does not require setting up an account - its optional and only for arbitrators that wants to be listed on the website, and buyers/sellers don't have accounts at all (and I believe it should be quite easy to use with something like bitmit).

Thanks for the correction. Sorry about the misinformation.
jcrubino
Member
**
Offline Offline

Activity: 84


View Profile
January 11, 2014, 09:03:20 PM
 #14

Coin.bin is a fantastic set of tools.

I am not familiar with javacript or crypto to start changing things but how do I set this to use testnet addresses,
I would guess it has to do with x.unshift being set to 0x11

Is that correct?
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 15, 2014, 11:06:46 AM
 #15

Coin.bin is a fantastic set of tools.

I am not familiar with javacript or crypto to start changing things but how do I set this to use testnet addresses,
I would guess it has to do with x.unshift being set to 0x11

Is that correct?

It looks about right, but you might need a few extra tweaks also. I'll look into making a testnet mode for it shortly Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
monsterer
Legendary
*
Offline Offline

Activity: 1008


View Profile
January 15, 2014, 08:32:18 PM
 #16

Have you yet run into the problem that I just have?

Very few people in the real world posses a client capable of sending coins to a multi-sig address. Testnet worked fine for me, but on mainnet blockchain.info doesn't support multi-sig sending, for example....
crazy_rabbit
Legendary
*
Offline Offline

Activity: 1162


RUM AND CARROTS: A PIRATE LIFE FOR ME


View Profile
January 15, 2014, 09:43:17 PM
 #17

Very cool! I'll be watching this!

more or less retired.
yakov
Jr. Member
*
Offline Offline

Activity: 40


View Profile
January 18, 2014, 12:13:27 PM
 #18

Have you yet run into the problem that I just have?

Very few people in the real world posses a client capable of sending coins to a multi-sig address. Testnet worked fine for me, but on mainnet blockchain.info doesn't support multi-sig sending, for example....

bitcoinqt and electrum send to them.
Which is ridiculous, p2sh addresses have been out for years.
drakoin
Hero Member
*****
Offline Offline

Activity: 770

see my profile


View Profile
January 21, 2014, 06:18:11 PM
 #19

Very interesting.

How do I get my public key? 

The multibit client provides a "Tools ... Export Private Keys" option.
And the qt client has dumprivkey.

But how do I get my PUBLIC keys?


There might be a manual there already, but:

" these can be extracted from the bitcoin client or generated using the form below "

The link is an empty "javascript:;"


no sign of a signature
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 21, 2014, 08:14:04 PM
 #20

Very interesting.

How do I get my public key?  

The multibit client provides a "Tools ... Export Private Keys" option.
And the qt client has dumprivkey.

But how do I get my PUBLIC keys?


There might be a manual there already, but:

" these can be extracted from the bitcoin client or generated using the form below "

The link is an empty "javascript:;"



Via bitcoin-qt, click help, then click "Debug window", then choose the console tab, and finally enter the following command:

Code:
verifyaddress <youraddress>

It will then return some data, including a pubkey for that address.

Please keep in mind that it can only provide pubkeys for addresses in your wallet. Addresses that aren't in your wallet, will still return similar data but without a pub key.

Sorry about the dead link, I keep meaning to write a guide for it, I've been a little busy and not had time yet - I'll do it this evening though to avoid any future confusion.

Hope that helps. Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
btcmsia
Newbie
*
Offline Offline

Activity: 2


View Profile
January 22, 2014, 06:24:29 AM
 #21

could you make it to support compressed keys?

i'm using bitcoin-qt v0.8.6 now, all new addresses generated in my wallets only use compressed keys.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 22, 2014, 10:06:02 AM
 #22

could you make it to support compressed keys?

i'm using bitcoin-qt v0.8.6 now, all new addresses generated in my wallets only use compressed keys.


Unfortunately, you can't use an address in replace of a pubkey.

An address is a one way hash of a pubkey. Its not possible to use an address because it cant be used to generate a pubkey, and its the pubkeys (which is included in the redeem scripts) that are needed to validate the signatures in a transaction when you release/send the coins from your mutlsig address.

If you want to find a pubkey, of an address in bitcoin-qt then, click help, then click the "Debug window", then choose the console tab, and finally enter the following command:

Code:
verifyaddress <youraddress>

The console will then output some data, including a pubkey. You will only be provided pubkeys for addresses in your wallet.

I will add these instructions to the page very very shortly.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
ktorn
Jr. Member
*
Offline Offline

Activity: 32


View Profile
January 22, 2014, 01:23:49 PM
 #23

could you make it to support compressed keys?
Unfortunately, you can't use an address in replace of a pubkey.

I think btcmsia is talking about compressed public keys, not addresses.
When you 'validateaddress' a Bitcoin-qt v0.8.x address, what you get are compressed public keys ("iscompressed":"true") whereas coinb.in expects uncompressed ones.


In my case I'm trying to use coinb.in to create and use a 2-of-2 address, but I'm stuck. I've done all the operations below from coinb.in:

1 ) generated 2 sets of Bitcoin keys (so 2 addresses, 2 public uncompressed keys, and 2 private keys)
2 ) generated a 2-of-2 p2sh address using the public keys from step #1
3 ) sent 0.0022 BTC to that p2sh address

So far so good. The funds are in the p2sh address, with 12 confirmations as I type this.

This is where the problems begin.

When creating a transaction, it looks like it doesn't support sending to p2sh addresses  Shocked, so I can't send change back to the address that I just created, nor to any other p2sh address (I have tried a couple of them). It only generates the transaction hex when I use non p2sh addresses. That is a significant issue for me. I really need to send the change back to the same address.

Anyway, I decided to retrieve the BTC back to one of my non p2sh addresses, and I'm still stuck. Here's the steps I've taken:

4 ) generate new transaction using redeem script from step #2, sending 0.0021 to a normal bitcoin address and with 0.0001 fee. Transaction hex is generated successfully.
5 ) verify the transaction hex from step #4. the verification is successful, and the input and outputs look OK.
6 ) sign transaction hex from step #4 with first private key from step #1
7 ) sign transaction hex from step #6 with second private key from step #1
8 ) broadcast the transaction hex from step 7
"TX rejected" Sad

I noticed that the signed transaction hex from steps #6 and #7 cannot be verified like the original transaction hex in step #5, with "Unable to decode" error. However when pasting those same hex strings to https://coinb.in/decode-raw-transaction.html it decodes them successfully.

Any idea what could be going wrong with this?
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 22, 2014, 04:46:16 PM
 #24

In my case I'm trying to use coinb.in to create and use a 2-of-2 address, but I'm stuck. I've done all the operations below from coinb.in:

1 ) generated 2 sets of Bitcoin keys (so 2 addresses, 2 public uncompressed keys, and 2 private keys)
2 ) generated a 2-of-2 p2sh address using the public keys from step #1
3 ) sent 0.0022 BTC to that p2sh address

So far so good. The funds are in the p2sh address, with 12 confirmations as I type this.

This is where the problems begin.

When creating a transaction, it looks like it doesn't support sending to p2sh addresses  Shocked, so I can't send change back to the address that I just created, nor to any other p2sh address (I have tried a couple of them). It only generates the transaction hex when I use non p2sh addresses. That is a significant issue for me. I really need to send the change back to the same address.

Anyway, I decided to retrieve the BTC back to one of my non p2sh addresses, and I'm still stuck. Here's the steps I've taken:

4 ) generate new transaction using redeem script from step #2, sending 0.0021 to a normal bitcoin address and with 0.0001 fee. Transaction hex is generated successfully.
5 ) verify the transaction hex from step #4. the verification is successful, and the input and outputs look OK.
6 ) sign transaction hex from step #4 with first private key from step #1
7 ) sign transaction hex from step #6 with second private key from step #1
8 ) broadcast the transaction hex from step 7
"TX rejected" Sad

I noticed that the signed transaction hex from steps #6 and #7 cannot be verified like the original transaction hex in step #5, with "Unable to decode" error. However when pasting those same hex strings to https://coinb.in/decode-raw-transaction.html it decodes them successfully.

Any idea what could be going wrong with this?

Hey ktorn,

I'll get the issue sorted with not being able to send back to multi sig addresses, but first lets find out what went wrong when building a serialized/hex transaction and recover your funds.

If you cant pop back on IRC (I missed you by 15 minutes), and you're still having problems, can you PM me the following;

1, the public keys you used.
2, the minimum number of signatures required you set.
3, the address and redeemScript it generated for you.

Thanks.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
ABISprotocol
Sr. Member
****
Offline Offline

Activity: 251

ABISprotocol on Gist


View Profile WWW
January 22, 2014, 06:59:13 PM
 #25

Thanks!

ABISprotocol (Github/Gist)
http://abis.io
ADcoin.me
Hero Member
*****
Offline Offline

Activity: 602


View Profile
January 22, 2014, 07:16:00 PM
 #26

Great! Well done, keep up the good work! opensource marketplace would be so nice! Go for it, please. Cheesy
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 22, 2014, 07:25:19 PM
 #27

In my case I'm trying to use coinb.in to create and use a 2-of-2 address, but I'm stuck. I've done all the operations below from coinb.in:

1 ) generated 2 sets of Bitcoin keys (so 2 addresses, 2 public uncompressed keys, and 2 private keys)
2 ) generated a 2-of-2 p2sh address using the public keys from step #1
3 ) sent 0.0022 BTC to that p2sh address

So far so good. The funds are in the p2sh address, with 12 confirmations as I type this.

This is where the problems begin.

When creating a transaction, it looks like it doesn't support sending to p2sh addresses  Shocked, so I can't send change back to the address that I just created, nor to any other p2sh address (I have tried a couple of them). It only generates the transaction hex when I use non p2sh addresses. That is a significant issue for me. I really need to send the change back to the same address.

Anyway, I decided to retrieve the BTC back to one of my non p2sh addresses, and I'm still stuck. Here's the steps I've taken:

4 ) generate new transaction using redeem script from step #2, sending 0.0021 to a normal bitcoin address and with 0.0001 fee. Transaction hex is generated successfully.
5 ) verify the transaction hex from step #4. the verification is successful, and the input and outputs look OK.
6 ) sign transaction hex from step #4 with first private key from step #1
7 ) sign transaction hex from step #6 with second private key from step #1
8 ) broadcast the transaction hex from step 7
"TX rejected" Sad

I noticed that the signed transaction hex from steps #6 and #7 cannot be verified like the original transaction hex in step #5, with "Unable to decode" error. However when pasting those same hex strings to https://coinb.in/decode-raw-transaction.html it decodes them successfully.

Any idea what could be going wrong with this?

Thanks for providing the information via pm/irc, the bug found should be fixed. If you could re-test and get back to me that would be great, thanks.

Start from step 4.

Cheers Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 22, 2014, 07:26:35 PM
 #28

Great! Well done, keep up the good work! opensource marketplace would be so nice! Go for it, please. Cheesy

Got a fair chunk of the code in place Wink its just finding the time to finish it off.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
ktorn
Jr. Member
*
Offline Offline

Activity: 32


View Profile
January 23, 2014, 01:09:53 AM
 #29

Thanks for providing the information via pm/irc, the bug found should be fixed. If you could re-test and get back to me that would be great, thanks.

Start from step 4.

Definitely progress, the transaction now validates after signing, but still TX rejected when broadcasting. I've PM'd you the signed tx hex.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 23, 2014, 10:21:27 AM
 #30

Thanks for providing the information via pm/irc, the bug found should be fixed. If you could re-test and get back to me that would be great, thanks.

Start from step 4.

Definitely progress, the transaction now validates after signing, but still TX rejected when broadcasting. I've PM'd you the signed tx hex.

You've not mistakenly signed the transaction twice, but with the same key have you??

I've run 3-4 tests this morning, everything is working fine from my perspective, could you get in touch again via IRC so we can go through it step by step in an attempt to reproduce this bug.

Thanks

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
ktorn
Jr. Member
*
Offline Offline

Activity: 32


View Profile
January 23, 2014, 04:04:58 PM
 #31

OK, after going over a few tests with OutCast3k we think we nailed the issue.

In a nutshell: Currently the order of the signatures matters.

Our tests involved a 2-of-2 multisig address, which I created with 2 pubkeys (lets call them pub1 and pub2).

When spending from the multisig address, signing the transaction with priv1 first and priv2 second always failed when broadcasting (with TX rejected).
But when signing the same transaction in the opposite order, using priv2 first and priv1 secondly the broadcast worked OK.  Cool

Thanks OutCast3k for spending a considerable amount of time in troubleshooting this! Smiley
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 23, 2014, 10:06:44 PM
 #32

OK, after going over a few tests with OutCast3k we think we nailed the issue.

In a nutshell: Currently the order of the signatures matters.

Our tests involved a 2-of-2 multisig address, which I created with 2 pubkeys (lets call them pub1 and pub2).

When spending from the multisig address, signing the transaction with priv1 first and priv2 second always failed when broadcasting (with TX rejected).
But when signing the same transaction in the opposite order, using priv2 first and priv1 secondly the broadcast worked OK.  Cool

Thanks OutCast3k for spending a considerable amount of time in troubleshooting this! Smiley

Yup, the order of the signatures seems to matter, I'll currently trying to work out a solution.

Thanks ktorn, for beta testing and finding the issue.

Will post back when fixed.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 24, 2014, 12:41:16 AM
 #33

OK, after going over a few tests with OutCast3k we think we nailed the issue.

In a nutshell: Currently the order of the signatures matters.

Our tests involved a 2-of-2 multisig address, which I created with 2 pubkeys (lets call them pub1 and pub2).

When spending from the multisig address, signing the transaction with priv1 first and priv2 second always failed when broadcasting (with TX rejected).
But when signing the same transaction in the opposite order, using priv2 first and priv1 secondly the broadcast worked OK.  Cool

Thanks OutCast3k for spending a considerable amount of time in troubleshooting this! Smiley

Yup, the order of the signatures seems to matter, I'll currently trying to work out a solution.

Thanks ktorn, for beta testing and finding the issue.

Will post back when fixed.

This issue has now been fixed Smiley the order that signatures are added no longer matters.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
ktorn
Jr. Member
*
Offline Offline

Activity: 32


View Profile
January 24, 2014, 06:58:53 AM
 #34

This issue has now been fixed Smiley the order that signatures are added no longer matters.

I've just tested it twice, switching the order of the signing keys between tests, and both transactions were successful.
Your fix works! Smiley

Now that P2SH output support that we talked about earlier would be the icing on the cake Wink
Should I nudge the bitcoinjs folks about the issue or do you want to have a go at it?
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 24, 2014, 08:37:48 AM
 #35

This issue has now been fixed Smiley the order that signatures are added no longer matters.

I've just tested it twice, switching the order of the signing keys between tests, and both transactions were successful.
Your fix works! Smiley

Now that P2SH output support that we talked about earlier would be the icing on the cake Wink
Should I nudge the bitcoinjs folks about the issue or do you want to have a go at it?

I'll look into supporting the ability to send back to a multisig address later today, it shouldn't be that big of a deal. I don't think you'll get a response from the bitcoinjs guys.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
ktorn
Jr. Member
*
Offline Offline

Activity: 32


View Profile
January 24, 2014, 09:31:41 AM
 #36

I'll look into supporting the ability to send back to a multisig address later today, it shouldn't be that big of a deal. I don't think you'll get a response from the bitcoinjs guys.

Yeah, I've noticed that their github repo hasn't be touched in a while. Ping me when you patch the code and I'll give it a test on this side.
btcmsia
Newbie
*
Offline Offline

Activity: 2


View Profile
January 24, 2014, 05:07:04 PM
 #37

Unfortunately, you can't use an address in replace of a pubkey.

An address is a one way hash of a pubkey. Its not possible to use an address because it cant be used to generate a pubkey, and its the pubkeys (which is included in the redeem scripts) that are needed to validate the signatures in a transaction when you release/send the coins from your mutlsig address.

I'm talking about compressed public key, not address.

latest bitcoin-qt client seems only generate address from compressed public key.
so all my addresses are associated with compressed publickey (prefix with 02/03, not 04).
and when compressed publickeys are used, their private keys also in different format, (prfix with K/L instead of 5)

there will be a compatible issue if your apps only support uncompressed pkey.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 26, 2014, 11:30:21 AM
 #38

Just a small update.

If anyone is running my script offline, I've fixed a lot of bugs so i'd suggest getting an update from github.

latest bitcoin-qt client seems only generate address from compressed public key.
so all my addresses are associated with compressed publickey (prefix with 02/03, not 04).
and when compressed publickeys are used, their private keys also in different format, (prfix with K/L instead of 5)

@btcmsia I will look into this, but will have to get back to you before I promise anything. You can always generate a pubkey from the new keys tab, https://coinb.in/multisig/#newKeys You could also use bitaddress.org or brainwallet.org to generate keys pretty quickly.

Now that P2SH output support that we talked about earlier would be the icing on the cake Wink
Should I nudge the bitcoinjs folks about the issue or do you want to have a go at it?

@ktorn I've been looking into it, its a little trickier than I first thought but should have it resolved over the next couple of days.

Many thanks to everyone who has been testing Cheesy

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
ABISprotocol
Sr. Member
****
Offline Offline

Activity: 251

ABISprotocol on Gist


View Profile WWW
January 26, 2014, 09:55:24 PM
 #39

OutCast3k:

thank you, you are a good entity

much thanks

very excellent

etc

ABISprotocol (Github/Gist)
http://abis.io
ktorn
Jr. Member
*
Offline Offline

Activity: 32


View Profile
January 27, 2014, 06:34:46 AM
 #40

@ktorn I've been looking into it, its a little trickier than I first thought but should have it resolved over the next couple of days.
No worries, take your time.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
January 28, 2014, 06:38:40 PM
 #41

@ktorn I've been looking into it, its a little trickier than I first thought but should have it resolved over the next couple of days.
No worries, take your time.

Fixed Cheesy you can now send back to a multisig address.

One of my test cases http://blockchain.info/tx/832679f95685a8178bc7128dd3450fc29d0552a3ee6bcc3f1254f48d0ba4e0c4

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
ktorn
Jr. Member
*
Offline Offline

Activity: 32


View Profile
January 29, 2014, 05:29:19 AM
 #42

Fixed Cheesy you can now send back to a multisig address.

I've tested and it works for me as well: https://blockchain.info/tx/13326d4e0aa8ed620d4d28d26810f4ac9ce75e508d84b218f281c681389abdbd

Great work OutCast3k!  Cheesy
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
January 30, 2014, 02:15:54 AM
 #43

This is an awesome project, very glad I saw this thread. I'm working on implementing multisig into Bitwasp, and currently support for multisig sucks in the clients. I was hoping someone would come up with a stateless signing tool. Looking forward to your marketplace, I haven't seen another open source one before Smiley

Bitwasp Developer.
RagnarDanneskjold
Full Member
***
Offline Offline

Activity: 152



View Profile WWW
January 31, 2014, 09:43:27 AM
 #44

This is an awesome project, very glad I saw this thread.
+1 million!

Great stuff outkast - i will use this EVERY day from now on


this referral link funds my cex addiction - so thanks for NOTHING!!! | git  | #cex-squawk | BlockVC | ID
'Bitcoin is the progress toward a society of privacy. The savage’s whole existence is public, ruled by the laws of his tribe. Bitcoin is the process of setting man free from men'
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
January 31, 2014, 03:23:01 PM
 #45

Just ran through a test transaction, this works great! Kudos again. My shitty laptop apparently can't sign transactions, the script crashes, but I've tested it successfully on another machine, works a treat. 3cac39fc4aefc65aaa5419a60ab52aebc01d3c55f178a8ebe274650916cf38d6


Bitwasp Developer.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
February 02, 2014, 03:25:47 PM
 #46

Just ran through a test transaction, this works great! Kudos again. My shitty laptop apparently can't sign transactions, the script crashes, but I've tested it successfully on another machine, works a treat. 3cac39fc4aefc65aaa5419a60ab52aebc01d3c55f178a8ebe274650916cf38d6

Good to hear it worked.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
vm_mpn
Hero Member
*****
Offline Offline

Activity: 594


View Profile
February 02, 2014, 06:22:28 PM
 #47

I just have to say - It's amazing what you guys are doing...

Thank You!
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
February 03, 2014, 10:50:10 PM
 #48

I just have to say - It's amazing what you guys are doing...

Thank You!

Thanks Smiley

This is an awesome project, very glad I saw this thread.
+1 million!

Great stuff outkast - i will use this EVERY day from now on



Thanks Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2394


I support freedom of choice


View Profile WWW
February 06, 2014, 04:14:27 PM
 #49

I would be cool if someone could make an easy android app to arrange and start a poker match.
So everyone will be able to play poker everywhere with just their smartphone and empty pockets Smiley

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
em
Newbie
*
Offline Offline

Activity: 4


View Profile
February 07, 2014, 12:02:46 PM
 #50

Maybe I'm missing something, but I think that with this method the Seller is at a disadvantage here, because the Buyer might renege on his promise and not sign the transaction after receiving the goods (e.g., unless the Seller ship an extra amount of goods). True, a mediator could break the tie if two signatures over three were sufficient to release the payment, but it would be much better if recourse to trusted third parties could be minimized.
A scheme that might work better would run as follows:

- After reaching a verbal agreement, Buyer issues a "Conditional payment" for Seller (which at this stage Buyer may cancel at any time)
- Seller accepts the payment by "posting a bond" of, say, X% of the amount.  The payment's status becomes "Committed", and Buyer can't cancel it anymore.
- Seller ships the goods
- Buyer receives the goods, and "releases the payment": the initial amount is paid to Seller, and at the same time the bond is paid back to Buyer.

Is it possible to implement this protocol with p2sh primitives?
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
February 07, 2014, 01:06:21 PM
 #51

Maybe I'm missing something, but I think that with this method the Seller is at a disadvantage here, because the Buyer might renege on his promise and not sign the transaction after receiving the goods (e.g., unless the Seller ship an extra amount of goods). True, a mediator could break the tie if two signatures over three were sufficient to release the payment, but it would be much better if recourse to trusted third parties could be minimized.
A scheme that might work better would run as follows:

- After reaching a verbal agreement, Buyer issues a "Conditional payment" for Seller (which at this stage s/he may cancel at any time)
- Seller accepts the payment by "posting a bond" of, say, X% of the amount.  The payment's status becomes "Committed", and Buyer can't cancel it anymore.
- Seller ships the goods
- Buyer receives the goods, and "releases the payment": the initial amount is paid to Seller, and at the same time the bond is paid back to Buyer.

Is it possible to implement this protocol with p2sh primitives?

Hey,

Thanks for the feedback.

You've mentioned that the sellers maybe put at a disadvantage here because the buyer may not sign the transaction, well, there are many tried and tested sites where this type of system works. Such as; localbitcoins, bitmit, coingig or even all those .onion sites and the mediators do just fine - but these sites require you to fully trust them, as they expect the coins to be deposited in their wallet and the buyer presses a "release button", as opposed to a multisig address, where no single person can steal them or claim they've been hacked, etc etc..

I also suspect many highly trusted sellers would just accept payment directly anyway.

Anyway, unless I've miss understood your suggestion, it is not possible to do as payments can not be "cancelled".

All the best

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
February 07, 2014, 01:09:12 PM
 #52

I would be cool if someone could make an easy android app to arrange and start a poker match.
So everyone will be able to play poker everywhere with just their smartphone and empty pockets Smiley

Nice idea... final project could be pretty awesome.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
em
Newbie
*
Offline Offline

Activity: 4


View Profile
February 08, 2014, 11:43:05 AM
 #53


You've mentioned that the sellers maybe put at a disadvantage here because the buyer may not sign the transaction, well, there are many tried and tested sites where this type of system works. Such as; localbitcoins, bitmit, coingig or even all those .onion sites - but these sites require you to fully trust them, as they expect the coins to be deposited in their wallet and the buyer presses a "release button", as opposed to a multisig address, where no single person can steal them or claim they've been hacked, etc etc..


Exactly: here we are trying to avoid the need for trusted third parties policing the transactions. And often they rely on a separate trust metrics for assessing the participants: for example, Bitcoin.de has a system of mutual ratings among users based on the number of successful settlements, and each user's rating is visible to all other users. But this requires a centralized database and someone to maintain it, and we don't want that.

Anyway, unless I've miss understood your suggestion, it is not possible to do as payments can not be "cancelled".

However (please correct me if I'm wrong), I guess it's possible to make a transaction that will pay part of the amount sent to the script hash to one address (the Seller) and part to another (the Buyer). If the Buyer reneged on his agreement and refused to sign and broadcast the transaction after receiving the goods, he would have to forfeit the bond.
RagnarDanneskjold
Full Member
***
Offline Offline

Activity: 152



View Profile WWW
February 08, 2014, 12:38:31 PM
 #54


You've mentioned that the sellers maybe put at a disadvantage here because the buyer may not sign the transaction, well, there are many tried and tested sites where this type of system works. Such as; localbitcoins, bitmit, coingig or even all those .onion sites - but these sites require you to fully trust them, as they expect the coins to be deposited in their wallet and the buyer presses a "release button", as opposed to a multisig address, where no single person can steal them or claim they've been hacked, etc etc..


Exactly: here we are trying to avoid the need for trusted third parties policing the transactions. And often they rely on a separate trust metrics for assessing the participants: for example, Bitcoin.de has a system of mutual ratings among users based on the number of successful settlements, and each user's rating is visible to all other users. But this requires a centralized database and someone to maintain it, and we don't want that.

Anyway, unless I've miss understood your suggestion, it is not possible to do as payments can not be "cancelled".

However (please correct me if I'm wrong), I guess it's possible to make a transaction that will pay part of the amount sent to the script hash to one address (the Seller) and part to another (the Buyer). If the Buyer reneged on his agreement and refused to sign and broadcast the transaction after receiving the goods, he would have to forfeit the bond.

there are a number of ways you could arrange a multisig contract to address what you call bond forfeiture.  Just to be sure, in its basic form, if the multisig address requires more signatures than are available to sign the tx, then funds will remain locked, yes.  So there is extra burden on all parties to be sure keys are safe & available on time.... or, depending on the details & complexity of agreement - additional signer keys could be used, shared, split or other tricks to build in failsafes.

here is an example of an exchange implementation using Outkast's multisig [thanks again - much fun]
http://isx.io

your question 'is it possible to implement this protocol with p2sh primitives?" - p2sh could be html javascripted just like this one if thats what you mean.

See also:
https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki
https://github.com/bitcoin/bips/blob/master/bip-0017.mediawiki
https://github.com/bitcoin/bips/blob/master/bip-0012.mediawiki
http://bitcoin.stackexchange.com/questions/2749/what-is-an-explanation-of-the-p2sh-voting-in-laymans-terms


this referral link funds my cex addiction - so thanks for NOTHING!!! | git  | #cex-squawk | BlockVC | ID
'Bitcoin is the progress toward a society of privacy. The savage’s whole existence is public, ruled by the laws of his tribe. Bitcoin is the process of setting man free from men'
em
Newbie
*
Offline Offline

Activity: 4


View Profile
February 08, 2014, 01:15:12 PM
 #55


here is an example of an exchange implementation using Outkast's multisig [thanks again - much fun]
http://isx.io


Very interesting, thanks.
Miner538
Jr. Member
*
Offline Offline

Activity: 43


Destined to be great


View Profile WWW
February 17, 2014, 02:43:57 PM
 #56

I would be cool if someone could make an easy android app to arrange and start a poker match.
So everyone will be able to play poker everywhere with just their smartphone and empty pockets Smiley

Nice idea... final project could be pretty awesome.

OutCast3k +10000

Great idea, this is going to change the way people view crypto's
Thank you for finding a really neat solution to a safer pay method Grin

1ANbJxTmuWoA7bm4yuUMA4MvPh2qhazMHu
In need of a BTC Miner ?
https://www.kncminer.com/?resellerid=607
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
February 18, 2014, 09:56:46 PM
 #57

I would be cool if someone could make an easy android app to arrange and start a poker match.
So everyone will be able to play poker everywhere with just their smartphone and empty pockets Smiley

Nice idea... final project could be pretty awesome.

OutCast3k +10000

Great idea, this is going to change the way people view crypto's
Thank you for finding a really neat solution to a safer pay method Grin

No problem, I'm just glad to see others find this useful Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
February 19, 2014, 01:55:21 PM
 #58

bitcoinqt and electrum send to them.
Which is ridiculous, p2sh addresses have been out for years.

Bitcoinj recently added support for p2sh, so I'm expecting the android clients will support them soon.

Bitwasp Developer.
Abdussamad
Legendary
*
Offline Offline

Activity: 1316



View Profile WWW
February 19, 2014, 02:28:59 PM
 #59

How does your mediation service work? Specifically:

- Does your 1% fee apply to every transaction or only those transactions involving disputes?

- bitrated has a field where you can enter a transaction agreement or contract that specifies, among other things, what the modes of payment will be and what proof of payment must be provided in the event of a dispute. There is no such field on coinb.in. So how would you decide what to do in the event of a dispute?

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
February 19, 2014, 04:53:27 PM
 #60

How does your mediation service work? Specifically:

- Does your 1% fee apply to every transaction or only those transactions involving disputes?

- bitrated has a field where you can enter a transaction agreement or contract that specifies, among other things, what the modes of payment will be and what proof of payment must be provided in the event of a dispute. There is no such field on coinb.in. So how would you decide what to do in the event of a dispute?

Hey,

As it stands, the 1% fee would only be applied to those transactions involving disputes.

Most users here seem to make an agreement and sign it with their PGP key in the event a dispute arises, a few other users will get in touch first. Saying that, I suppose a possible solution could be to have users create a message/agreement and sign it (in the browser) with their corresponding private key and then that could be used by the mediator if their is a dispute.

Do you have suggestions or preferences yourself? (or anybody else?)

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
Abdussamad
Legendary
*
Offline Offline

Activity: 1316



View Profile WWW
February 19, 2014, 08:32:50 PM
 #61

How does your mediation service work? Specifically:

- Does your 1% fee apply to every transaction or only those transactions involving disputes?

- bitrated has a field where you can enter a transaction agreement or contract that specifies, among other things, what the modes of payment will be and what proof of payment must be provided in the event of a dispute. There is no such field on coinb.in. So how would you decide what to do in the event of a dispute?

Hey,

As it stands, the 1% fee would only be applied to those transactions involving disputes.

Most users here seem to make an agreement and sign it with their PGP key in the event a dispute arises, a few other users will get in touch first. Saying that, I suppose a possible solution could be to have users create a message/agreement and sign it (in the browser) with their corresponding private key and then that could be used by the mediator if their is a dispute.

Do you have suggestions or preferences yourself? (or anybody else?)

Easiest solution would be that the buyer and seller come to an agreement and email it to you. You verify receipt by replying with a quote.

Multisig is hard enough as it is. I think if you asked people to sign messages with private keys they would just blank out Smiley

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
February 20, 2014, 10:10:42 AM
 #62

- snip -

Easiest solution would be that the buyer and seller come to an agreement and email it to you. You verify receipt by replying with a quote.

Multisig is hard enough as it is. I think if you asked people to sign messages with private keys they would just blank out Smiley

I tend to agree, I think I'll just drop a little message explaining they should contact the mediator first.

Thanks for the feedback Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
February 20, 2014, 02:19:07 PM
 #63

OutCast3K, thank you, the code is neat!

I wish you the best, along with a tip Smiley

Good to hear you find the project useful!

Many thanks for the tip Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
jcrubino
Member
**
Offline Offline

Activity: 84


View Profile
February 22, 2014, 05:13:26 AM
 #64

Does the multisig address function accept mixed compressed and uncompressed pubkeys?
unick
Sr. Member
****
Offline Offline

Activity: 378


View Profile
February 24, 2014, 04:47:12 AM
 #65

this is great! keep up the good work.

* I think it would great to explain the process and concepts in more detail on the site. What is a redeem script?

* say I want to implement the following: pay 0.01 BTC to address #A12 if the year in the timestamp of the last block is equal to 2014. what would it take to make this work?

* btw, the link on the site to your profile is broken. I think you want this: https://bitcointalk.org/index.php?action=profile;u=34834  

Thanks for the feedback Smiley

You're right, I will defiantly add more information to the site about the process shortly.

A "redeem script" contains 2 pieces of information, the public keys and the minimum number of signatures required to use it as a spendable input. It is also used to generate the multi signature address itself. There should be some information on the bitcoin wiki about this, but I will also add it to the site shortly.

I believe its possible to manipulate the timestamp of the transaction in the way you've requested, although I will need to do a little bit of testing first.

Thanks for pointing out the broken link, I've since fixed it.

What if I lose the redeemScript? is there a way to retrieve it or regenerate it?  If I don't have the RedeemScript, is it still possible to spend the coins given you have the required keys to "unlock" the transaction?

Awesome Explorers for Awesome Coins | Show some BTC love here: 1AAYAZgaz2me7hyumexUZzcyGRZEYtCx5C
HoboNickels: hbn.blockx.info | BottleCaps: cap.blockx.info | GrowthCoin: grw.blockx.info
RagnarDanneskjold
Full Member
***
Offline Offline

Activity: 152



View Profile WWW
February 24, 2014, 05:59:22 AM
 #66

this is great! keep up the good work.

* I think it would great to explain the process and concepts in more detail on the site. What is a redeem script?

* say I want to implement the following: pay 0.01 BTC to address #A12 if the year in the timestamp of the last block is equal to 2014. what would it take to make this work?

* btw, the link on the site to your profile is broken. I think you want this: https://bitcointalk.org/index.php?action=profile;u=34834  

Thanks for the feedback Smiley

You're right, I will defiantly add more information to the site about the process shortly.

A "redeem script" contains 2 pieces of information, the public keys and the minimum number of signatures required to use it as a spendable input. It is also used to generate the multi signature address itself. There should be some information on the bitcoin wiki about this, but I will also add it to the site shortly.

I believe its possible to manipulate the timestamp of the transaction in the way you've requested, although I will need to do a little bit of testing first.

Thanks for pointing out the broken link, I've since fixed it.

What if I lose the redeemScript? is there a way to retrieve it or regenerate it?  If I don't have the RedeemScript, is it still possible to spend the coins given you have the required keys to "unlock" the transaction?

Yes you can regenerate the redeem script.  You cannot lose your multisig address; you can lose some privkeys - as long as you [or your Agents] saved the total number required to sign.  Best to move & back them up securely [pref using thumbdrive & a browser on a computer that has never connected to the internet ever]

this referral link funds my cex addiction - so thanks for NOTHING!!! | git  | #cex-squawk | BlockVC | ID
'Bitcoin is the progress toward a society of privacy. The savage’s whole existence is public, ruled by the laws of his tribe. Bitcoin is the process of setting man free from men'
RagnarDanneskjold
Full Member
***
Offline Offline

Activity: 152



View Profile WWW
February 24, 2014, 06:34:26 AM
 #67

Does the multisig address function accept mixed compressed and uncompressed pubkeys?
This multisig script does not accept mixed or uncompresed.  [the multisig "function" is not exclusive to this script - you can do multisig txs other ways, but they are not cool]. You can generate new uncompressed keys using this also.  You do not want to sign with a wallet address that's been used or is/was/might ever be holding funds.  You will have to expose your privkey and create unnecessary vulnerabilities to your existing flimsy security efforts.  Better to generate new pubkeys just for controlling your multisig.

this referral link funds my cex addiction - so thanks for NOTHING!!! | git  | #cex-squawk | BlockVC | ID
'Bitcoin is the progress toward a society of privacy. The savage’s whole existence is public, ruled by the laws of his tribe. Bitcoin is the process of setting man free from men'
Peter Todd
Legendary
*
Offline Offline

Activity: 1078


View Profile
February 24, 2014, 09:47:47 AM
 #68

Quote
Enter the uncompressed public keys of all the participants, to create a multi signature address. Maximum of 20 allowed.

This is incorrect actually. While the underlying CHECKMULTISIG opcode can support up to 20 pubkeys, P2SH has an additional limit of 520 bytes for the scriptPubKey. That gives a size-dependent maximum of 15 compressed pubkeys, and just 7 with the larger uncompressed keys.

RagnarDanneskjold
Full Member
***
Offline Offline

Activity: 152



View Profile WWW
February 25, 2014, 01:35:49 AM
 #69

Quote
Enter the uncompressed public keys of all the participants, to create a multi signature address. Maximum of 20 allowed.

This is incorrect actually. While the underlying CHECKMULTISIG opcode can support up to 20 pubkeys, P2SH has an additional limit of 520 bytes for the scriptPubKey. That gives a size-dependent maximum of 15 compressed pubkeys, and just 7 with the larger uncompressed keys.

Perhaps I'm missing something - it seems to work fine for me using 20 uncompressed [dont recall if I've tried having all 20 required signers yet - trying now].  I understand this code somewhat[not enough]; Please elaborate if possible & let me know what lines are P2SH - I thought this was a bit different.  I'm digging through it blindly.

Incidentally, i thought the p2sh git referenced "+22 signatures"
https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki

this referral link funds my cex addiction - so thanks for NOTHING!!! | git  | #cex-squawk | BlockVC | ID
'Bitcoin is the progress toward a society of privacy. The savage’s whole existence is public, ruled by the laws of his tribe. Bitcoin is the process of setting man free from men'
Peter Todd
Legendary
*
Offline Offline

Activity: 1078


View Profile
February 25, 2014, 02:22:24 AM
 #70

Perhaps I'm missing something - it seems to work fine for me using 20 uncompressed [dont recall if I've tried having all 20 required signers yet - trying now].  I understand this code somewhat[not enough]; Please elaborate if possible & let me know what lines are P2SH - I thought this was a bit different.  I'm digging through it blindly.

Incidentally, i thought the p2sh git referenced "+22 signatures"
https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki

That's "signature operations", not signatures. SigOps is just a metric used to restrict the amount of CPU time processing a block takes as an anti-DoS measure - it's got nothing to do with the actual number of signatures.

You'll find you can create that P2SH address with the Bitcoin RPC interface, but you can't actually spend from it succesfully. Kinda misleading really - if you could do up a patch to fix that and make createmultisigaddress raise an error that'd be great.

sullitf
Newbie
*
Offline Offline

Activity: 1


View Profile
March 04, 2014, 04:36:35 AM
 #71

Really great work here OutCast!

I'm working on a project to create a multisig service and need to create keys server-side without exposing them to end users.  My first thought was to refactor your work to run in a node.js server.  Does this seem like a good solution, and if so have you looked into doing anything similar? 

Ultimately I need to be able to create key pairs, validate user public keys, and create/sign multisig addresses.  For signing I am planning to have users partially sign a multisig transaction with their keys and then send that to my server for final signature and broadcasting from the server.  This would likely mean needing to confirm partially signed transactions sent to the server, though I haven't looked into the feasibility of that yet.  Does your code already support partial signing and validation?
waxwing
Sr. Member
****
Offline Offline

Activity: 467


View Profile
March 05, 2014, 04:07:27 PM
 #72

Quote
Enter the uncompressed public keys of all the participants, to create a multi signature address. Maximum of 20 allowed.

This is incorrect actually. While the underlying CHECKMULTISIG opcode can support up to 20 pubkeys, P2SH has an additional limit of 520 bytes for the scriptPubKey. That gives a size-dependent maximum of 15 compressed pubkeys, and just 7 with the larger uncompressed keys.

Peter,
Is there any prospect in the future for these limits to be increased? It seems to me there are quite a lot of applications for larger than 15.
Or if that just leads to unacceptably big transactions even with appropriate fees, is there some way that I haven't quite thought of to combine multisig keys to get bigger consensus mechanisms? Or is it possible to use some kind of Shamir's secret sharing idea? (I only know the idea vaguely, not sure how it would work in practice).

Btw, nice work on the site guys.

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
Peter Todd
Legendary
*
Offline Offline

Activity: 1078


View Profile
March 07, 2014, 02:07:38 PM
 #73

Peter,
Is there any prospect in the future for these limits to be increased? It seems to me there are quite a lot of applications for larger than 15.
Or if that just leads to unacceptably big transactions even with appropriate fees, is there some way that I haven't quite thought of to combine multisig keys to get bigger consensus mechanisms? Or is it possible to use some kind of Shamir's secret sharing idea? (I only know the idea vaguely, not sure how it would work in practice).

Btw, nice work on the site guys.

I'm at the Financial Crypto conference right now and actually just talked to a guy who claims to know of a researcher who has come up with a n-of-m threshold signature scheme that is compatible with existing Bitcoin signatures. Hopefully this will pan out - if it does you'll be able to do secure multisig without a single-point-of-failure (as Shamir's secret sharing does) with transactions and addresses that look identical to standard ones and are the same size as standard transactions. I didn't ask if there were any limits on how many keys could be combined, but there probably aren't.

waxwing
Sr. Member
****
Offline Offline

Activity: 467


View Profile
March 07, 2014, 02:46:09 PM
 #74

Peter,
Is there any prospect in the future for these limits to be increased? It seems to me there are quite a lot of applications for larger than 15.
Or if that just leads to unacceptably big transactions even with appropriate fees, is there some way that I haven't quite thought of to combine multisig keys to get bigger consensus mechanisms? Or is it possible to use some kind of Shamir's secret sharing idea? (I only know the idea vaguely, not sure how it would work in practice).

Btw, nice work on the site guys.

I'm at the Financial Crypto conference right now and actually just talked to a guy who claims to know of a researcher who has come up with a n-of-m threshold signature scheme that is compatible with existing Bitcoin signatures. Hopefully this will pan out - if it does you'll be able to do secure multisig without a single-point-of-failure (as Shamir's secret sharing does) with transactions and addresses that look identical to standard ones and are the same size as standard transactions. I didn't ask if there were any limits on how many keys could be combined, but there probably aren't.

Thanks. I realised after I wrote that that Shamir shares *secrets* not signatures so that's no good (I guess the clue was in the title Smiley ). Could something be hacked together with CoinSwap?

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
Peter Todd
Legendary
*
Offline Offline

Activity: 1078


View Profile
March 07, 2014, 03:07:30 PM
 #75

Thanks. I realised after I wrote that that Shamir shares *secrets* not signatures so that's no good (I guess the clue was in the title Smiley ). Could something be hacked together with CoinSwap?

I don't think so.

The threshold sig stuff sounds pretty far along; for now 15/20 isn't such a bad limitation IMO.

waxwing
Sr. Member
****
Offline Offline

Activity: 467


View Profile
March 07, 2014, 04:05:44 PM
 #76

Thanks. I realised after I wrote that that Shamir shares *secrets* not signatures so that's no good (I guess the clue was in the title Smiley ). Could something be hacked together with CoinSwap?

I don't think so.

The threshold sig stuff sounds pretty far along; for now 15/20 isn't such a bad limitation IMO.

I agree. But no one except Eligius is accepting more than 3 right?

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
Peter Todd
Legendary
*
Offline Offline

Activity: 1078


View Profile
March 07, 2014, 04:23:01 PM
 #77

I agree. But no one except Eligius is accepting more than 3 right?

Actually no! P2SH doesn't have an explicit limitations beyond the 520byte P2SH redeemScript limit, and more importantly the 500-byte scriptSig limit for IsStandard() transactions, so n and m just need to fit within that. Try it!

waxwing
Sr. Member
****
Offline Offline

Activity: 467


View Profile
March 07, 2014, 05:05:45 PM
 #78

I agree. But no one except Eligius is accepting more than 3 right?

Actually no! P2SH doesn't have an explicit limitations beyond the 520byte P2SH redeemScript limit, and more importantly the 500-byte scriptSig limit for IsStandard() transactions, so n and m just need to fit within that. Try it!

Thanks for the tip. Will do Smiley

Edit: actually before I go through all that ... doesn't this mean it won't work?:
Code:
bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType)
{
    vector<valtype> vSolutions;
    if (!Solver(scriptPubKey, whichType, vSolutions))
        return false;

    if (whichType == TX_MULTISIG)
    {
        unsigned char m = vSolutions.front()[0];
        unsigned char n = vSolutions.back()[0];
        // Support up to x-of-3 multisig txns as standard
        if (n < 1 || n > 3)
            return false;
        if (m < 1 || m > n)
            return false;
    }

    return whichType != TX_NONSTANDARD;
}

?

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
Peter Todd
Legendary
*
Offline Offline

Activity: 1078


View Profile
March 07, 2014, 06:16:42 PM
 #79

I agree. But no one except Eligius is accepting more than 3 right?

Actually no! P2SH doesn't have an explicit limitations beyond the 520byte P2SH redeemScript limit, and more importantly the 500-byte scriptSig limit for IsStandard() transactions, so n and m just need to fit within that. Try it!

Thanks for the tip. Will do Smiley

Edit: actually before I go through all that ... doesn't this mean it won't work?:
Code:
bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType)
{
    vector<valtype> vSolutions;
    if (!Solver(scriptPubKey, whichType, vSolutions))
        return false;

    if (whichType == TX_MULTISIG)
    {
        unsigned char m = vSolutions.front()[0];
        unsigned char n = vSolutions.back()[0];
        // Support up to x-of-3 multisig txns as standard
        if (n < 1 || n > 3)
            return false;
        if (m < 1 || m > n)
            return false;
    }

    return whichType != TX_NONSTANDARD;
}

?

Nope - ask yourself if a P2SH output matches that code. Also ask yourself what the code path is that evaluates scriptSigs for standardness.

waxwing
Sr. Member
****
Offline Offline

Activity: 467


View Profile
March 07, 2014, 08:50:42 PM
 #80

Nope - ask yourself if a P2SH output matches that code. Also ask yourself what the code path is that evaluates scriptSigs for standardness.

Cool I managed to do 3 of 4 via an electrum server.

Many thanks for the edumacation Cheesy

Not quite yet capable of figuring it out from the source; but will try to follow your hints at some point...

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 08, 2014, 06:18:43 PM
 #81

Just discovered this... AWESOME!!!
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 08, 2014, 06:26:29 PM
 #82

I have a feature request...

... I'd like to be able to use this script on an offline computer... but right now it checks the balance of the multisig address and won't let me generate a transaction if it think that address has a zero balance. If I'm not online, I'm not sure if it would let me generate a transaction or not... any tips or workarounds?
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 08, 2014, 06:57:20 PM
 #83

I have a feature request...

... I'd like to be able to use this script on an offline computer... but right now it checks the balance of the multisig address and won't let me generate a transaction if it think that address has a zero balance. If I'm not online, I'm not sure if it would let me generate a transaction or not... any tips or workarounds?

I'll probably just edit the source code locally for what I want... but, for what it's worth, I think other people may want to run this on an offline computer too.

Just made my first successful multisignature transaction with this. Pretty sweet.
fireduck
Sr. Member
****
Offline Offline

Activity: 366



View Profile
March 10, 2014, 05:38:54 PM
 #84

Thanks for doing this important work for Bitcoin.  I think tools like this are really important to keeping things accessible and useful.

https://blockchain.info/tx/edd6cac670dd5ac99016dff17025faa8a953b6df59ed37ac9ffbbaeb7c2c1939

Feature request: Signed release notes

I don't think it is necessary to do what is being done with bitaddress.org (single source file with checksum built into filename) but a signed release would be cool.

A simple version log simple like:

--- Version 0.1 2014.03.10 ----
: sha1sum index.html js/* css/*
217379fdde1e208fcebef231e4e45af87db108cc  index.html
add6e1cd5358e701748df05d27b1ea12242ea2bd  js/bitcoinjs-min.js
66c84a3b3549a33997247e1f8032f172453682d3  js/bootstrap.js
15a81fe4074f920898e98b1b42cf11bda26da0a8  js/bootstrap.min.js
ae49e56999d82802727455f0ba83b63acd90a22b  js/jquery-1.9.1.min.js
64ccd2fa29f517043101a651845a3e73e29fd2db  css/bootstrap.css
ff1c6a04dd80cba8521a850cae728abb41ea9ef3  css/bootstrap.min.css
95d87b7b04ee6dd10a855127ea1bcfa75afdeada  css/bootstrap-theme.css
3b38955d745c3fa36017f3cb7d72ceb18c587e66  css/bootstrap-theme.min.css
8297b8f4d686ec6c65981077514975e06ce41812  css/style.css

In this version, angry wombats should no longer plague users.  Also, badger mode is enabled by default as it is very popular.


OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
March 11, 2014, 10:59:41 AM
 #85

Thanks for doing this important work for Bitcoin.  I think tools like this are really important to keeping things accessible and useful.

https://blockchain.info/tx/edd6cac670dd5ac99016dff17025faa8a953b6df59ed37ac9ffbbaeb7c2c1939

Feature request: Signed release notes

I don't think it is necessary to do what is being done with bitaddress.org (single source file with checksum built into filename) but a signed release would be cool.

A simple version log simple like:

--- Version 0.1 2014.03.10 ----
: sha1sum index.html js/* css/*
217379fdde1e208fcebef231e4e45af87db108cc  index.html
add6e1cd5358e701748df05d27b1ea12242ea2bd  js/bitcoinjs-min.js
66c84a3b3549a33997247e1f8032f172453682d3  js/bootstrap.js
15a81fe4074f920898e98b1b42cf11bda26da0a8  js/bootstrap.min.js
ae49e56999d82802727455f0ba83b63acd90a22b  js/jquery-1.9.1.min.js
64ccd2fa29f517043101a651845a3e73e29fd2db  css/bootstrap.css
ff1c6a04dd80cba8521a850cae728abb41ea9ef3  css/bootstrap.min.css
95d87b7b04ee6dd10a855127ea1bcfa75afdeada  css/bootstrap-theme.css
3b38955d745c3fa36017f3cb7d72ceb18c587e66  css/bootstrap-theme.min.css
8297b8f4d686ec6c65981077514975e06ce41812  css/style.css

In this version, angry wombats should no longer plague users.  Also, badger mode is enabled by default as it is very popular.


Thanks, I'm glad you like the project, and thanks for the tip, very grateful.

I will happily include a checksum log with any future updates, good suggestion!

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
March 11, 2014, 01:52:18 PM
 #86

I have a feature request...

... I'd like to be able to use this script on an offline computer... but right now it checks the balance of the multisig address and won't let me generate a transaction if it think that address has a zero balance. If I'm not online, I'm not sure if it would let me generate a transaction or not... any tips or workarounds?

I'll probably just edit the source code locally for what I want... but, for what it's worth, I think other people may want to run this on an offline computer too.

Just made my first successful multisignature transaction with this. Pretty sweet.

I will have a think about this feature and consider adding it to the next update.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 11, 2014, 03:05:59 PM
 #87

I have a feature request...

... I'd like to be able to use this script on an offline computer... but right now it checks the balance of the multisig address and won't let me generate a transaction if it think that address has a zero balance. If I'm not online, I'm not sure if it would let me generate a transaction or not... any tips or workarounds?

I'll probably just edit the source code locally for what I want... but, for what it's worth, I think other people may want to run this on an offline computer too.

Just made my first successful multisignature transaction with this. Pretty sweet.

I will have a think about this feature and consider adding it to the next update.

I'll make sure to donate if you do Wink
americandesi
Sr. Member
****
Offline Offline

Activity: 434


BTC < > INR & USD


View Profile
March 14, 2014, 03:05:09 AM
 #88

Very nice implementation. Watching it.
I have a a couple of quick questions if someone can clarify.

1) What are the requirements / pre-requisite softwares or client that is required to be running on the server to implement it.

2) On coinb.in/multisig i see that there is a 1% Agent fee option. How does that work? Is it like as soon as the multi-address is funded, the 1% fee is sent to OutCast3k's (or any agent's) bitcoin address.?

Thanks,

Always buying and selling btc in bulk.!
Have I helped you out?  Send a donation! : 1ADesitf6McNmFw5wAN1y86bvyHLB5gR6P
My Reputation Thread : https://bitcointalk.org/index.php?topic=252042.0
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 20, 2014, 11:29:10 PM
 #89

Do 3 of 4 transactions work? Somebody told me that miners won't mine them...

EDIT: Nevermind, just did a 3 of 4 transaction that was mined successfully. Great!
WiW
Sr. Member
****
Offline Offline

Activity: 277


"The public is stupid, hence the public will pay"


View Profile
March 23, 2014, 05:37:58 PM
 #90

Trying to figure out how the signature process works (so far only getting rejections). Do I broadcast signed(txn,key1)+signed(txn,key2) or do I broadcast signed(signed(txn,key1),key2)?

Was about to offer a bounty for someone to do this... Thanks!
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 23, 2014, 05:47:17 PM
 #91

Trying to figure out how the signature process works (so far only getting rejections). Do I broadcast signed(txn,key1)+signed(txn,key2) or do I broadcast signed(signed(txn,key1),key2)?

Was about to offer a bounty for someone to do this... Thanks!

The second one.
WiW
Sr. Member
****
Offline Offline

Activity: 277


"The public is stupid, hence the public will pay"


View Profile
March 23, 2014, 11:05:15 PM
 #92

My 3 of 5 is being rejected... The "verify script" shows all in order. Blockchain.info pushtx:
Quote
Script not of right size, expecting 2 but got 5
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 23, 2014, 11:30:11 PM
 #93

My 3 of 5 is being rejected... The "verify script" shows all in order. Blockchain.info pushtx:
Quote
Script not of right size, expecting 2 but got 5

I couldn't use Blockchain.info's pushtx for this. *shrugs*

I just used the one on OPs website.

WiW
Sr. Member
****
Offline Offline

Activity: 277


"The public is stupid, hence the public will pay"


View Profile
March 24, 2014, 12:02:43 AM
 #94

My 3 of 5 is being rejected... The "verify script" shows all in order. Blockchain.info pushtx:
Quote
Script not of right size, expecting 2 but got 5

I couldn't use Blockchain.info's pushtx for this. *shrugs*

I just used the one on OPs website.



Coinb.in is also failing... I also just tried a 3 of 4...

Edit: I was running the multisig locally, maybe that's why it failed (doesn't explain why blockchain.info failed...) - it worked on the site. Let's see if it gets into the blockchain.
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 24, 2014, 12:06:04 AM
 #95

My 3 of 5 is being rejected... The "verify script" shows all in order. Blockchain.info pushtx:
Quote
Script not of right size, expecting 2 but got 5

I couldn't use Blockchain.info's pushtx for this. *shrugs*

I just used the one on OPs website.



Coinb.in is also failing... I also just tried a 3 of 4...

3 of 4 worked fine for me... note that if you try to resubmit the same transaction it will say your txn is invalid.
WiW
Sr. Member
****
Offline Offline

Activity: 277


"The public is stupid, hence the public will pay"


View Profile
March 24, 2014, 12:14:11 AM
 #96

My 3 of 5 is being rejected... The "verify script" shows all in order. Blockchain.info pushtx:
Quote
Script not of right size, expecting 2 but got 5

I couldn't use Blockchain.info's pushtx for this. *shrugs*

I just used the one on OPs website.



Coinb.in is also failing... I also just tried a 3 of 4...

3 of 4 worked fine for me... note that if you try to resubmit the same transaction it will say your txn is invalid.

My 3 of 4 just got confirmations. 3 of 5 still being rejected by both coinb.in and blockchain.info.
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
March 24, 2014, 12:21:13 AM
 #97

My 3 of 5 is being rejected... The "verify script" shows all in order. Blockchain.info pushtx:
Quote
Script not of right size, expecting 2 but got 5

I couldn't use Blockchain.info's pushtx for this. *shrugs*

I just used the one on OPs website.



Coinb.in is also failing... I also just tried a 3 of 4...

3 of 4 worked fine for me... note that if you try to resubmit the same transaction it will say your txn is invalid.

My 3 of 4 just got confirmations. 3 of 5 still being rejected by both coinb.in and blockchain.info.

It might be over 500 bytes... in which case (I'm told) it won't get confirmed by anyone.
WiW
Sr. Member
****
Offline Offline

Activity: 277


"The public is stupid, hence the public will pay"


View Profile
March 24, 2014, 04:41:57 AM
 #98

It might be over 500 bytes... in which case (I'm told) it won't get confirmed by anyone.

Confirmed 3 of 4 txn, 577 bytes.
https://blockchain.info/tx/ec680affe2d8f8c846e6906a0a16f99c32d931a32fc38b60caf48f057cf99915
softron
Full Member
***
Offline Offline

Activity: 210


View Profile
March 24, 2014, 06:31:49 AM
 #99

How do i create multisig address with bitcoinqt

Aleksei Richards
Jr. Member
*
Offline Offline

Activity: 38



View Profile
April 01, 2014, 08:18:36 AM
 #100

Great work. Any plans to integrate this into bitcoinjs ?

Or is it possible to get a look at the JS non-minimised ?

Thanks.

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
April 06, 2014, 02:02:02 PM
 #101

I've made a few changes to improve usability and fixed a couple of small bugs.

The biggest change I've made is an update for those wanting to manipulate the transaction inputs, so let me know how you get on - any suggestions are most welcome.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
americandesi
Sr. Member
****
Offline Offline

Activity: 434


BTC < > INR & USD


View Profile
April 06, 2014, 03:00:41 PM
 #102

I've made a few changes to improve usability and fixed a couple of small bugs.

The biggest change I've made is an update for those wanting to manipulate the the transaction inputs, so let me know how you get on - any suggestions are most welcome.

Thanks mate. I had sent you a PM a few days ago. Kindly have a look and appreciate if you could reply.

Always buying and selling btc in bulk.!
Have I helped you out?  Send a donation! : 1ADesitf6McNmFw5wAN1y86bvyHLB5gR6P
My Reputation Thread : https://bitcointalk.org/index.php?topic=252042.0
malevolent
can into space
Staff
Legendary
*
Offline Offline

Activity: 1666



View Profile
April 06, 2014, 05:25:55 PM
 #103

It might be over 500 bytes... in which case (I'm told) it won't get confirmed by anyone.

500 bytes is only for the scriptSig to pass the IsStandard() check.
yiidev
Newbie
*
Offline Offline

Activity: 9


View Profile
April 08, 2014, 04:13:29 PM
 #104

Is the service currently operational?

I noticed that on your site, you currently have this message up:
We're currently experiecing some techincal issues. Service will return to normal shortly. Sorry for any inconvenience caused.

I was trying to test this functionality out, I do not believe I can currently complete a transaction.  When I attempt to "Sign" - nothing happens.  It just sits there - am I doing something wrong?

I was able to create the multi-sig address, and I was able to send a small amount of BTC to this address.  Now I am trying to sign the transaction and release the funds.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
April 08, 2014, 09:20:44 PM
 #105

Is the service currently operational?

I noticed that on your site, you currently have this message up:
We're currently experiecing some techincal issues. Service will return to normal shortly. Sorry for any inconvenience caused.

Yes the mutlisig part of the site is fully operational.

I was trying to test this functionality out, I do not believe I can currently complete a transaction.  When I attempt to "Sign" - nothing happens.  It just sits there - am I doing something wrong?

I was able to create the multi-sig address, and I was able to send a small amount of BTC to this address.  Now I am trying to sign the transaction and release the funds.

I've just tested it and it works, what browser are you using?

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
TierNolan
Legendary
*
Offline Offline

Activity: 1064


View Profile
April 09, 2014, 09:38:35 AM
 #106

Actually no! P2SH doesn't have an explicit limitations beyond the 520byte P2SH redeemScript limit, and more importantly the 500-byte scriptSig limit for IsStandard() transactions, so n and m just need to fit within that. Try it!

Does this mean that the reference client hasn't implemented the BIP as stated?  It is supposed to verify that the serialized script is standard, right?

Is the issue that the isStandard() only checks the scriptPub and the serialized script is in the scriptSig?

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
waxwing
Sr. Member
****
Offline Offline

Activity: 467


View Profile
April 09, 2014, 10:42:54 AM
 #107

Actually no! P2SH doesn't have an explicit limitations beyond the 520byte P2SH redeemScript limit, and more importantly the 500-byte scriptSig limit for IsStandard() transactions, so n and m just need to fit within that. Try it!

Does this mean that the reference client hasn't implemented the BIP as stated?  It is supposed to verify that the serialized script is standard, right?

Is the issue that the isStandard() only checks the scriptPub and the serialized script is in the scriptSig?
The 520 byte limit for the redeemscript is "absolute" (not depending on isStandard()). ie your m signatures plus your n pubkeys plus a few bytes must be less than 520.

The 500 byte limit for the whole scriptSig is an isStandard() rule, and so you can send out transactions which violate this limit via for example Eligius. Or, at least, you *may* be able to.

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
TierNolan
Legendary
*
Offline Offline

Activity: 1064


View Profile
April 09, 2014, 11:06:27 AM
 #108

The 520 byte limit for the redeemscript is "absolute" (not depending on isStandard()). ie your m signatures plus your n pubkeys plus a few bytes must be less than 520.

The 500 byte limit for the whole scriptSig is an isStandard() rule, and so you can send out transactions which violate this limit via for example Eligius. Or, at least, you *may* be able to.

My question was about the contents of the serialized script in the p2sh.  It sounds like that doesn't actually have to be a standard script (unlike what the BIP says).

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
waxwing
Sr. Member
****
Offline Offline

Activity: 467


View Profile
April 09, 2014, 11:43:02 AM
 #109

The 520 byte limit for the redeemscript is "absolute" (not depending on isStandard()). ie your m signatures plus your n pubkeys plus a few bytes must be less than 520.

The 500 byte limit for the whole scriptSig is an isStandard() rule, and so you can send out transactions which violate this limit via for example Eligius. Or, at least, you *may* be able to.

My question was about the contents of the serialized script in the p2sh.  It sounds like that doesn't actually have to be a standard script (unlike what the BIP says).

The contents of the redeemscript/serialized script is M pubkey pubkey ... N OP_CHECKMULTISIG.
I presume this is 'standard' in the sense that this is the form of the pre-p2sh "raw" multisig script.

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
TierNolan
Legendary
*
Offline Offline

Activity: 1064


View Profile
April 09, 2014, 01:52:37 PM
 #110

The contents of the redeemscript/serialized script is M pubkey pubkey ... N OP_CHECKMULTISIG.
I presume this is 'standard' in the sense that this is the form of the pre-p2sh "raw" multisig script.

The question was why you can have more than 3 keys for multi-sig, if you use P2SH.  It is supposed to check the serialized script that hashes to the hash, and make sure that is standard too.

This check is obviously not made with P2SH for multisig.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
April 10, 2014, 09:19:12 PM
 #111

So, I'm testing Coinb.in against Bitwasp, since clients can't really support P2SH. I've rigorously tested it against bitcoind which works fine. I love the idea of a JS tool to sign these transactions, but I'm having difficulty with a transaction. Coinb.in seems to be replacing the signature added by the first signer, rather than just adding the second?

I created 3Cmsk15NRXapShxZktkCRFfC7ef9Y9ecnw, with this redeemScript:
Code:
5221031174b9ebf4014181289a3923d6d17205a25808dbd6397bc747e0a5631948adc741043ce7c793baf8aec463114411d685b2ebb27e4b4b578543d82bba5c36e17e3950bef11cb1838c9cdb2323db12ac1c132f2aaba10cfc0b3b1528affe507436c5fc41048bff65f68fad7a6519dd8b6f9232e0ce2e39ad9df9fd1c46a26ebabfd915a7257d3fa34d90f0b02e2ddf1e954f0200037834f7987934ce096999b073eb9d4ef053ae

The first key came from bitcoind, the second from coinbin (private key: 5HwKMWwMpdM5vU62K6zMJjse3ZGWUntZbz1W6UdgWySs3MAaEpD), the deterministically derived from electrum.

I created the following raw transaction spending it to two outputs:
Code:
010000000149306d4e998d629471a261e23593aa96f06e37faf9f29a773032fe01fb3ab84e0000000000ffffffff0210270000000000001976a91463bdd38a5e555ad7c775a64139420ba302201c2d88ac204e0000000000001976a914e3ad4cf590cd02b629ca5e65ed8f27d499edefde88ac00000000

I signed it in bitcoind (the first key in the redeemScript), then took the transaction to Coinbin, loaded the verify tab, it confirmed 1 of 2 needed signatures were there:
010000000149306d4e998d629471a261e23593aa96f06e37faf9f29a773032fe01fb3ab84e00000 000f400473044022041e3be1f1f5b2df1504219d45199b02822940885e347354b392e8d638a304dfe02200b3 80ed825e2b82bcdebdf8986ceb58e90de7f0dca73185c491b174cbd3502c9014ca95221031174b9ebf4014181289a3923d6d17205a25808dbd6397bc747e0a5631948adc741043 ce7c793baf8aec463114411d685b2ebb27e4b4b578543d82bba5c36e17e3950bef11cb1838c9cdb 2323db12ac1c132f2aaba10cfc0b3b1528affe507436c5fc41048bff65f68fad7a6519dd8b6f923 2e0ce2e39ad9df9fd1c46a26ebabfd915a7257d3fa34d90f0b02e2ddf1e954f0200037834f79879 34ce096999b073eb9d4ef053aeffffffff0210270000000000001976a91463bdd38a5e555ad7c77 5a64139420ba302201c2d88ac204e0000000000001976a914e3ad4cf590cd02b629ca5e65ed8f27 d499edefde88ac00000000

So I copied the private key from the Bitcoin Keys tab, to the Sign tab, as well as the above transaction. I clicked sign, and up pops:
010000000149306d4e998d629471a261e23593aa96f06e37faf9f29a773032fe01fb3ab84e00000 000f4004730440220588e2a0e528e6545cc1650bf608ca92a2eacb6cd2e8ff6e051d1206770672b11022074e 0fd24e9c352ace7112feff2e1c9bd456162760a16a30e3a947bfce44ccd06014ca95221031174b9ebf4014181289a3923d6d17205a25808dbd6397bc747e0a5631948adc741043 ce7c793baf8aec463114411d685b2ebb27e4b4b578543d82bba5c36e17e3950bef11cb1838c9cdb 2323db12ac1c132f2aaba10cfc0b3b1528affe507436c5fc41048bff65f68fad7a6519dd8b6f923 2e0ce2e39ad9df9fd1c46a26ebabfd915a7257d3fa34d90f0b02e2ddf1e954f0200037834f79879 34ce096999b073eb9d4ef053aeffffffff0210270000000000001976a91463bdd38a5e555ad7c77 5a64139420ba302201c2d88ac204e0000000000001976a914e3ad4cf590cd02b629ca5e65ed8f27 d499edefde88ac00000000

Which when passed to the Verify tab says only one signature is added, as highlighted above, and it's different to the one I added. There's an implicit reward here for anyone who can help..

Bitwasp Developer.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
April 10, 2014, 09:23:14 PM
 #112

So, I'm testing Coinb.in against Bitwasp, since clients can't really support P2SH. I've rigorously tested it against bitcoind which works fine. I love the idea of a JS tool to sign these transactions, but I'm having difficulty with a transaction. Coinb.in seems to be replacing the signature added by the first signer, rather than just adding the second?

Will run a few tests now..

*edit* my test case worked fine. what browser are you working with?

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
April 10, 2014, 09:40:00 PM
 #113

Will run a few tests now..

*edit* my test case worked fine. what browser are you working with?

I'm using Chrome on Windows. My linux netbook can't handle that page for some reason, the script becomes unresponsive (debian, iceweasel, 2gb ram), so I did it here. I'll download firefox for windows and try that.

Bitwasp Developer.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
April 11, 2014, 10:34:23 AM
 #114

Will run a few tests now..

*edit* my test case worked fine. what browser are you working with?

I'm using Chrome on Windows. My linux netbook can't handle that page for some reason, the script becomes unresponsive (debian, iceweasel, 2gb ram), so I did it here. I'll download firefox for windows and try that.

I've made a couple of tweaks to the source code which should decrease the load when attempting to sign, so let me know if your netbook handles it any better.

What version of chrome are you using? How did you get on with firefox?

My tests cases:

https://blockchain.info/tx/652724841d5feea4a80c01225577ed012bef80634e033cd1f2a33a937eeaa2fb

https://blockchain.info/tx/63093ac0911672afb041763d68edca6815952accda98b95dfec5cb96cd1ea129

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
April 11, 2014, 11:17:35 AM
 #115

I've made a couple of tweaks to the source code which should decrease the load when attempting to sign, so let me know if your netbook handles it any better.

What version of chrome are you using? How did you get on with firefox?

My tests cases:

https://blockchain.info/tx/652724841d5feea4a80c01225577ed012bef80634e033cd1f2a33a937eeaa2fb

https://blockchain.info/tx/63093ac0911672afb041763d68edca6815952accda98b95dfec5cb96cd1ea129

Awesome, cheers.

I tried it again on Chrome. Trying to sign the partially signed transaction just yields a transaction with one different signature.
I tried with the unsigned transaction, and that failed too.

One thing that could be causing trouble is that I'm using one compressed keys, I notice it asks for them to be uncompressed when you're entering them? But, then again, the key I'm having trouble signed with came from Coinb.in.

Have you tried signing the transaction I pasted? I've used Coinbin before, and been telling a lot of people about it.

Bitwasp Developer.
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
April 11, 2014, 03:19:32 PM
 #116

Awesome, cheers.

I tried it again on Chrome. Trying to sign the partially signed transaction just yields a transaction with one different signature.
I tried with the unsigned transaction, and that failed too.

One thing that could be causing trouble is that I'm using one compressed keys, I notice it asks for them to be uncompressed when you're entering them? But, then again, the key I'm having trouble signed with came from Coinb.in.

Have you tried signing the transaction I pasted? I've used Coinbin before, and been telling a lot of people about it.

As I'm sure you are aware; signatures must be added to the 'scriptSig' in the same order the 'public keys' are found in the 'redeem script', because of this signatures aren't simply inserted to the scriptSig, they are rebuilt. The code for this is here:

Code:
var pubkeyList = scriptListPubkey(redeemScript);
var sigsList = scriptListSigs(o.script);
sigsList[countObject(sigsList)+1] = signature;
for(x in pubkeyList){
for(y in sigsList){
if(Bitcoin.ECDSA.verify(sighash, sigsList[y], pubkeyList[x])){
s.writeBytes(sigsList[y]);
}
}
}

So, I suspect when the Bitcoin.ECDSA.verify() function is called it fails to validate your signature against a public key because its the wrong kind. (i.e. its compressed when it should be uncompressed) This means its not re-added.

I'm not sure how you'd fix this exactly, but I will have a think.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
April 11, 2014, 10:06:20 PM
 #117


As I'm sure you are aware; signatures must be added to the 'scriptSig' in the same order the 'public keys' are found in the 'redeem script', because of this signatures aren't simply inserted to the scriptSig, they are rebuilt. The code for this is here:

Code:
var pubkeyList = scriptListPubkey(redeemScript);
var sigsList = scriptListSigs(o.script);
sigsList[countObject(sigsList)+1] = signature;
for(x in pubkeyList){
for(y in sigsList){
if(Bitcoin.ECDSA.verify(sighash, sigsList[y], pubkeyList[x])){
s.writeBytes(sigsList[y]);
}
}
}

So, I suspect when the Bitcoin.ECDSA.verify() function is called it fails to validate your signature against a public key because its the wrong kind. (i.e. its compressed when it should be uncompressed) This means its not re-added.

I'm not sure how you'd fix this exactly, but I will have a think.

Ah interesting. I didn't know they had to have a particular order. While you can't just change the public keys in the redeemScript, could scriptListPubkey() decompress public keys as they're encountered? I'm guessing elsewhere it expects them to be uncompressed too to have easy access to the full key.

Bitwasp Developer.
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
April 16, 2014, 08:30:26 AM
 #118

Any further thoughts on this? Every client that upgrades to BIP0032 will not be able to use your service, and right now, bitcoind (the only to work with P2SH) returns compressed keys and will not work with your site.

In fact I realize now why it worked before but not now. Back then I created the address with all uncompressed keys! But this is unrealistic right now.

Bitwasp Developer.
arorts
Sr. Member
****
Offline Offline

Activity: 381


View Profile
April 17, 2014, 02:14:20 AM
 #119

BTW, does anyone know how to import a multi-signature wallet (which requires at least 2 out of 3 keys for basic multi signature)?

I've seen this command in the console but it seems to accept only one private key! How to specify the second, third, etc??

importprivkey <litecoinprivkey> [label] [rescan=true]

Anyone?
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
April 17, 2014, 03:08:24 AM
 #120

BTW, does anyone know how to import a multi-signature wallet (which requires at least 2 out of 3 keys for basic multi signature)?

I've seen this command in the console but it seems to accept only one private key! How to specify the second, third, etc??

importprivkey <litecoinprivkey> [label] [rescan=true]

Anyone?

addmultisigaddress

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
americandesi
Sr. Member
****
Offline Offline

Activity: 434


BTC < > INR & USD


View Profile
April 22, 2014, 12:34:39 PM
 #121

Quick question.! Do I have to run my own bitcoind client on the server to be able to run this script.?

Always buying and selling btc in bulk.!
Have I helped you out?  Send a donation! : 1ADesitf6McNmFw5wAN1y86bvyHLB5gR6P
My Reputation Thread : https://bitcointalk.org/index.php?topic=252042.0
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
April 22, 2014, 12:45:13 PM
 #122

Quick question.! Do I have to run my own bitcoind client on the server to be able to run this script.?

No, its not required.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
michaelpaulson
Newbie
*
Offline Offline

Activity: 2


View Profile
April 23, 2014, 12:22:12 AM
 #123

good job with this. it's very useful. i'll be sending a donation your way shortly.

is there anyway we can modify the script to bypass the requirement of being online for the transaction creation (i believe it looks up your balance)? I would like to use this offline.

Thanks!
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
April 23, 2014, 12:29:53 AM
 #124

I don't mean to nag, but is there any sign of upcoming support for compressed keys? I think it's pretty vital, as when any party to a multisig address uses a key from bitcoind, or electrum from the next release on, will encounter the issue I had with the scriptSig reconstruction (leaving out all signatures where the key was compressed).

Bitwasp Developer.
imicaihi
Newbie
*
Offline Offline

Activity: 9


View Profile
May 16, 2014, 03:25:43 PM
 #125

Great work on this!

I've tried the service and a 2of3 worked great.
however, I tried something that I actually need right now in the form of a 6-of-10 and... no go Sad
Getting a tx rejected -22 and log error says "nonstandard transaction: scriptsig-size" which I assume relates to the 500b limit mentioned earlier in the thread.
Is there a way to make this work?
Reading around in some other discussions I saw being mentioned that even a 15 of 15 should work, so I'm a bit confused as to why 6 of 10 doesn't.

Also OutCast, on a side note, it would be really great if you could provide the non-minified bitcoinjs code (either as a download here or in the git repo) as part of the opensource approach.


Thanks! Smiley
imicaihi
Newbie
*
Offline Offline

Activity: 9


View Profile
May 16, 2014, 10:33:47 PM
 #126

as a followup - I just tried doing a manual multisig transaction of a 6 of 10, using only compressed pub keys in the latest bitcoin core, but still getting tx rejected 22. the script is somewhat shorter than with the non-compressed, but definitely not by a huge amount.

Any ideas on how to get this to work?
I've seen people saying that with compressed pub keys even a 15 of 15 could fit within the 520b limit, so what am I missing here?
waxwing
Sr. Member
****
Offline Offline

Activity: 467


View Profile
May 17, 2014, 12:42:46 PM
 #127

as a followup - I just tried doing a manual multisig transaction of a 6 of 10, using only compressed pub keys in the latest bitcoin core, but still getting tx rejected 22. the script is somewhat shorter than with the non-compressed, but definitely not by a huge amount.

Any ideas on how to get this to work?
I've seen people saying that with compressed pub keys even a 15 of 15 could fit within the 520b limit, so what am I missing here?

Hi, I'm guessing you're the same guy as I spoke with on reddit? the answer is still: use Eligius. 6 of 10 is not standard (exceeds 500 limit). Was there some aspect of that explanation that didn't make sense? (Unless it wasn't you, in which case, sorry).

PGP fingerprint 4668 9728 A9F6 4B39 1FA8 71B7 B3AE 09F1 E9A3 197A (use email to contact)
jobijo
Newbie
*
Offline Offline

Activity: 4


View Profile
May 19, 2014, 01:27:57 PM
 #128

Hi

This is very cool.
However, I don't understand everything.

Can someone make a complete tutorial for the average user to make simple 2of3 transactions?

Some questions:
- what is a redeem script?
- what should we put in that field?
- can't there be some simplifications like predifined 2of3 addresses and transactions?
- in  the transaction, what should I use as inputs?

Sorry for so many questions.
It would be so great if it could be usable by average users!
jobijo
Newbie
*
Offline Offline

Activity: 4


View Profile
May 19, 2014, 04:26:51 PM
 #129

I finally could test succesfuly with real money.
answering my own questions: the redeem script is given when you create the multisig address.
It's quite simple!!

Have made a tutorial in french.
Will translate it in english and post here.
jobijo
Newbie
*
Offline Offline

Activity: 4


View Profile
May 20, 2014, 09:19:45 AM
 #130

A few remarks:

There seem to be a bug: in both "create transaction" and "verify transaction", the input transaction is unknown to blockchain. Is it normal?

Also, in the signing page, could there be a "verify" button or an automatic verify step before the transaction is signed?

I use chome in linux.
In create new transaction, when you paste the redeem script with the middle button, the script is not activated. When you add a space or any caracter (or remove a caracter), the address goes wrong.
There is no check on the redeem script integrity. This can be dangerous I think.
There should be a verify step.

In the verify tab, could you add a "sign" button for transactions, or a "create transaction" for a redeem script? This would simplify the whole process.

Thanks for reading
lucserre
Newbie
*
Offline Offline

Activity: 2


View Profile
May 21, 2014, 11:15:51 PM
 #131

My 3 of 5 is being rejected... The "verify script" shows all in order. Blockchain.info pushtx:
Quote
Script not of right size, expecting 2 but got 5

I couldn't use Blockchain.info's pushtx for this. *shrugs*

I just used the one on OPs website.



Coinb.in is also failing... I also just tried a 3 of 4...

3 of 4 worked fine for me... note that if you try to resubmit the same transaction it will say your txn is invalid.

My 3 of 4 just got confirmations. 3 of 5 still being rejected by both coinb.in and blockchain.info.

It might be over 500 bytes... in which case (I'm told) it won't get confirmed by anyone.

The same thing is happening to me -   the 3-of-5 isn't working.  I had a 2-of-3 work just fine this morning, but this afternoon, there is no way to get the 3-of-5 to work.  Is coinbin not coding the transactions correctly? (Tried with blockchain.info to push too)
Is my money lost for ever??? (  Undecided Thanks coinb.in...)  I hope that is not the case...
Thanks,
-Luc
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
May 22, 2014, 10:57:57 AM
 #132

The same thing is happening to me -   the 3-of-5 isn't working.  I had a 2-of-3 work just fine this morning, but this afternoon, there is no way to get the 3-of-5 to work.  Is coinbin not coding the transactions correctly? (Tried with blockchain.info to push too)
Is my money lost for ever??? (  Undecided Thanks coinb.in...)  I hope that is not the case...
Thanks,
-Luc

The hex encoded transaction you have given me via email appears to use non existent transaction IDs, as I've explained back to you. I don't think your money is lost, but if you could try again and note down each step you take, and the output and then contact me if it fails.

I finally could test succesfuly with real money.
answering my own questions: the redeem script is given when you create the multisig address.
It's quite simple!!

Have made a tutorial in french.
Will translate it in english and post here.

Thanks, glad you liked it.

Great work on this!

I've tried the service and a 2of3 worked great.
however, I tried something that I actually need right now in the form of a 6-of-10 and... no go Sad
Getting a tx rejected -22 and log error says "nonstandard transaction: scriptsig-size" which I assume relates to the 500b limit mentioned earlier in the thread.
Is there a way to make this work?
Reading around in some other discussions I saw being mentioned that even a 15 of 15 should work, so I'm a bit confused as to why 6 of 10 doesn't.

Also OutCast, on a side note, it would be really great if you could provide the non-minified bitcoinjs code (either as a download here or in the git repo) as part of the opensource approach.


Thanks! Smiley

Can you drop me a email with the details, and i'll take a look. I'm not sure right now.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
dexX7
Legendary
*
Offline Offline

Activity: 1036



View Profile WWW
May 22, 2014, 11:28:39 AM
 #133

Could it be possible that only non compressed public keys are allowed to be added during the multisig creation?

lucserre
Newbie
*
Offline Offline

Activity: 2


View Profile
May 22, 2014, 12:47:24 PM
 #134

The same thing is happening to me -   the 3-of-5 isn't working.  I had a 2-of-3 work just fine this morning, but this afternoon, there is no way to get the 3-of-5 to work.  Is coinbin not coding the transactions correctly? (Tried with blockchain.info to push too)
Is my money lost for ever??? (  Undecided Thanks coinb.in...)  I hope that is not the case...
Thanks,
-Luc

The hex encoded transaction you have given me via email appears to use non existent transaction IDs, as I've explained back to you. I don't think your money is lost, but if you could try again and note down each step you take, and the output and then contact me if it fails.
Thanks for reply. I think I know why.  When I put my RedeemScript in your area to construct the transaction, it shows me the three inputs, but the numbers are mixed up.
For example, the first one you listed from the decode transaction section is: 3fbd...120a   but is listed like this in the construct transaction section: 0a12...bd3f.
It looks like the 8 bit groupings are grouped together, but in some sort of reverse order (0a is at the start in one, and at the end in the other).
Correct me if I'm wrong, but it looks like (to me) there is an error somewhere in your code that flipped the txid's. ?
Is this a little-endian/big-endian thing?
I'm not sure why it would have worked for 2-of-3 but now for 3-of-5 it's being encoded differently?
-Luc
queptiv
Newbie
*
Offline Offline

Activity: 28


View Profile
May 22, 2014, 12:48:00 PM
 #135

summary of how this works?
devthedev
Legendary
*
Offline Offline

Activity: 980


Crypto-News.net: News from Crypto World


View Profile WWW
May 22, 2014, 12:50:45 PM
 #136

summary of how this works?

The page uses javascript to generate a multi signature address, the buyer sends the funds to the address. Once the agreement between all parties has completed a transaction can be created using the redeem script which is then signed by the participants. You can then broadcast the signed transaction into the network, releasing the funds to the chosen address.
Posted from Bitcointa.lk - #puVNlkBcvhsA7bDq



              ▄▄▄██████▄▄▄
          ▄██████████████████▄
       ▄████████████████████████▄
 ▄▄  ▄████████████████████████████▄
███████████████████████████████████▄
 ▀▀█████████████████████████████████▄
   ██████████████████████████████████
   ██████████████████████████████████
   ██████████████████████████████████
   ██████████████████████████████████
   ▀████████████████████████████████▀
    ▀██████████████████████████████▀
     ▀▀██████████████████████████▀
        ▀██████████████████████▀
           ▀▀▀████████████▀▀▀
.
.....
.....
.....
.....
.....
.....





fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
May 22, 2014, 02:05:21 PM
 #137

Could it be possible that only non compressed public keys are allowed to be added during the multisig creation?

Yes. It will also 'forget' signatures added by compressed public keys. Makes it useless when everyone uses compressed already..

Bitwasp Developer.
elbill
Hero Member
*****
Offline Offline

Activity: 742


View Profile
June 28, 2014, 02:41:04 AM
 #138

It's down Sad
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
June 28, 2014, 12:50:58 PM
 #139

It's down Sad

Will be back up soon, sorry about this. Some jerk is ddosing the server, and demanding he's paid X amount of bitcoins before he stops. As if!

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
froggyfeels
Newbie
*
Offline Offline

Activity: 27


View Profile
July 17, 2014, 03:58:42 PM
 #140

Will this be coming back?
Looks like an SSL error, I remember getting onto the site fine before, and then there was the ddos attack, it looks like something else is wrong now.
I would like to try it on testnet.
Hope to see this project continue on.
ABISprotocol
Sr. Member
****
Offline Offline

Activity: 251

ABISprotocol on Gist


View Profile WWW
July 18, 2014, 06:58:48 AM
 #141

Will this be coming back?
Looks like an SSL error, I remember getting onto the site fine before, and then there was the ddos attack, it looks like something else is wrong now.
I would like to try it on testnet.
Hope to see this project continue on.


Just go here:

https://rawgit.com/OutCast3k/bitcoin-multisig/master/index.html

(The other page has some problem atm)

ABISprotocol (Github/Gist)
http://abis.io
froggyfeels
Newbie
*
Offline Offline

Activity: 27


View Profile
July 19, 2014, 08:26:55 AM
 #142

Thank you for the link bro!
utdrmac
Newbie
*
Offline Offline

Activity: 25


View Profile
August 05, 2014, 08:53:35 PM
 #143

Hope people are still monitoring this topic.

I'm attempting to test this out and not having much success. I used two of my own existing addressed to do the test so I can't/won't provide my private keys. Here are the steps I took:

1. New MultiSig Address. Testing a 2-2.
2. Got this multisig address: 3BubMVeGDzvhZyJ1iCS8vpjKgDSfT18Dh1
3. Sent some btc from addr1 to the multisig. This worked.
4. Verified the redeem script. Says 2 signatures from both public keys are required.
5. Signed redeem script with private key of addr1
6. Copied the result of #5 back in to the upper field and pasted in private key of addr2
7. Copied the result of #6 in to Verify page. Shows the original transaction id, checkmark for redeem script, minimum number of signers 2 and number of times signed 2. Shows me the correct output address and the amount.
8. Copied the result of #6 in to Broadcast. TX Rejected.
9. Reattempted steps 5-8 using keys in reverse order. Same result.

So now I'm stuck. Not sure what to do.

Thanks!

Tips: 1drmacW6UYAfHNjRrxN7SYuN3Q9R9v6K6
mmortal03
Legendary
*
Offline Offline

Activity: 1425


View Profile
August 20, 2014, 11:11:51 PM
 #144

Two things:

1.) I found a typo in the error function on line 955 of index.html: "unspent" is spelled "unpsent". Also, I noticed that the error prompt for there being no funds contained there pops up multiple times -- once per required signature. Shouldn't it just pop up once?

2.) How does this script compare to what Mycelium is doing with their Entropy device? My understanding is that on their multisig paper wallet, on what is printed out, you don't get a redeem script, you just get a multisig public address and however many compressed private keys. Is their method still fully compatible with this script?
Edit: It seems that Mycelium is, instead, using some form of Shamir's Secret Sharing Scheme.
mmortal03
Legendary
*
Offline Offline

Activity: 1425


View Profile
August 20, 2014, 11:53:45 PM
 #145

this is great! keep up the good work.

* I think it would great to explain the process and concepts in more detail on the site. What is a redeem script?

* say I want to implement the following: pay 0.01 BTC to address #A12 if the year in the timestamp of the last block is equal to 2014. what would it take to make this work?

* btw, the link on the site to your profile is broken. I think you want this: https://bitcointalk.org/index.php?action=profile;u=34834  

Thanks for the feedback Smiley

You're right, I will defiantly add more information to the site about the process shortly.

A "redeem script" contains 2 pieces of information, the public keys and the minimum number of signatures required to use it as a spendable input. It is also used to generate the multi signature address itself. There should be some information on the bitcoin wiki about this, but I will also add it to the site shortly.

I believe its possible to manipulate the timestamp of the transaction in the way you've requested, although I will need to do a little bit of testing first.

Thanks for pointing out the broken link, I've since fixed it.

What if I lose the redeemScript? is there a way to retrieve it or regenerate it?  If I don't have the RedeemScript, is it still possible to spend the coins given you have the required keys to "unlock" the transaction?

Yes you can regenerate the redeem script.  You cannot lose your multisig address; you can lose some privkeys - as long as you [or your Agents] saved the total number required to sign.  Best to move & back them up securely [pref using thumbdrive & a browser on a computer that has never connected to the internet ever]

How would one regenerate the redeem script when having only 2 of the 3 keys?
ABISprotocol
Sr. Member
****
Offline Offline

Activity: 251

ABISprotocol on Gist


View Profile WWW
August 21, 2014, 07:37:29 AM
 #146

Hope people are still monitoring this topic.

I'm attempting to test this out and not having much success. I used two of my own existing addressed to do the test so I can't/won't provide my private keys. Here are the steps I took:

1. New MultiSig Address. Testing a 2-2.
2. Got this multisig address: 3BubMVeGDzvhZyJ1iCS8vpjKgDSfT18Dh1
3. Sent some btc from addr1 to the multisig. This worked.
4. Verified the redeem script. Says 2 signatures from both public keys are required.
5. Signed redeem script with private key of addr1
6. Copied the result of #5 back in to the upper field and pasted in private key of addr2
7. Copied the result of #6 in to Verify page. Shows the original transaction id, checkmark for redeem script, minimum number of signers 2 and number of times signed 2. Shows me the correct output address and the amount.
8. Copied the result of #6 in to Broadcast. TX Rejected.
9. Reattempted steps 5-8 using keys in reverse order. Same result.

So now I'm stuck. Not sure what to do.

Thanks!

1) I suggest you test this with another human rather than with yourself

2) Use this (ensure javascript is not on) https://rawgit.com/OutCast3k/bitcoin-multisig/master/index.html

3) Comments / testing / past reviews of it: Start from here and look at some original tests we did of it - read all comments (note that after some fixes order of signatures no longer will matter as you proceed through)
https://bitcointalk.org/index.php?topic=390046.msg4670505#msg4670505

4) If all else fails, send private message to OutCast3k


ABISprotocol (Github/Gist)
http://abis.io
OrenZooz
Newbie
*
Offline Offline

Activity: 6


View Profile
August 24, 2014, 11:27:10 AM
 #147

I am trying to use http://coinb.in/multisig/ to create a transaction.
I keep getting "This address has no available balance to spend" though it has balance .
The address is :369cUZdwYuCf1L987xmMz8ZJZUT1UCWVQf
What I am missing here?
OrenZooz
Newbie
*
Offline Offline

Activity: 6


View Profile
August 24, 2014, 11:33:42 AM
 #148

When using https://rawgit.com/OutCast3k/bitcoin-multisig/master/index.html ..I get " Failed to retrive unspent inputs"
Does the server is down?
ABISprotocol
Sr. Member
****
Offline Offline

Activity: 251

ABISprotocol on Gist


View Profile WWW
August 26, 2014, 05:25:50 AM
 #149

When using https://rawgit.com/OutCast3k/bitcoin-multisig/master/index.html ..I get " Failed to retrive unspent inputs"
Does the server is down?

Am guessing you took the best path of opening this on Github as a recent open issue.  See #16 at https://github.com/OutCast3k/bitcoin-multisig/issues

ABISprotocol (Github/Gist)
http://abis.io
david123
Hero Member
*****
Offline Offline

Activity: 658


View Profile
August 30, 2014, 10:53:57 AM
 #150

When using https://rawgit.com/OutCast3k/bitcoin-multisig/master/index.html ..I get " Failed to retrive unspent inputs"
Does the server is down?

Am guessing you took the best path of opening this on Github as a recent open issue.  See #16 at https://github.com/OutCast3k/bitcoin-multisig/issues

I have the same problem. After accepting the error message, I can click on the Multisig address and blockchain.info pops up, showing the right
balance. Still there's no way of creating a transaction..

It's a real escrow with some real money. Not a fortune, but still.. Would be cool if OutCast3k could comment on that.

edit: Alright, I could figure out that the problem is not so much the multisig script, but the fact that the coinb.in API seems not to work properly.
The problem  with the rawgit-Version is that it refers to the https-version of the coinb.in API, which is completely down it seems. One can replace https
by http in the appropriate line, then one gets the  "This address has no available balance to spend" problem. The easiest solution seems to be to
wait until coinb.in is back (if ever) or to use another API (but I don't know if there's something available.. I have no idea about this stuff.)

OrenZooz
Newbie
*
Offline Offline

Activity: 6


View Profile
August 30, 2014, 08:42:17 PM
 #151

Does any one can recommend an alternative multisig utility? 
HELP.org
Hero Member
*****
Offline Offline

Activity: 508



View Profile WWW
August 31, 2014, 01:18:13 AM
 #152

Not sure if this is what you are looking for but see https://www.casascius.com/2factor/ for the utility download.

Certified Bitcoin Professional
Bicoin.me - Bitcoin.me!
Vortex20000
Hero Member
*****
Offline Offline

Activity: 504

sucker got hacked and screwed --Toad


View Profile WWW
August 31, 2014, 02:23:17 AM
 #153

cool idea


btcdrak
Legendary
*
Offline Offline

Activity: 1064


View Profile
September 17, 2014, 01:05:21 PM
 #154

Is the coinb.in/multisig site working properly? It seems to be able to create redeem scripts properly, but the transactions page never seems to find spendable outputs. I wonder if it's API connection is broken?
ABISprotocol
Sr. Member
****
Offline Offline

Activity: 251

ABISprotocol on Gist


View Profile WWW
September 19, 2014, 08:50:43 AM
 #155

Is the coinb.in/multisig site working properly? It seems to be able to create redeem scripts properly, but the transactions page never seems to find spendable outputs. I wonder if it's API connection is broken?

Indications from recent comments are that it is not working properly, I seem to recall the coinb.in/multisig site was subjected to some attacks and had problems and the github-based site (see my earlier comments in this thread) did not have any problems but then later _did_ have problems for some reason. (server perhaps) however, I am guessing the best thing to do is see if you can raise OutCast3k (careful with the spelling!) on this forum (who shows as last active June 29, 2014), it's possible that btcapparel (also on this forum) may have been in touch with OutCast3k (but probably late last year...) so it is a long shot

I would check here and open an issue:
https://github.com/OutCast3k/bitcoin-multisig
There is an open issue (#16) that already represents the issue described, that is unresolved.  If it remains unresolved one could fork it and develop something new, or look at the other options (CoPay, which is a multisignature tool developed by BitPay, or Armory's multisignature feature - which I'm not sure of the status of those at this time, but I recall they were serious about the development of such).

NOTE--NOTE:
If you (and the other person you co-generate multisignature with) have already used coinb.in/multisig to generate something to which funds can be sent, you should both have written (or typed) down and locked away in a safe place, the following:
pubkey
address
privkey (this is private and should only be known by the individual holding it, by the way, hence the name, privkey!!)
multisig address (this is public and will typically begin with the number three, I think)
redeem script
(Note that there will be a bunch of gobbledygook that will be different for you than it would be for the other party who is a participant in the multisignature transaction, but at the end of it all, when you've gone through the steps, you both have a ton of info which includes, of course, public multisignature address that you can show anyone.)
(Also, do not expose the paper you have all this information on, to Frog Lube, Cosmoline, or any other gunner lube which may happen to be laying around in your safe! - Because if you do it will stain it something awful.)
Have fun out there.

ABISprotocol (Github/Gist)
http://abis.io
btcdrak
Legendary
*
Offline Offline

Activity: 1064


View Profile
September 19, 2014, 09:02:04 AM
 #156

Is the coinb.in/multisig site working properly? It seems to be able to create redeem scripts properly, but the transactions page never seems to find spendable outputs. I wonder if it's API connection is broken?

Indications from recent comments are that it is not working properly, I seem to recall the coinb.in/multisig site was subjected to some attacks and had problems and the github-based site (see my earlier comments in this thread) did not have any problems but then later _did_ have problems for some reason. (server perhaps) however, I am guessing the best thing to do is see if you can raise OutCast3k (careful with the spelling!) on this forum (who shows as last active June 29, 2014), it's possible that btcapparel (also on this forum) may have been in touch with OutCast3k (but probably late last year...) so it is a long shot

I would check here and open an issue:
https://github.com/OutCast3k/bitcoin-multisig
There is an open issue (#16) that already represents the issue described, that is unresolved.  If it remains unresolved one could fork it and develop something new, or look at the other options (CoPay, which is a multisignature tool developed by BitPay, or Armory's multisignature feature - which I'm not sure of the status of those at this time, but I recall they were serious about the development of such).



He fixed it. I think it was just something trivial like a changed API. I cannot endorse copay or recommend until it has a lot more testing. It's been very buggy, dangerously so.
ABISprotocol
Sr. Member
****
Offline Offline

Activity: 251

ABISprotocol on Gist


View Profile WWW
September 19, 2014, 09:16:18 AM
 #157

Is the coinb.in/multisig site working properly? It seems to be able to create redeem scripts properly, but the transactions page never seems to find spendable outputs. I wonder if it's API connection is broken?

Indications from recent comments are that it is not working properly, I seem to recall the coinb.in/multisig site was subjected to some attacks and had problems and the github-based site (see my earlier comments in this thread) did not have any problems but then later _did_ have problems for some reason. (server perhaps) however, I am guessing the best thing to do is see if you can raise OutCast3k (careful with the spelling!) on this forum (who shows as last active June 29, 2014), it's possible that btcapparel (also on this forum) may have been in touch with OutCast3k (but probably late last year...) so it is a long shot

I would check here and open an issue:
https://github.com/OutCast3k/bitcoin-multisig
There is an open issue (#16) that already represents the issue described, that is unresolved.  If it remains unresolved one could fork it and develop something new, or look at the other options (CoPay, which is a multisignature tool developed by BitPay, or Armory's multisignature feature - which I'm not sure of the status of those at this time, but I recall they were serious about the development of such).



He fixed it. I think it was just something trivial like a changed API. I cannot endorse copay or recommend until it has a lot more testing. It's been very buggy, dangerously so.

Ah, ok, July 13, 2014 he changed it - I don't know why I didn't see it before.  Thanks for pointing it out.  Cheers!

(as an aside - the https://rawgit.com/OutCast3k/bitcoin-multisig/master/index.html page seems like the better one, e.g. more able to handle issues and problems that have arisen)

ABISprotocol (Github/Gist)
http://abis.io
blue eyes
Newbie
*
Offline Offline

Activity: 25


View Profile
September 19, 2014, 10:22:46 AM
 #158

let me know when it is finished.
dexX7
Legendary
*
Offline Offline

Activity: 1036



View Profile WWW
October 08, 2014, 08:58:43 AM
 #159

I'm wondering: is there a reason only uncompressed public keys are allowed?

Dabs
Staff
Legendary
*
Offline Offline

Activity: 1624



View Profile
November 13, 2014, 08:03:36 AM
 #160

Vanity Multi-Signature Addresses? Compressed?

Is this possible? Or is it too much hard work? Or it's no longer multi-sig because you have one computer generating all the private keys?

How about, in theory? Like, 3DabsAddress instead of 3randomlooking.

Also, can multi-sig addresses be compressed? I found this, and it requires uncompressed public keys: http://coinb.in/multisig/

*edit* then I found this thread, so I'm posting here instead.

Escrow Service (Services) - GPG ID: 32AD7565, OTC ID: Dabs
All messages concerning escrow or with bitcoin addresses are GPG signed. Please verify.
CompTIA A+, Microsoft Certified Professional, MCSA: Windows 10; Windows Server 2012, MCSE: Cloud Platform and Infrastructure; Productivity; Messaging
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
November 29, 2014, 01:20:24 PM
 #161

Vanity Multi-Signature Addresses? Compressed?

Is this possible? Or is it too much hard work? Or it's no longer multi-sig because you have one computer generating all the private keys?

How about, in theory? Like, 3DabsAddress instead of 3randomlooking.

Also, can multi-sig addresses be compressed? I found this, and it requires uncompressed public keys: http://coinb.in/multisig/

*edit* then I found this thread, so I'm posting here instead.

Sorry for the late reply, i've been so busy lately!

The project is still alive and well! There is actually going to be an entirely new version released in the next week or so that will support compressed public keys and offer a few other new features! but not vanity addresses.

If anyone would like to beta test for me, please get in touch via email and i'll give you access.

Thanks everyone for your support, if you like this project please donate Smiley

-

*Edit* To everyone who has PM'd me asking if they can use the source code, yes you can its totally free to use, edit and redistribute. Enjoy!

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
November 29, 2014, 08:00:38 PM
 #162

How can we email you? What's your email?
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
November 29, 2014, 11:03:26 PM
 #163

How can we email you? What's your email?

Its listed on my profile, but its: <my><user><name>@gmail.com

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
November 30, 2014, 12:31:53 AM
 #164

How can we email you? What's your email?

Its listed on my profile, but its: my.user.name@gmail.com

That's an awesome email address! Smiley

Btw, it's not listed on your profile. It shows up as "hidden."
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
December 01, 2014, 10:47:40 PM
 #165

The new version is live here: http://coinb.in Cheesy will be published to github shortly.

Major changes:

  • Multisig address generation now supports compressed public keys.
  • Transactions and redeem scripts will return more information when they're decoded, including the N-of-M number and the amount of times they've been signed.
  • Better transaction builder. You can build transactions from regular addresses as well as multisig addresses.
  • Improved signing function. Regular transactions as well as multisig transactions can be signed.
  • You can generate compressed and uncompressed public keys.
  • Private keys are given a password field by default with option to show them later.
  • You can generate addresses from Brain wallets.
  • A built in browser based wallet, with access to your own private keys!

If you want to see more, please support the project by donating Smiley

Enjoy!

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
December 15, 2014, 01:13:07 PM
 #166

Fixed a few bugs and added loads of little features, you can even set the "lock time" of transactions now.

Feedback and suggestions are welcome Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
December 15, 2014, 06:26:54 PM
 #167

Fixed a few bugs and added loads of little features, you can even set the "lock time" of transactions now.

Feedback and suggestions are welcome Smiley

Awesome!
ABISprotocol
Sr. Member
****
Offline Offline

Activity: 251

ABISprotocol on Gist


View Profile WWW
December 26, 2014, 07:41:35 AM
 #168

Fixed a few bugs and added loads of little features, you can even set the "lock time" of transactions now.

Feedback and suggestions are welcome Smiley

Excellent, I figured with time that would come to https://coinb.in/ ~ thanks for working with myself and ktorn (and some others) some time back on this most useful thing.

ABISprotocol (Github/Gist)
http://abis.io
wrb2010
Newbie
*
Offline Offline

Activity: 24


View Profile
December 29, 2014, 06:13:08 AM
 #169

I am trying to get/make/see if its possible to make a home game poker app using bitcoin. Someone pointed me here. Would this work? Any help would be apriciated. Here or
http://www.reddit.com/r/Bitcoin/comments/2qoifa/need_help_with_app_id_like_to_see_made/ 
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
December 31, 2014, 11:57:37 AM
 #170

Great project! Would use this when time comes! Smiley

   ~~MZ~~

pitchbend
Sr. Member
****
Offline Offline

Activity: 240



View Profile
January 26, 2015, 06:35:38 PM
 #171

Thanks for your efforts this service is awesome.
Giulio Prisco
Full Member
***
Offline Offline

Activity: 172



View Profile WWW
April 05, 2015, 04:34:36 PM
 #172

Awesome indeed.

Unblocked, Unchained - Tip Me: http://giulioprisco.tip.me - Telebit: giulioprisco - Bitrated user: giulioprisco
Giulio Prisco
Full Member
***
Offline Offline

Activity: 172



View Profile WWW
April 08, 2015, 06:56:07 AM
 #173

I did an end-to-end coinb.in test.

1 - I created and funded two wallets A and B

2 - From A I created a 2-2 multisig address with the public keys of A and B.
Address:
3LvaMMABYXamGkH1DQbLfB4pYp8pU3of7T
I saved the redeem script.

3 - From B, I sent money to 3LvaMMABYXamGkH1DQbLfB4pYp8pU3of7T
Transaction:
https://btc.blockr.io/tx/info/230f6e6c3d8bca2686cdfaeda7b24f1f08d657f82cdb82a687a89834e84be52c

4. From A, I created a transaction to send the unspent output of 3 to an external address, loading the inputs from the redeem script (output of 2).

5. From A, I signed the transaction and verified it (signed 1 of 2 OK).

6. From B, I signed the transaction (output of 5) and verified it (signed 2 of 2 OK).

7. From B, I broadcast the transaction (output of 6).

8. Received:
https://blockchain.info/tx/e1e14eb2a56df5812bc4d8b2deea64cf978767517ec38c397ede2c68af6a6762

I will do more tests appropriate to the specific use case that I have in mind. In general I thing coinb.in is great but perhaps too difficult for today's casual users - those who need click and simple one-click solution and are unable to open a new window or copy/paste. However, I am sure that it's easy to adapt the user the interface to specific use cases, hiding complex features and selecting the needed data (e.g. key and transaction to sign) automatically.

Unblocked, Unchained - Tip Me: http://giulioprisco.tip.me - Telebit: giulioprisco - Bitrated user: giulioprisco
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
May 11, 2015, 11:02:50 AM
 #174

A few new features coming soon to coinb.in, such as:

  • HD Wallet Support (bip32)
  • Use of Bitcoins Testnet
  • Retrieve Unspent inputs from alternative blockchain explorers, such as blockr
  • Broadcast to different blockchain explorers
  • Build transactions for other Altcoins

I'm looking for beta testers and for someone to make a few video tutorials on using various aspects of Coinb.in - if anyone is interested, please get in touch by email OutCast3k<at>gmail.com

Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
May 11, 2015, 11:11:31 AM
 #175

I can be a beta tester and for tutorials, need more info. Please PM me.

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
May 17, 2015, 12:59:27 AM
 #176

I can be a beta tester and for tutorials, need more info. Please PM me.

Thanks, will be in touch shortly.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
May 17, 2015, 01:00:21 AM
 #177

HD support (bip32) has been added to coinb.in - enjoy everyone!

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
xDan
Hero Member
*****
Offline Offline

Activity: 677

ヽ( ㅇㅅㅇ)ノ ~!!


View Profile
May 29, 2015, 11:50:17 AM
 #178



"what is not spent will be used as a transaction fee" - from the popup tip

pic related utterly scares me.

I haven't used the service, so I don't know if such a transaction would go through... But the fact it is even implied that it might is a very very scary thing and will keep me from using what otherwise looks like an excellent piece of software. Default to 100% of the value going to the transaction fee (if I don't put anything in the "amount" box) is crazy and might one day lose somebody all their coins.

A sane option might be giving a large red warning if the tx fee is larger than say 0.1% of the total value. Or not allowing it at all if it's over $1 worth or something.

If a change address is required, the user should be asked for it also with big warnings that it should be a safe, permanent address, not in a virtual machine or livecd etc (where people have lost large amounts in the past). A conservative approach to handling change is to send it right bank to the original address. Not quite as private, but better than losing money. (and still needs warnings to the user that the address/private keys they are sending from must be kept!)

HODLing for the longest time. Skippin fast right around the moon. On a rocketship straight to mars.
Up, up and away with my beautiful, my beautiful Bitcoin~
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
May 29, 2015, 12:00:24 PM
 #179

[ img]http://i.imgur.com/GrRzQrK.png[/img]

"what is not spent will be used as a transaction fee" - from the popup tip

pic related utterly scares me.

I haven't used the service, so I don't know if such a transaction would go through... But the fact it is even implied that it might is a very very scary thing and will keep me from using what otherwise looks like an excellent piece of software. Default to 100% of the value going to the transaction fee (if I don't put anything in the "amount" box) is crazy and might one day lose somebody all their coins.

A sane option might be giving a large red warning if the tx fee is larger than say 0.1% of the total value. Or not allowing it at all if it's over $1 worth or something.

If a change address is required, the user should be asked for it also with big warnings that it should be a safe, permanent address, not in a virtual machine or livecd etc (where people have lost large amounts in the past). A conservative approach to handling change is to send it right bank to the original address. Not quite as private, but better than losing money. (and still needs warnings to the user that the address/private keys they are sending from must be kept!)

I agree.

I suggest to use recommended fee instead if change amount as fee and as this is advanced software, please allow users to edit transaction fee. You can send change back to origin address like xDan told.

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
May 29, 2015, 12:17:06 PM
 #180

Hey xDan!

Before I start responding to your points individually, I just want to remind you that coinb.in is aimed at the "advanced" bitcoin user and offers the "tools" required for them to understand how things work. Also the code is also remarkably simple and easy to follow compared to say bitcoinjs.

I haven't used the service, so I don't know if such a transaction would go through... But the fact it is even implied that it might is a very very scary thing and will keep me from using what otherwise looks like an excellent piece of software. Default to 100% of the value going to the transaction fee (if I don't put anything in the "amount" box) is crazy and might one day lose somebody all their coins.

A sane option might be giving a large red warning if the tx fee is larger than say 0.1% of the total value. Or not allowing it at all if it's over $1 worth or something.

The transaction would indeed go through if you signed it. The question is, who am I to prevent someone from choosing their transaction fee, regardless of how high or low it might be. It would be an unfortunate mistake to accidentally set a large fee so I will take into consideration what you've said and perhaps throw up a confirmation notice if the fee is too large. But please keep in mind this is the first time someone has mentioned this and made such a big issue about it.

If a change address is required, the user should be asked for it also with big warnings that it should be a safe, permanent address, not in a virtual machine or livecd etc (where people have lost large amounts in the past). A conservative approach to handling change is to send it right bank to the original address. Not quite as private, but better than losing money. (and still needs warnings to the user that the address/private keys they are sending from must be kept!)

Yes a change address is required, again who am I to send automatically send it back to them. My philosophy is its your money, you can do with it as you like.

If you dont want to use the tools to manually build a transaction, and want the comfort of your funds being returned to you, try the wallet instead https://coinb.in/#wallet you dont get same functionality as building the transaction yourself, and signing it etc, but if the transaction fee is your issue, you can be sure it will return it to your address. Check it out Smiley

Thanks again for the feedback and suggestions. Very great full!

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
May 29, 2015, 12:21:40 PM
 #181


[snip]
 
I agree.

I suggest to use recommended fee instead if change amount as fee and as this is advanced software, please allow users to edit transaction fee. You can send change back to origin address like xDan told.

The problem is not everyone would be happy with the funds being sent back to their original address, also its possible to populate the "inputs" on a new transaction with funds from multiple addresses. There is a few things to think about, because I don't want to force users to do anything they don't want to. But a confirmation notice sounds ok..

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
May 29, 2015, 12:28:22 PM
 #182


[snip]
 
I agree.

I suggest to use recommended fee instead if change amount as fee and as this is advanced software, please allow users to edit transaction fee. You can send change back to origin address like xDan told.

The problem is not everyone would be happy with the funds being sent back to their original address, also its possible to populate the "inputs" on a new transaction with funds from multiple addresses. There is a few things to think about, because I don't want to force users to do anything they don't want to. But a confirmation notice sounds ok..

Ok. As it is aimed on advanced users, shouldn't we be able to set custom fee? Currently, I can't do it. Please change it.

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
May 29, 2015, 12:36:48 PM
 #183


[snip]
 
I agree.

I suggest to use recommended fee instead if change amount as fee and as this is advanced software, please allow users to edit transaction fee. You can send change back to origin address like xDan told.

The problem is not everyone would be happy with the funds being sent back to their original address, also its possible to populate the "inputs" on a new transaction with funds from multiple addresses. There is a few things to think about, because I don't want to force users to do anything they don't want to. But a confirmation notice sounds ok..

Ok. As it is aimed on advanced users, shouldn't we be able to set custom fee? Currently, I can't do it. Please change it.

The transaction fee can be manipulated by adding another address, this can either be the address you populated the unspent funds from, or an entirely new address if you have privacy concerns.

Am I miss understanding something?

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
May 29, 2015, 12:41:47 PM
 #184


[snip]
 
I agree.

I suggest to use recommended fee instead if change amount as fee and as this is advanced software, please allow users to edit transaction fee. You can send change back to origin address like xDan told.

The problem is not everyone would be happy with the funds being sent back to their original address, also its possible to populate the "inputs" on a new transaction with funds from multiple addresses. There is a few things to think about, because I don't want to force users to do anything they don't want to. But a confirmation notice sounds ok..

Ok. As it is aimed on advanced users, shouldn't we be able to set custom fee? Currently, I can't do it. Please change it.

The transaction fee can be manipulated by adding another address, this can either be the address you populated the unspent funds from, or an entirely new address if you have privacy concerns.

Am I miss understanding something?

No, you understood correctly and I understood wrongly. Keep up the good work.

Btw, was this newly added? If yes, is there an archive to download older version? Thank you!

Serge V.
Member
**
Offline Offline

Activity: 98

https://keybase.io/serge_v


View Profile WWW
May 29, 2015, 12:53:22 PM
 #185

People, try to understand first how MultiSig works in standard wallet, than use such great tool as coinb.in.

Veritas Escrow Service [EN] [RU]
Tox ID: 25AFA2F787DD955FBF7AFC1FB0F3B6ED3040FE020891476F754777F01ECE936ECDBE0FAF1C1B
xDan
Hero Member
*****
Offline Offline

Activity: 677

ヽ( ㅇㅅㅇ)ノ ~!!


View Profile
May 29, 2015, 09:35:51 PM
 #186

Hey,

>I will take into consideration what you've said and perhaps throw up a confirmation notice if the fee is too large.
Great! Warnings and sane defaults are good Smiley

>But please keep in mind this is the first time someone has mentioned this and made such a big issue about it
Most skilled tech people aren't much concerned or knowledgeable about the experiences of newbies, certainly. And maybe they have great confidence and don't believe they themselves can ever make a mistake when in a rush. But it happens to the best of us.

...

I think lots of fairly inexperienced Bitcoiners have paper wallets, for which this sort of thing is very useful. Previously I've used offlinewallet.appspot.com , which isn't maintained any more I don't think, so your site is a good alternative.

It's great work otherwise. I just hate to see people lose money accidentally. What with Bitcoin Core's private key pool and out of date backups, change addresses that existed only temporarily in LiveCDs, and mistyped transaction fee amounts, people have lost large amounts for entirely stupid and preventable reasons, and reading their stories is always quite heartbreaking  Undecided

HODLing for the longest time. Skippin fast right around the moon. On a rocketship straight to mars.
Up, up and away with my beautiful, my beautiful Bitcoin~
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
June 03, 2015, 09:58:15 AM
 #187

Stumbled across this youtube tutorial by Alex Millar for using multisig at coinb.in. (also added it to the original post)

https://www.youtube.com/watch?v=oUSVmLegj8k

Thanks Alex.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
June 24, 2015, 11:31:53 AM
 #188

So I've been working (very) slowly on this section for the past few weeks.

https://coinb.in/#settings

The idea is to make it easier to retrieve your inputs for a transaction and broadcast a transaction via coinb.in or a number of other third parties, as well as making it easier to use bitcoin testnet (and eventually altcoins).

At the time of posting this, I have only added multiple hosts to broadcasts too, and have not yet added any services to retrieve your inputs for a transaction.

Once complete though this should make coinb.in even more resilient and decentralized than most wallets.

Feedback and suggestions are welcome.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
June 24, 2015, 08:40:35 PM
 #189

So I've been working (very) slowly on this section for the past few weeks.

https://coinb.in/#settings

The idea is to make it easier to retrieve your inputs for a transaction and broadcast a transaction via coinb.in or a number of other third parties, as well as making it easier to use bitcoin testnet (and eventually altcoins).

At the time of posting this, I have only added multiple hosts to broadcasts too, and have not yet added any services to retrieve your inputs for a transaction.

Once complete though this should make coinb.in even more resilient and decentralized than most wallets.

Feedback and suggestions are welcome.

So, as far as I know, there are no wallets/services that allow for Trezor+multsig (well, there's Greenaddress, but that uses their servers to do stuff).

Any chance Coinbin could be the first to do this?
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2394


I support freedom of choice


View Profile WWW
June 24, 2015, 09:47:52 PM
 #190

So, as far as I know, there are no wallets/services that allow for Trezor+multsig (well, there's Greenaddress, but that uses their servers to do stuff).

Any chance Coinbin could be the first to do this?
It will be even very useful if it's possible to do the same with Coinbin as do this version of electrum:
https://github.com/greenaddress/electrum/tree/greenaddress-2of3-recovery

Being able to recover a 2of3 wallet from an offline Greenaddress with Coinbin Smiley

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
btc_enigma
Hero Member
*****
Offline Offline

Activity: 499


View Profile
June 25, 2015, 10:30:01 AM
 #191

Cool project !

noel57
Sr. Member
****
Offline Offline

Activity: 392



View Profile
June 29, 2015, 09:42:35 AM
 #192

This awesome project Open Source, Multi Signature and HD Wallet, though I have paid for a hardware cold wallet but when needed I will surely download and try this fantastic project of yours.
Thank you for sharing.

HostFat
Staff
Legendary
*
Offline Offline

Activity: 2394


I support freedom of choice


View Profile WWW
July 20, 2015, 03:45:19 PM
 #193

Can you modify the byte limit for OP_RETURN 80 bytes?

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
July 21, 2015, 12:57:27 PM
 #194

Can you modify the byte limit for OP_RETURN 80 bytes?

Sure, I have a few changes to make. I'll allow it to accept 80 bytes but still recommend that you keep it at 40.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
July 21, 2015, 01:05:50 PM
 #195

So, a quick question to the community!

Not many people seem to be donating and I need to generate enough to at least pay for the VPS. I don't want to add advertising to the site, although Google ads would probably generate me quite a bit. Does anyone have any suggestions for generating donations? I suppose I could make it optional on the new transaction page to donate, or throw up a message now and again.

What do you all think would be least intrusive?

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
July 21, 2015, 04:45:02 PM
 #196

So, a quick question to the community!

Not many people seem to be donating and I need to generate enough to at least pay for the VPS. I don't want to add advertising to the site, although Google ads would probably generate me quite a bit. Does anyone have any suggestions for generating donations? I suppose I could make it optional on the new transaction page to donate, or throw up a message now and again.

What do you all think would be least intrusive?

How much are you paying per month?

You might also host your site on Github for free.

chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
July 22, 2015, 09:05:29 PM
 #197

So, a quick question to the community!

Not many people seem to be donating and I need to generate enough to at least pay for the VPS. I don't want to add advertising to the site, although Google ads would probably generate me quite a bit. Does anyone have any suggestions for generating donations? I suppose I could make it optional on the new transaction page to donate, or throw up a message now and again.

What do you all think would be least intrusive?

How much money are we talking about here? Give us a donation target Smiley
money.investment
Member
**
Offline Offline

Activity: 63

Micro Investment with Guaranteed Returns


View Profile WWW
July 25, 2015, 11:56:29 AM
 #198


While signing a multisig transaction, does the order of signing it matters ?

Is this order  linked to order of public keys used to create that multisig address ?

Micro Investment with Guaranteed Returns  1DX26yvjEj2fXGK1pgfGeThWycDgjqZ4sv
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
July 25, 2015, 12:41:47 PM
 #199


While signing a multisig transaction, does the order of signing it matters ?

Is this order  linked to order of public keys used to create that multisig address ?

There is no "specific" order when signing.

spndr7
Legendary
*
Offline Offline

Activity: 1021



View Profile WWW
July 26, 2015, 08:47:06 PM
 #200




Sure, I have a few changes to make. I'll allow it to accept 80 bytes but still recommend that you keep it at 40.


Unable to send this 40 byte hex Null data (OP_RETURN) through coinb.in

6e40e16940913005cfe051091306f7e1fe01201682c512c80eff20205129bdc01163a7d0a59b37b 4


39 byte hex is working

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
July 27, 2015, 06:26:37 PM
 #201




Sure, I have a few changes to make. I'll allow it to accept 80 bytes but still recommend that you keep it at 40.


Unable to send this 40 byte hex Null data (OP_RETURN) through coinb.in

6e40e16940913005cfe051091306f7e1fe01201682c512c80eff20205129bdc01163a7d0a59b37b 4


39 byte hex is working

What error did you receive?

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
July 27, 2015, 06:28:26 PM
 #202

So, a quick question to the community!

Not many people seem to be donating and I need to generate enough to at least pay for the VPS. I don't want to add advertising to the site, although Google ads would probably generate me quite a bit. Does anyone have any suggestions for generating donations? I suppose I could make it optional on the new transaction page to donate, or throw up a message now and again.

What do you all think would be least intrusive?

How much are you paying per month?

You might also host your site on Github for free.

Its about 25£ a month. Its UK hosted, so probably a bit more expensive than usual. I can't run it from github as I need to be running a Bitcoin client, sometimes multiple ones. Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
spndr7
Legendary
*
Offline Offline

Activity: 1021



View Profile WWW
July 27, 2015, 06:44:49 PM
 #203




Sure, I have a few changes to make. I'll allow it to accept 80 bytes but still recommend that you keep it at 40.


Unable to send this 40 byte hex Null data (OP_RETURN) through coinb.in

6e40e16940913005cfe051091306f7e1fe01201682c512c80eff20205129bdc01163a7d0a59b37b 4


39 byte hex is working

What error did you receive?

40 byte OP_RETURN null data is not is not  included in the generated raw transaction data, and the corresponding address box is outlined with
red color, showing error.

But its working for null data < 40 Bytes

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
July 27, 2015, 06:46:49 PM
 #204

[snip]

40 byte OP_RETURN null data is not is not  included in the generated raw transaction data, and the corresponding address box is outlined with
red color, showing error.

But its working for null data < 40 Bytes

OK, thanks! This should be fixed in the most recent update. But I will double check. Smiley

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
chriswilmer
Legendary
*
Offline Offline

Activity: 1008


View Profile WWW
August 07, 2015, 01:36:06 AM
 #205

So, a quick question to the community!

Not many people seem to be donating and I need to generate enough to at least pay for the VPS. I don't want to add advertising to the site, although Google ads would probably generate me quite a bit. Does anyone have any suggestions for generating donations? I suppose I could make it optional on the new transaction page to donate, or throw up a message now and again.

What do you all think would be least intrusive?

How much are you paying per month?

You might also host your site on Github for free.

Its about 25£ a month. Its UK hosted, so probably a bit more expensive than usual. I can't run it from github as I need to be running a Bitcoin client, sometimes multiple ones. Smiley

Personally, I find that to be useful information! Maybe state on the website what the costs are. I'll be sure to donate a month's usage next time I use it.
jpmcruz
Newbie
*
Offline Offline

Activity: 2


View Profile
August 09, 2015, 12:23:41 PM
 #206

Some details that are not clear to me:
1. If I am a third-party (i did not participate in the creation of the multisig address or with any of the transactions or the redeem script) and I look at the blockchain and find a multisig address, will I be able to know which Bitcoin addresses were used to create the multisig address?
2. If I am a third-party (same conditions as above) and I look at the blockchain, I see a confirmed transaction where a multisig address was used to send BTC to some other address, will I be able to know which of the individual Bitcoin addresses used in the creation of the multisig address actually SIGNED the transaction? i.e., if Addresses #1, #2, and 3# were used to create MultiSigAddress #1 (2 of 3 signatures required). Will I be able to know if for #1 and #3 signed the transaction (and that #2 did not participate)?
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 518


Bit-x.com - Fast & Easy Trade with Low Fees!


View Profile WWW
August 09, 2015, 05:14:23 PM
 #207

Some details that are not clear to me:
1. If I am a third-party (i did not participate in the creation of the multisig address or with any of the transactions or the redeem script) and I look at the blockchain and find a multisig address, will I be able to know which Bitcoin addresses were used to create the multisig address?
2. If I am a third-party (same conditions as above) and I look at the blockchain, I see a confirmed transaction where a multisig address was used to send BTC to some other address, will I be able to know which of the individual Bitcoin addresses used in the creation of the multisig address actually SIGNED the transaction? i.e., if Addresses #1, #2, and 3# were used to create MultiSigAddress #1 (2 of 3 signatures required). Will I be able to know if for #1 and #3 signed the transaction (and that #2 did not participate)?

Regardless of your involvement in creating a P2SH address, you can find which all addresses are needed to sign transaction if that multisig address has send Bitcoins from it. When sending Bitcoins, the redeemScript is included in the transaction. When you have a redeemScript, you can either break it down and find the public keys manually or you can use https://coinb.in/#verify.

Read http://www.soroushjp.com/2014/12/20/bitcoin-multisig-the-hard-way-understanding-raw-multisignature-bitcoin-transactions.

jpmcruz
Newbie
*
Offline Offline

Activity: 2


View Profile
August 10, 2015, 01:38:45 AM
 #208

Some details that are not clear to me:
1. If I am a third-party (i did not participate in the creation of the multisig address or with any of the transactions or the redeem script) and I look at the blockchain and find a multisig address, will I be able to know which Bitcoin addresses were used to create the multisig address?
2. If I am a third-party (same conditions as above) and I look at the blockchain, I see a confirmed transaction where a multisig address was used to send BTC to some other address, will I be able to know which of the individual Bitcoin addresses used in the creation of the multisig address actually SIGNED the transaction? i.e., if Addresses #1, #2, and 3# were used to create MultiSigAddress #1 (2 of 3 signatures required). Will I be able to know if for #1 and #3 signed the transaction (and that #2 did not participate)?

Regardless of your involvement in creating a P2SH address, you can find which all addresses are needed to sign transaction if that multisig address has send Bitcoins from it. When sending Bitcoins, the redeemScript is included in the transaction. When you have a redeemScript, you can either break it down and find the public keys manually or you can use https://coinb.in/#verify.

Read http://www.soroushjp.com/2014/12/20/bitcoin-multisig-the-hard-way-understanding-raw-multisignature-bitcoin-transactions.

yeah, thanks! And when sending Bitcoins, the redeemScript will show that #1 and #3 signed the transaction, and that #2 did not participate right? (just double checking)
expert-lister
Sr. Member
****
Offline Offline

Activity: 285


Imagine world without hate and oppression


View Profile
August 14, 2015, 12:18:35 PM
 #209

Question, for using new key, must be install bitcoin-qt or can using online bitcoin wallet?

Liberty...
Financisto
Hero Member
*****
Offline Offline

Activity: 493

★★★★★


View Profile WWW
August 21, 2015, 04:06:36 AM
 #210

Found this coinb.in very useful when combined with WarpWallet ( keybase.io/warp ). All of them used offline.

It generates the most powerfull cold storage method of defense I've ever seen (with no need to download the full blockchain nor touching the internet).

Multi signature + Warp Wallet = no more fear of brute force attacks.

Thank you @OutCast3k for this wonderful, simple and (yet) beautiful tool.

It's the KISS (Keep it simple stupid!) philosophy in action. It's an awesome GUI to use even for non-technical public.

I also liked to see a good fork activity on this project by several contributors at Github.

Keep up the good work!

HostFat
Staff
Legendary
*
Offline Offline

Activity: 2394


I support freedom of choice


View Profile WWW
August 21, 2015, 04:08:17 AM
 #211

Maybe he could even integrate the Warp Wallet way on coinb.in Cheesy

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
Financisto
Hero Member
*****
Offline Offline

Activity: 493

★★★★★


View Profile WWW
August 21, 2015, 04:13:57 AM
 #212

Maybe he could even integrate the Warp Wallet way on coinb.in Cheesy

That would certainly be an excellent achievement!

OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
September 16, 2015, 10:40:19 AM
 #213

A few small changes in the recent update, but they might be worth mentioning.

  • There is now a Mediation/Arbitration Service listed on coinb.in's multisig page. This feature allows users to create multi signature 2-of-3 addresses with our public key and we will help resolve any disputes should they arrive. There is a fixed 1% fee.

    Note: If you offer a (reputable) mediation/arbitration/escrow service, you can make a pull request on github to have your pubkey added to the list of mediators.

  • A warning message will be displayed if the fee on the new transaction page is greater than 0.01 BTC.
  • Fixed a bug with the retrieval of unspent outputs for litecoin.
  • Some extra validation on the new transaction page to indicate which field is likely invalid.
  • Linked to the #settings page (https://coinb.in/#settings) from the broadcast page to make changing the network easier.

Might have been something I've missed, but I think that's it.

Enjoy everyone, more to come soon!

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
GermanGiant
Hero Member
*****
Offline Offline

Activity: 616

Do not trust the DefaultTrust


View Profile
October 18, 2015, 10:16:18 PM
 #214

This is a fantastic project. Kudos to those who are contrbuting to build this. I would like to know...

1. Which API is being used to Push Tx ?

2. Does https://coinb.in/#sign produce only Low S Tx ?
OutCast3k
Hero Member
*****
Offline Offline

Activity: 685


View Profile WWW
December 30, 2015, 02:15:23 AM
 #215

Coinb.in now supports OP_HODL

https://coinb.in/#newTimeLocked

Enjoy everyone!!!

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg
Dabs
Staff
Legendary
*
Offline Offline

Activity: 1624



View Profile
December 30, 2015, 04:37:42 PM
 #216

Note: If you offer a (reputable) mediation/arbitration/escrow service, you can make a pull request on github to have your pubkey added to the list of mediators.

Can I make a request to be added from here? 2-of-3 multi-sig would potentially remove most of my involvement from honest parties.

Escrow Service (Services) - GPG ID: 32AD7565, OTC ID: Dabs
All messages concerning escrow or with bitcoin addresses are GPG signed. Please verify.
CompTIA A+, Microsoft Certified Professional, MCSA: Windows 10; Windows Server 2012, MCSE: Cloud Platform and Infrastructure; Productivity; Messaging
MaritiJames3
Sr. Member
****
Offline Offline

Activity: 448



View Profile
December 30, 2015, 05:51:02 PM
 #217

Coinb.in now supports OP_HODL

https://coinb.in/#newTimeLocked

Enjoy everyone!!!

Looks good, but i can't open that website. Is it opening there, or do you block users with the TOR client on?
If 2 can you enable TOR users please.
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2394


I support freedom of choice


View Profile WWW
December 31, 2015, 08:43:46 AM
 #218

Looks good, but i can't open that website. Is it opening there, or do you block users with the TOR client on?
If 2 can you enable TOR users please.
You can just download the code and run it locally
https://github.com/OutCast3k/coinbin/

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it