Bitcoin Forum
April 24, 2024, 07:18:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin smart contracts  (Read 253 times)
AGK12 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
April 01, 2018, 09:49:05 PM
 #1

Can you create smart contracts with bitcoin such as allowing bitcoin to be sent only if the transaction is signed by the receiver or if the scriptsig contains a specific value?
1713986305
Hero Member
*
Offline Offline

Posts: 1713986305

View Profile Personal Message (Offline)

Ignore
1713986305
Reply with quote  #2

1713986305
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713986305
Hero Member
*
Offline Offline

Posts: 1713986305

View Profile Personal Message (Offline)

Ignore
1713986305
Reply with quote  #2

1713986305
Report to moderator
RGBKey
Hero Member
*****
Offline Offline

Activity: 854
Merit: 658


rgbkey.github.io/pgp.txt


View Profile WWW
April 02, 2018, 01:41:33 AM
 #2

I'm not sure about those particular examples, but Bitcoin's scripting system is pretty extensive. Additionally, RSK is a Bitcoin sidechain that features smart contracts written in Solidity.

See https://en.bitcoin.it/wiki/Script and https://www.rsk.co/
Heisenberg_Hunter
Legendary
*
Offline Offline

Activity: 1583
Merit: 1276


Heisenberg Design Services


View Profile WWW
April 02, 2018, 04:20:17 PM
 #3

Smart contracts have been famous mostly on the ethereum blockchain, but most of the devs prefer smart contracts to be made on the ethereum block chain than the btc blockchain. As eth blockchain can be used to create a very complex smart contract, some projects have proved that a simpler and better contract could be created with btc. But on the contrary, eth contracts are highly developed by complex codes which is not the case with btc.

But this could be achieved by using the features which are implemented to the btc by the BIPs. For example consider this BIP which was a important improvement and this feature could be used in the creation of smart contract like script.  This particular code helps to prevent funds from being spent from a multisig wallet until certain amount of time passes or until all the buyers or sellers signs the transaction.

I may even be wrong in explaining things
vit05
Hero Member
*****
Offline Offline

Activity: 672
Merit: 526



View Profile
April 03, 2018, 04:40:26 PM
 #4

Bitcoin can only have smart contracts on a side chain. It is not feasible to introduce smart contracts into the main chain as is the case with Ethereum and Cardano. RSK is the best known project in this sense, but it is still in beta. It was released in January on mainnet after more than 3 years of development.
ABCbits
Legendary
*
Offline Offline

Activity: 2856
Merit: 7403


Crypto Swap Exchange


View Profile
April 03, 2018, 05:07:59 PM
Merited by DarkStar_ (1)
 #5

It's possible, but current Bitcoin isn't user friendly since it's stack-based programming language and you can't create complex smart contract since Bitcoin scripting isn't turing-complete (no iteration/looping).
There are project such as Ivy which make Bitcoin scripting/smart contract more user-friendly.

I'd recommend popular altcoin with smart-contract if you really need smart contract capability.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
supermanst
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 03, 2018, 06:39:19 PM
 #6

Hopefully it will never happen. It could mean the end of all the other smart contract based chains.
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!