Questions tagged [contracts]

45 questions
12
votes
2 answers

Where are contracts used in the real world

I'd be interested to see some examples of Bitcoin contracts used right now. Websites that provide escrow services. Smart properties. Trading of contracts. Oracles. Or are they not really in use right now?
lukebuehler
  • 173
  • 6
9
votes
4 answers

Is there a listing of strange or unusual scripts found in transactions?

I'm studying scripts and am looking for strange or unusual scripts that have appeared in any of the *coin networks..(outside the standard ones listed on this page) Is any one person, or website listing non-standard transactions that are not…
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
9
votes
2 answers

Atomic cross-chain trading

Atomic cross-chain trading describes a method where two parties, owning different crypto currencies, can safely exchange the crypto currencies without an intermediary. The method is described in the link below:…
k kurokawa
  • 2,072
  • 14
  • 28
9
votes
1 answer

How do I implement an escrow service using Bitcoin contracts?

I can see that Bitocin can provide escrow contracts. https://en.bitcoin.it/wiki/Contracts#Example_2:_Escrow_and_dispute_mediation Can someone provide a worked example or even better a pointer to a code example.
Ian Purton
  • 1,000
  • 6
  • 12
7
votes
1 answer

How to 'attach' metadata to a bitcoin receive address

I need to generate a receive address that is directly associated with some metadata, M, that forms part of a verifiable contract. I require that customers can verify that an address really was generated from a specific contract message, but I do not…
grebit
  • 71
  • 2
6
votes
1 answer

Using Bitcoin for Bond Certificates

I have a product that is in development and I want to allow people to buy something like bonds to raise money for the project. I was thinking to develop my own protocol for defining these bond certificates but first I want to check if Bitcoin…
Saaneh
  • 61
  • 2
5
votes
2 answers

Bitcoin contracts. Are there good examples in the blockchain?

I have been checking the Bitcoin wiki for script and Bitcoin contracts and I have some doubts about advanced contracts. For instance, I have seen in many places references to password controlled transfers, where only the owner of a keyword could get…
halftimepad
  • 1,408
  • 11
  • 16
5
votes
3 answers

Are loans with enforced repayment possible on the blockchain?

Are loans with interest possible in Bitcoin, such that repayment is enforceably encoded with Bitcoin Script on the blockchain from the establishment of the lending contract?
Geremia
  • 4,469
  • 4
  • 37
  • 75
5
votes
1 answer

Using Bitcoin contracts to run a betting site without the need for deposits?

There are a couple of bitcoin betting sites, but they all seem to require making a deposit with them. Is it possible to somehow use the Bitcoin contract system to establish a distributed betting pool? Once the bet is decided one way or the other,…
Thilo
  • 4,751
  • 5
  • 25
  • 37
5
votes
1 answer

Contracts: Will this be possible?

I would like to know if this will be possible with Bitcoin: Create a key with the following features: Only be able to spend btc if a % of pre-definied keys allow it The own of the key need for example 80% acceptance from pre-definied keys to be…
Leo
  • 301
  • 1
  • 2
4
votes
1 answer

Is Ripple's Contract language intended to be Turing complete or sub-Turing complete ?

The wiki seems to imply Turing-completeness because no restrictions on jumps are specified here https://ripple.com/wiki/Contracts#Foundational_Ops. Which is it and what (if any) is the actual intention ? Cheers ...
Alex Kravets
  • 518
  • 2
  • 9
4
votes
1 answer

Is it possible (in some way or other) to expire a txout?

I read Contracts: Will this be possible? where part of the question related to expiring a transaction and one of the replies said that it would never be possible since it causes problems. Unfortunately the reply didn't indicate what problems it…
4
votes
1 answer

Could I mine a non-final transaction?

I know that non-final transactions (locktime in future and sequence number < MAX_UINT) are not "accepted by miners". However, I could not figure out the exact behavior. If I mined my own block with a non-final transaction, would that block be…
real-or-random
  • 451
  • 3
  • 6
3
votes
1 answer

What is the status of smart contracts in bitcoin?

Are contracts described here already available for use? This source claims that "Ethereum style contracts" will be available in June. Is this correct? How are Ethereum style contracts different from contracts described in the first source?
user49976
  • 31
  • 2
3
votes
2 answers

Can you "undo" an nlockTime transaction by spending a single UTXO of it before lockTime's block happens?

Let's say I have a wallet X with money from 3 unspent outputs (UTXOs) A, B and C. I make an nlocktime transaction to spend 2 of my 3 UTXOs (A & B) to wallet Y, 1 month in the future, sign it, and give it to someone (actually the owner of wallet Y)…
knocte
  • 1,764
  • 1
  • 17
  • 32
1
2 3