News for hackers. Stuff that matters.
Re:Smart contracts on Bitcoin by seibelj on Thursday January 14, 2021 @03:42PM (#25782198)
On a first skim it looks like a bespoke blockchain that commits its state to the bitcoin blockchain to ensure finality. Seems kind of neat, but I wouldn't call it "smart contracts on bitcoin".
Re:Smart contracts on Bitcoin by cal5k on Thursday January 14, 2021 @03:46PM (#25782233)
Layer 2 seems to be the logical way forward - network fees have gotten ridiculous on the Bitcoin blockchain, and reducing the frequency with which you need to settle there would be a big win. On top of all the added functionality of smart contracts, of course.
Re:Smart contracts on Bitcoin by kylebenzle on Thursday January 14, 2021 @03:59PM (#25782413)
Please, don't forget, Bitcoin Core (BTC) was hijacked years ago by corporate interests and purposefully crippled with high fees.

From day one Bitcoin was designed to have low or no fees, it is only because Blockstream was able to wrestle control of the GitHub repo and stop the block size increase arbitrarily that high fees exists.

Bitcoin Cash (BCH) long ago took over the "Bitcoin" project as designed by Satoshi Nakamoto and described in his White Paper. Bitcoin Core (BTC) is a broken system designed to enrich developers of "Second Layer" solutions like this.

BTC has failed completely as Peer-to-Peer Digital Cash and today is push only by charlatans and scammers.

Re:Smart contracts on Bitcoin by gruez on Thursday January 14, 2021 @04:17PM (#25782714)
>From day one Bitcoin was designed to have low or no fees

How are miners supposed to be compensated, given that the block reward halves every few years?

>because Blockstream was able to wrestle control of the GitHub repo

Can you rebut these counter-claims made by one of the Core devs? https://news.ycombinator.com/item?id=25566420

>is a broken system designed to enrich developers of "Second Layer" solutions like this.

How are those developers being enriched? Lightning is free and open source.

Re:Smart contracts on Bitcoin by kylebenzle on Thursday January 14, 2021 @04:29PM (#25782864)
> How are miners supposed to be compensated, given that the block reward halves every few years?

A solved problem by Satoshi. The block reward covers miners expenses for the next 100 years or so, THEN, once the block size is large enough and transactions are in the millions, a fee of a few cents per transaction replaces the block reward.

> Can you rebut these counter-claims made by one of the Core devs?

Yes, easily. This article [1] shows what I am saying, Core devs are funded by Blockstream. [2] Greg Maxwell (nullc) is, "a very dangerous individual whose [actions] speak for themselves". Just read about his past, he is a master social engineer and manipulator.

[1] https://www.theblockcrypto.com/linked/60250/bitcoin-developm...

[2] https://www.reddit.com/r/btc/comments/74se80/wikipedia_admin...

> How are those developers being enriched? Lightning is free and open source.

Lightning does not work. It is a centralized "solution" to a decentralized problem. Sure, anyone can make a central database, hold Bitcoin and trade them, that is just an exchange, that is what Lightning is. What Blockstream is selling is not Lightning, their product is called Liquid.

Re:Smart contracts on Bitcoin by gruez on Thursday January 14, 2021 @05:09PM (#25783410)
>Yes, easily. This article [1] shows what I am saying, Core devs are funded by Blockstream.

You clearly didn't read the linked comment because the article doesn't have anything to do with the arguments presented.

>Lightning does not work. It is a centralized "solution" to a decentralized problem. Sure, anyone can make a central database, hold Bitcoin and trade them, that is just an exchange, that is what Lightning is.

How is lightning centralized? You can transact with anyone you want, and you maintain a "tab" with them, which can ultimately be settled up on the blockchain. You can also route payments to anyone else on the network.

>What Blockstream is selling is not Lightning, their product is called Liquid.

Okay, how are they monetizing it?

Re:Smart contracts on Bitcoin by tromp on Thursday January 14, 2021 @04:54PM (#25783200)
> The block reward covers miners expenses for the next 100 years or so

No, it does not. It becomes insignificant in just a few decades (getting 32x smaller every 20 years). So a constant backlog of high fee paying transaction is important to long term security [1].

[1] https://bitcointalk.org/index.php?topic=5306354.0

Re:Smart contracts on Bitcoin by gruez on Thursday January 14, 2021 @04:59PM (#25783265)
Yeah, in about 70 years, the block subsidy for the entire year will only be 0.01373184 BTC. I highly doubt that would be enough to guard almost 21 million BTC from double spend attacks. That's the equivalent of spending $70,000/year to guard all the gold that's ever been mined.
Re:Smart contracts on Bitcoin by mr_woozy on Thursday January 14, 2021 @04:45PM (#25783073)
>he is a master social engineer and manipulator.

Lol, I think we all just learned everything we need to know about your POV.

Re:Smart contracts on Bitcoin by tphyahoo2 on Thursday January 14, 2021 @04:37PM (#25782965)
lol.

https://taaalk.co/t/bitcoin-maxima-other-crypto-things

Transactions need to be expensive, like the guy you were replying to said. It is beyond obvious.

Re:Smart contracts on Bitcoin by greggturkington on Thursday January 14, 2021 @04:10PM (#25782586)
Please, don't forget, Bitcoin Cash (BCH) was hijacked years ago by Ver who purposefully used misleading marketing.

Bitcoin SV (BSV) long ago took over the "Bitcoin" project as designed by Satoshi Nakamoto and described in his White Paper.

Re:Smart contracts on Bitcoin by muneeb on Thursday January 14, 2021 @04:08PM (#25782563)
The smart contracts part comes with Clarity lang: https://clarity-lang.org/

Clarity contracts have direct visibility into Bitcoin state and can write logic against that.

Re:Smart contracts on Bitcoin by everfree on Thursday January 14, 2021 @08:05PM (#25785566)
How useful is it to have a read-only glass window into Bitcoin that your smart contracts can look through?

The only practical application I can think of is atomic swaps, which can be accomplished any number of other, easier ways.

Re:Smart contracts on Bitcoin by jude- on Friday January 15, 2021 @12:28PM (#25793430)
It means that Clarity smart contracts always have all the data they need to validate Bitcoin transactions. Unlike wBTC and friends, there's no need to copy header hashes from Bitcoin into the Stacks chain. By extension, this means there's no need to worry about catastrophic corner cases, such as the copied data being missing or invalid, the copied data not being mined in the canonical fork, or the copied data corresponding to a minority Bitcoin fork.
Re:Smart contracts on Bitcoin by everfree on Friday January 15, 2021 @07:39PM (#25798647)
Interesting. If you don't mind, what's an example of a practical application where it would be useful to validate a bitcoin transaction without the ability for a smart contract to custody it?

Just asking because, again, the value proposition in practical terms is a little unclear to me.

Re:Smart contracts on Bitcoin by jude- on Saturday January 16, 2021 @01:34PM (#25804224)
Well, the intended use-case is to make it so the act of transferring BTC to a particular address will cause xBTC tokens to be minted in a Clarity contract by the principal that sent the transaction. From there, you can move the xBTC tokens around in Stacks.

This would be paired with a STX-collateralized service that would ultimately let you trade your xBTC back for BTC. The service would put STX up as collateral, which would be depleted if the service quality degrades. The Clarity contract for the collateral would track the service's xBTC to BTC transfers, and would allow the service to post the BTC transactions it sends as proof of good service quality (thereby staving off depletion).

Other ideas come to mind:

* Proof of (attempted) mining a STX block. A Blockstack app could use a Clarity contract to determine if a user was also a miner, and offer them in-app perks for helping to secure the network.

* Backwards-compatibility with BNS 1.0. Stacks 1.0 implemented a naming service (BNS) on Bitcoin, and Clarity's access to Bitcoin state can be leveraged to allow users to prove that they are OGs -- i.e. that they registered a BNS name before Stacks 2.0 went live (or did something specific with it, like updated it to have a particular owner or have a particular content hash).

* Proof of payment to a particular address. Many organizations, including open-source projects, take BTC for donations. A Clarity contract could be written to identify Stacks users who donated to a particular organization earlier.

* Proof of payment channel. You could demonstrate to a Clarity contract that you have opened a payment channel with a particular amount to a particular address, and post collateral that will be slashed if your payment channel closed before a particular Bitcoin block height.

Re:Smart contracts on Bitcoin by chejazi on Thursday January 14, 2021 @04:06PM (#25782516)
Curious to understand how the peg integrates with Bitcoin's UTXO model. For instance, Matic [1] uses a construction of the Plasma framework [2] so that the peg can operate bidirectionally.

[1] https://docs.matic.network/docs/contribute/matic-architectur...

[2] http://plasma.io/

Re:Smart contracts on Bitcoin by vmception on Thursday January 14, 2021 @03:44PM (#25782217)
I've moved off the ideological train and hopped on the "can the market bear it" train.

The market can bear committing states to the bitcoin blockchain, and there hasn't been a standardized way to do that. I would therefore call it smart contracts on bitcoin.