News for hackers. Stuff that matters.
Re:Smart contracts on Bitcoin by X6S1x6Okd1st on Thursday January 14, 2021 @07:42PM (#25785336)
So it's a sidechain that ocassionally checks in it's state to bitcoin's main chain? And you can lock up BTC on the mainchain to use it on the sidechain?
Re:Smart contracts on Bitcoin by muneeb on Thursday January 14, 2021 @09:02PM (#25786026)
The design can be thought of similar to a side chain but it's not really a side chain. It uses a new type of consensus, called Proof of Transfer (PoX). Stacks miners have visibility into both the Bitcoin chain and the Stacks chain. Leader election happens on Bitcoin and winning leader writes blocks on the Stacks chain. Details: https://blockstack.org/pox.pdf
Re:Smart contracts on Bitcoin by everfree on Thursday January 14, 2021 @07:55PM (#25785471)
In essence, yes, it's a sidechain.

From their site:

> Like Bitcoin, Stacks is a layer-1 blockchain. Proof of Transfer connects it to Bitcoin with a 1:1 block ratio.

Re:Smart contracts on Bitcoin by jude- on Friday January 15, 2021 @12:24PM (#25793382)
Not really. The key difference is the degree of involvement Bitcoin miners have in Stacks mining. In side-chains, Bitcoin miners would need to opt-in to mining the side-chain and validate its blocks. In Stacks, Bitcoin miners only need to include the Stacks miners' block-commitment transactions into Bitcoin blocks. Since block-commitment transactions look like normal BTC transactions, no Bitcoin miner involvement is necessary beyond what they're already doing.

The full protocol description can be found in https://github.com/stacksgov/sips (see SIP-001 and SIP-007 in particular).