Author

Topic: Smart contracts in bitcoin (Read 1806 times)

full member
Activity: 179
Merit: 151
-
July 14, 2016, 11:38:14 AM
#10
To answer the OP's question, s/he could use something like a assurance contract, which do a payout after some threshold has been met.

The scheme described there is not really usable because at any point the recipient of the funds can pledge the remainder of the balance, push the transaction through, and immediately get her pledge back. But as best as I can read OP's request, this is the desired behaviour.
jza
full member
Activity: 126
Merit: 102
July 14, 2016, 11:25:22 AM
#9
I think the next question is how, since I heard some of the OPcodes can have some type of code, and also a sidechain like smartcontracts.com can write to the blockchain and use their sidechain as oracles.
sr. member
Activity: 433
Merit: 250
BTG CEO
June 27, 2016, 10:42:34 PM
#8
Maybe after seeing how the dao and ethereum have ended up we shouldnt really tempt fate too much by tinkering with bitcoin to allow such things. If its not broke dont fix it. Imo smart contract should be left to altcoins, Bitcoin as it stands works at what its supposed to (well within reason, its a good store of value anyway)

Counter party has had "smart contracts" since years ago, the main part to take a look in a smart contract is the escrow of funds, their decentralized exchange is a type of smart contract that escrows money and executes orders independently. And as Gmaxwell said, you can even build your own protocol and language for smart contracts because Bitcoin has always allowed it.
legendary
Activity: 1066
Merit: 1050
Khazad ai-menu!
June 26, 2016, 06:40:06 PM
#7
Can I use bitcoin to throw money away because I prefer soundbytes and fads to thinking clearly and doing business in a rational way?  Yes I absolutely can. 
legendary
Activity: 938
Merit: 1002
June 19, 2016, 06:08:50 AM
#6
Anything smart contracts can do, Mutisig can do. Just bathe in that knowledge for a second, then start working with it! Smiley
staff
Activity: 4172
Merit: 8419
June 18, 2016, 03:43:11 PM
#5
Maybe after seeing how the dao and ethereum have ended up we shouldnt really tempt fate too much by tinkering with bitcoin to allow such things. If its not broke dont fix it. Imo smart contract should be left to altcoins, Bitcoin as it stands works at what its supposed to (well within reason, its a good store of value anyway)

Bitcoin has had smart contracts since day one. The architecture of the system is much more fundamentally sound and safe than the system in Ethereum. People have lost money via misuse of Bitcoin script, however, and no one has suggested forcefully adjusting Bitcoin's rules to claw those funds-- or others lost in other incidents-- back.

legendary
Activity: 1008
Merit: 1000
★YoBit.Net★ 350+ Coins Exchange & Dice
June 18, 2016, 03:27:23 PM
#4
Maybe after seeing how the dao and ethereum have ended up we shouldnt really tempt fate too much by tinkering with bitcoin to allow such things. If its not broke dont fix it. Imo smart contract should be left to altcoins, Bitcoin as it stands works at what its supposed to (well within reason, its a good store of value anyway)
sr. member
Activity: 257
Merit: 343
June 16, 2016, 04:16:56 PM
#3
not sure what you mean by "pay to the smart contract". Example 4 in the wiki gives a good hint.

https://en.bitcoin.it/wiki/Smart_contract

legendary
Activity: 924
Merit: 1000
June 15, 2016, 02:22:40 AM
#2
Is it possible in bitcoin to start a smart contract preloaded with some amount of money. And if some other user is ready to pay to the smart contract a certain amount of money, the smart contract should release the preloaded amount of money in the smart contract to the user who paid to it ?

Smart contracts in bitcoin are possible, look here:
https://www.cryptocoinsnews.com/counterparty-brings-ethereum-smart-contracts-to-the-bitcoin-blockchain/
newbie
Activity: 18
Merit: 8
June 14, 2016, 07:36:53 PM
#1
Is it possible in bitcoin to start a smart contract preloaded with some amount of money. And if some other user is ready to pay to the smart contract a certain amount of money, the smart contract should release the preloaded amount of money in the smart contract to the user who paid to it ?
Jump to: