Bitcoin Forum
May 02, 2024, 08:48:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Why Bitcoin smart contracts are not developed?  (Read 407 times)
BTCW
Copper Member
Full Member
***
Offline Offline

Activity: 193
Merit: 235

Click "+Merit" top-right corner


View Profile
July 12, 2020, 12:45:54 AM
 #21

Bitcoin can have "DIY smart contracts" (no code, no forks, no extra software) as in this example.

SendBTC.me <<< amazing imitative
1714682916
Hero Member
*
Offline Offline

Posts: 1714682916

View Profile Personal Message (Offline)

Ignore
1714682916
Reply with quote  #2

1714682916
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714682916
Hero Member
*
Offline Offline

Posts: 1714682916

View Profile Personal Message (Offline)

Ignore
1714682916
Reply with quote  #2

1714682916
Report to moderator
1714682916
Hero Member
*
Offline Offline

Posts: 1714682916

View Profile Personal Message (Offline)

Ignore
1714682916
Reply with quote  #2

1714682916
Report to moderator
MCobian
Full Member
***
Offline Offline

Activity: 1190
Merit: 117



View Profile
July 12, 2020, 01:13:10 AM
 #22

Because the main purpose of Bitcoin is not to become smart contracts, the Bitcoin developers team prioritizes the goal of Satoshi Nakamoto
to make Bitcoin as a currency that can be used globally. Smart contracts platforms are better developed by altcoins like Ethereum and Tron
which is better technologically. Proven Ethereum is now a widely used smart contracts.

  SOLARBLOX        ◥◥◥◥◥◥◥◥◥◥◥◥◥◥◥◥◥◥ crypto solar mining ◥◥
◼◼ Crypto Mining using Solar energy as substitute energy sources ◼◼
TELEGRAM TWITTER   ▪▪▪▪▪ [ DOWNLOAD WHITEPAPER ]
TheArchaeologist
Sr. Member
****
Offline Offline

Activity: 310
Merit: 727


---------> 1231006505


View Profile WWW
July 12, 2020, 07:45:58 AM
 #23

Bitcoin can have "DIY smart contracts" (no code, no forks, no extra software) as in this example.
That example has nothing to do with a smart contract. A smart contract should be run/verified by every full node. In this example the private key gets published  Shocked Just because someone writes a blog and smacks in the word "Smart Contract" doesn't mean it is one.

Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7452


Crypto Swap Exchange


View Profile
July 12, 2020, 02:00:55 PM
Merited by TheArchaeologist (2)
 #24

Bitcoin can have "DIY smart contracts" (no code, no forks, no extra software) as in this example.

While you shared a bit interesting blog post, it doesn't utilize smart contract, let alone bitcoin script. If you're looking for example, you should check Rootstock instead, even though the smart contract happens on side chain.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
yazher
Hero Member
*****
Offline Offline

Activity: 2184
Merit: 585


You own the pen


View Profile
July 12, 2020, 02:21:43 PM
 #25

It is because there are lots of cryptocurrencies nowadays that offer that kind of contract, like Ethereum and others. If they will be developed it now, I think its too late for them because there are already lots of projects who have this kind of thing and theirs are already developed to the point that they only encountering fewer bugs from it. If the team who develops smart contracts for BTC is really sincere they won't hesitate to start it now but there must be some kind of reasons why they're not focusing on this one.

.freebitcoin.       ▄▄▄█▀▀██▄▄▄
   ▄▄██████▄▄█  █▀▀█▄▄
  ███  █▀▀███████▄▄██▀
   ▀▀▀██▄▄█  ████▀▀  ▄██
▄███▄▄  ▀▀▀▀▀▀▀  ▄▄██████
██▀▀█████▄     ▄██▀█ ▀▀██
██▄▄███▀▀██   ███▀ ▄▄  ▀█
███████▄▄███ ███▄▄ ▀▀▄  █
██▀▀████████ █████  █▀▄██
 █▄▄████████ █████   ███
  ▀████  ███ ████▄▄███▀
     ▀▀████   ████▀▀
BITCOIN
DICE
EVENT
BETTING
WIN A LAMBO !

.
            ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
▄▄▄▄▄██████████████████████████████████▄▄▄▄
▀██████████████████████████████████████████████▄▄▄
▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
  ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
       ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.PLAY NOW.
Fundamentals Of
Sr. Member
****
Offline Offline

Activity: 2310
Merit: 366


View Profile
July 12, 2020, 03:10:07 PM
 #26

From more technical side, some reason the community opposes smart contract on Bitcoin are :
1. High complexity, which could leads to bugs
2. Smart contract is only as smart as the creator
3. Increase node burden to store and verify the smart contract

Regarding 1, according to Satoshi, it wouldn't be too difficult... 2 and 3 are totally understandable.

This makes me think that had Satoshi not decided to leave everything about his creation behind, Bitcoin could have been more than just the kind of cryptocurrency that we experience right now. I'm sure Satoshi still had a lot of brilliant ideas which definitely include developing smart contracts on Bitcoin when he decided to vanish.

To those who are left with Bitcoin, before developing smart contracts on Bitcoin further or even thinking about it, Ethereum came and it was a big hit. It was sort of the answer to the question of what else could we do with cryptocurrency and blockchain?
GazetaBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1694
Merit: 6540


Fully-fledged Merit Cycler|Spambuster'23|Pie Baker


View Profile
July 12, 2020, 07:45:24 PM
 #27

I am posting hereby another quote from Satoshi, regarding "escrow transactions" -- something we can call as smart contract. It is obvious that he had that in mind while developing Bitcoin. Excepting the email sent to WeiDai which was mentioned in OP, he wrote the following lines right here, on the forum:

Here's an outline of the kind of escrow transaction that's possible in software.  This is not implemented and I probably won't have time to implement it soon, but just to let you know what's possible.

The basic escrow: The buyer commits a payment to escrow. The seller receives a transaction with the money in escrow, but he can't spend it until the buyer unlocks it. The buyer can release the payment at any time after that, which could be never. This does not allow the buyer to take the money back, but it does give him the option to burn the money out of spite by never releasing it. The seller has the option to release the money back to the buyer.

While this system does not guarantee the parties against loss, it takes the profit out of cheating.

If the seller doesn't send the goods, he doesn't get paid. The buyer would still be out the money, but at least the seller has no monetary motivation to stiff him.

The buyer can't benefit by failing to pay. He can't get the escrow money back. He can't fail to pay due to lack of funds. The seller can see that the funds are committed to his key and can't be sent to anyone else.

Now, an economist would say that a fraudulent seller could start negotiating, such as "release the money and I'll give you half of it back", but at that point, there would be so little trust and so much spite that negotiation is unlikely. Why on earth would the fraudster keep his word and send you half if he's already breaking his word to steal it? I think for modest amounts, almost everyone would refuse on principle alone.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











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











▄▄▄▄█
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
July 12, 2020, 09:38:46 PM
Last edit: July 12, 2020, 10:46:37 PM by gmaxwell
Merited by GazetaBitcoin (10), ABCbits (9), fillippone (8), JayJuanGee (2), pooya87 (2), d5000 (1)
 #28

Bitcoin has smart contracts-- that is what script is.

This is why lightning can exist.

This is why escrow transactions exists (which weren't just proposed by satoshi, but are used by users!)

This is why multisig exists and is extremely widely used.

Bitcoin script is only less expressive than ethereum in there respect that access to transactions and the blockchain data is limited, that a few opcodes were disabled due to dos attacks and that there is a reasonable bound on execution resources.

The reason you may have an impression otherwise is a direct result of intentional fraud perpetuated by the creators of Ethereum, breathlessly hyping some "World Computer" nonsense early on to sucker people into buying coins from their 72 million coin (17 billion dollars at current prices) pre-mine.  Many of the things they marked (replacement for Facebook!) were obvious nonsense, and much of what wasn't nonsense was already possible in Bitcoin but their hype made it sound like it wasn't.

That said: every time you create a new smart contract what you are actually doing is creating a novel bespoke cryptosystem.  That should be ringing alarm bells for you because almost always when someone-- even an expert-- cooks up a new cryptosystem the result is broken from top to freeking bottom.  Creating secure cryptosystems is among the most challenging domains of engineering.

Ethereum throws up a javascript like interface to enable maximum YOLO by the people least familiar with infrastructure engineering, they don't give a damn about the resource impact and have utterly obliterated the scalability of their system through poor design decisions (as a result the minimum hardware to keep up with Ethereum while it's doing *fewer* transactions than bitcoin, is literally orders of magnitude more-- and as a result  most businesses blindly trust consensys or another third party to give them access to a node).

But ignoring all those constraints doesn't make easier to write _SAFE_ smart contracts: experience has show that over and over again virtually all smart contracts on ethereum are absurdly vulnerable.  A smart contract to enable multisig there (functionality that bitcoin had widely deployed half a decade earlier) written by the authors of one of the most popular ethereum nodes was destroyed by someone simply sending it a command to delete itself-- instantly destroying two hundred and eighty million dollars of other people's coins.

Worse, very few "smart contracts" in ethereum have any reason to exist at all.  The vast majority of them are completely controlled by the decisions of a key holder (or sometimes a multisig of key holders).  The only purpose those smart contracts exists is decentralization theatre-- where people engage in something which is an unambiguous violation of securities law (and usually an outright fraud too) but then pretend it's okay because they falsely claim it's totally trustless and decentralized. Outside of those the next most common are trivial automated ponzi schemes and the like.

On the rare event where people want to actually do something interesting and worthwhile that doesn't just reduce to hiding a trusted third party the astronomical resource costs of doing in inside the EVM directly make it infeasible-- even in an exploration beta-test sense-- and instead they need to convince the operators of ethereum to hardfork the network to embed their critical inner-loop functionality in ethereum as a "precompiled contract".

Of course, Bitcoin can also be extended with new logic and much more simply and compatibility because it doesn't need to be hardforked:  OP_CSV, CLTV, P2SH, and Taproot are all examples of this.  (in fact, Bitcoin could provide an entirely new virtual machine in a softfork).

The issue isn't environment specific either.   It turns out that creating a centralized service is a LOT easier than creating a decentralized autonomous one, and while there is an easy way to monetize a centralized service a truly decentralized autonomous service is almost impossible to monitize-- so it's difficult to justify paying for all that extra effort. ... this makes the actual demand for real smart contracts fairly low which is why you haven't seen more done there.

I'd love to see an interesting neutral database (e.g. not created by some breathless eth pumper) that attempts to catalogue actually useful and interesting ethereum smart contracts to the limited extent that they exist.  Some of them are likely possible in Bitcoin currently, others would be possible with the addition of an opcode here or there.   A number of years ago I assigned someone working for me at blockstream to conduct such a study-- hoping to mine it for useful operations, and they mostly came up empty. I'm fairly sure that this wouldn't be the same today.

One of the things bitcoin developers have struggled with when it comes to adding opcodes is that while there is a multitude of interesting things that could be added, it is exceptionally difficult to justify sticking something in the consensus rules under a conjectural "maybe this will be useful".  There is a *lot* of functionality there which is essentially never used already. But this creates a bit of a chicken and egg situation because there probably is functionality that could be easily added, which people would use if it existed, but people don't develop the uses because it isn't there already.

So that's why you see that taproot creates a massive efficiency and privacy improvement for various multisig schemes and for some things like lightning-- which already have widespread use but it doesn't do much for other kinds of usage: it just isn't clear what that other kind of usage would need but it's clear what would benefit existing and related uses.

Another factor is that when something is sufficiently developed, you call it what it is, not the underlying technology.  People call lightning, lightning, they don't call it smart contracts just like someone calls a chess engine a chess engine (or its name like, stockfish) rather than "artificial intelligence".  The generic names are reserved for vaporware and stuff that doesn't really work but you hope it will someday. Smiley
rathaha10
Full Member
***
Offline Offline

Activity: 616
Merit: 108


io.ezystayz.com


View Profile
July 12, 2020, 09:53:24 PM
 #29


Therefore, why smart contract weren't developed by the core team which is developing Bitcoin?

Going through the mail draft, i can only thing of one reason why smart contracts isn't developed on bitcoin yet and it is due to the reason that bitcoin core values and purpose is creating a perfect  decentralized money that everyone uses for day to day transactions and so far, that vision is not yet achieved because the bitcoin network still have certain inefficiency like slow transactions, high fee charges, volatility e.t.c. we might see a shift towards smart contracts when bitcoin as money is a lot better than it current state

GazetaBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1694
Merit: 6540


Fully-fledged Merit Cycler|Spambuster'23|Pie Baker


View Profile
July 16, 2020, 12:13:37 PM
Last edit: July 16, 2020, 01:04:12 PM by GazetaBitcoin
 #30

Bitcoin has smart contracts-- that is what script is.

This is why lightning can exist.

This is why escrow transactions exists (which weren't just proposed by satoshi, but are used by users!)

This is why multisig exists and is extremely widely used.

Bitcoin script is only less expressive than ethereum in there respect that access to transactions and the blockchain data is limited, that a few opcodes were disabled due to dos attacks and that there is a reasonable bound on execution resources.

The reason you may have an impression otherwise is a direct result of intentional fraud perpetuated by the creators of Ethereum, breathlessly hyping some "World Computer" nonsense early on to sucker people into buying coins from their 72 million coin (17 billion dollars at current prices) pre-mine.  Many of the things they marked (replacement for Facebook!) were obvious nonsense, and much of what wasn't nonsense was already possible in Bitcoin but their hype made it sound like it wasn't.
~snip~

Thank you for the thorough explanation, gmaxwell and also for getting involved in this discussion. It is a great honor for me to see such a great personality as you writing in a topic of mine - this is actually the first time (and hopefully, not the last). It is an honor to see that one question raised by me got under your radar and interested you.

Thank being said, your post bring things in a total different light, as you imply that Bitcoin smart contracts actually exists.

As you see, some of those who posted here believed they did not exist (including me, which I asked why they don't exist) and they also offered reasons for which Bitcoin smart contracts don't exist yet. Thus, I can say that your explanation actually shares more knowledge of this field and I'm sure that other members were as surprised as I was to find out that the smart contracts exists.

Thank you very much for this explanation and feel free to offer more details on this matter, if you have any.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











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











▄▄▄▄█
TheArchaeologist
Sr. Member
****
Offline Offline

Activity: 310
Merit: 727


---------> 1231006505


View Profile WWW
July 16, 2020, 12:35:52 PM
 #31

As you see, everybody else who posted here believed they did not exist (including me, which I asked why they don't exist) and they also offered reasons for which Bitcoin smart contracts don't exist yet. Thus, I can say that your explanation actually contradicts everyone else and I;m sure all of them are as surprised as I am to find out that the smart contracts exists.
Maybe you should (re-)read the replies to your topic. Some of the replies (especially those of @pooya87) explicitly mentioned "Bitcoin already has smart contracts" including some examples. So I disagree with your statement @gmaxwell explanation contradicts everyone elses.

Some of the other replies concern the fact that the current scripting language Bitcoin uses is limited, so in turn some type of smart contracts can not be performed in Bitcoin as of today.

So basically you got two types of answers: people pointing which type of smart contracts already in use using the Bitcoin Script stack-based language and people pointing out in oder to implement more complex Smart contracts the current scripting language is nowhere enough to get the job done. The one group doesn't contradict the other imho.


Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
GazetaBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1694
Merit: 6540


Fully-fledged Merit Cycler|Spambuster'23|Pie Baker


View Profile
July 16, 2020, 01:05:49 PM
 #32

Maybe you should (re-)read the replies to your topic. Some of the replies (especially those of @pooya87) explicitly mentioned "Bitcoin already has smart contracts" including some examples. So I disagree with your statement @gmaxwell explanation contradicts everyone elses.

Thanks, that's correct. I rephrased my previous post.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











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











▄▄▄▄█
Pages: « 1 [2]  All
  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!