Bitcoin Forum
May 12, 2024, 01:18:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I use timed transactions, escrow transactions and multi-signature trans?  (Read 339 times)
U2 (OP)
Hero Member
*****
Offline Offline

Activity: 676
Merit: 503


I used to be indecisive, but now I'm not sure...


View Profile
November 01, 2016, 08:26:03 PM
 #1

I just saw this instead of an advertisement on bitcointalk.

"The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future."

How would I go about sending any of these within the bitcoin protocol? I thought escrow was just something people had to come up with on their own and I didn't know about timed transactions at all. I've heard of multi-signature transactions but how do I make an address that needs 2 keys? Or is it 2 of 3 or do I chose that somehow? I understand that the bitcoin address will start with 3 but that means no thing to me!:)

Thanks
1715519904
Hero Member
*
Offline Offline

Posts: 1715519904

View Profile Personal Message (Offline)

Ignore
1715519904
Reply with quote  #2

1715519904
Report to moderator
1715519904
Hero Member
*
Offline Offline

Posts: 1715519904

View Profile Personal Message (Offline)

Ignore
1715519904
Reply with quote  #2

1715519904
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
November 01, 2016, 08:34:43 PM
 #2

All of these transactions use scripts. These scripts can be encoded as a script hash and used in a Pay-to-script-hash (P2SH) output which corresponds to a Bitcoin address beginning with a '3'.

Multisignature addresses have scripts of the format
Code:
OP_0 <pubkey 1> ... <pubkey n> OP_n OP_CHECKMULTISIG
where n is less than 15. The OP_n indicates how many of the previous public keys are required in order to spend from that address.

Escrow transactions are basically smart contracts. Bitcoin doesn't really support this well yet. These smart contracts are really just complex scripts.

Timed transactions are transactions that use the nLocktime field of the transaction. This field prevents the transaction from being confirmed until a certain time. They can also be used in scripts for P2SH addresses which use OP_CHECKLOCKTIMEVERIFY which will ensure that Bitcoin cannot be spent from that address until the nLocktime has passed.

U2 (OP)
Hero Member
*****
Offline Offline

Activity: 676
Merit: 503


I used to be indecisive, but now I'm not sure...


View Profile
November 01, 2016, 08:46:00 PM
 #3

All of these transactions use scripts. These scripts can be encoded as a script hash and used in a Pay-to-script-hash (P2SH) output which corresponds to a Bitcoin address beginning with a '3'.

Multisignature addresses have scripts of the format
Code:
OP_0 <pubkey 1> ... <pubkey n> OP_n OP_CHECKMULTISIG
where n is less than 15. The OP_n indicates how many of the previous public keys are required in order to spend from that address.

Escrow transactions are basically smart contracts. Bitcoin doesn't really support this well yet. These smart contracts are really just complex scripts.

Timed transactions are transactions that use the nLocktime field of the transaction. This field prevents the transaction from being confirmed until a certain time. They can also be used in scripts for P2SH addresses which use OP_CHECKLOCKTIMEVERIFY which will ensure that Bitcoin cannot be spent from that address until the nLocktime has passed.

Ok but is there any way that the end user (so someone with no bitcoin expertise) can use these in any wallet? Or is this something only for the very gifted bitcoiner that's been here for years and knows what they're doing? Honestly I barely understood a word you said there and was just wondering if I was actually able to go about using these in a simple way.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
November 01, 2016, 10:05:02 PM
 #4

All of these transactions use scripts. These scripts can be encoded as a script hash and used in a Pay-to-script-hash (P2SH) output which corresponds to a Bitcoin address beginning with a '3'.

Multisignature addresses have scripts of the format
Code:
OP_0 <pubkey 1> ... <pubkey n> OP_n OP_CHECKMULTISIG
where n is less than 15. The OP_n indicates how many of the previous public keys are required in order to spend from that address.

Escrow transactions are basically smart contracts. Bitcoin doesn't really support this well yet. These smart contracts are really just complex scripts.

Timed transactions are transactions that use the nLocktime field of the transaction. This field prevents the transaction from being confirmed until a certain time. They can also be used in scripts for P2SH addresses which use OP_CHECKLOCKTIMEVERIFY which will ensure that Bitcoin cannot be spent from that address until the nLocktime has passed.

Ok but is there any way that the end user (so someone with no bitcoin expertise) can use these in any wallet? Or is this something only for the very gifted bitcoiner that's been here for years and knows what they're doing? Honestly I barely understood a word you said there and was just wondering if I was actually able to go about using these in a simple way.

- An end user can't do time locked transactions (CLTV) at the moment because no wallet provides a user friendly interface for that.

- Lots of wallet support multisig addresses. Copay and electrum are examples.

- As far as escrow transactions are concerned an end user can't do smart contracts yet because no wallet provides an interface for that. However you can do escrow transactions of another sort via bit2factor.com:

https://bit2factor.com/bitscrow/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!