5

I think it's important to note first that BIP341-BIP342 are improvements to the Bitcoin script "framework" more than they are improvements to the smart contracting "functionality". All Bitcoin scripts can do in practice is enforce combinations of conditions on signatures by certain (sub)sets of signers, timelocks, and revealing hashes. At ...


4

The payment channel between Alice and Bob is encoded as a 2-2 multisig Adress the balance of that Adress is the capacity of the channel. A channel is opened by sending funds to that multisig Adress via a funding transaction. These funds do exist (on the Bitcoin network) and are by no means virtual. Alice and Bob each control a key of that Multisig Adress ...


3

Every (full) node in the network verifies all rules. Negative transaction amounts are not valid. If a transaction would contain such a transfer, the transaction would be invalid and ignored by the network. If such a transaction would be contained in a block, nodes would ignore the block, and any block that builds on top, resulting in lost effort for the ...


2

decodescript has this behavior because integers in Bitcoin are little endian. So decodescript is telling you what number the script interpreter would use when it processes your script.


1

So, this smart contract, with its setup today, would it be possible to make it use the RSK network instead of Ethereum? Yes. https://developers.rsk.co/tutorials/ethereum-devs/port-ethereum-dapps/ RSK Bridge can also be helpful for users to swap tokens: https://developers.rsk.co/tools/tokenbridge/ If yes, what could be the pros/cons (eg. cheaper/faster ...


1

Taproot would improve the privacy and fungibility of Bitcoin transactions. It seems Smart contract payments, Lightning payments, and sophisticated multi-signature smart contract payments all look the same after Taproot. When Taproot does eventually roll out, it is likely to be followed by more incremental protocol upgrades. Graftroot, which delegates ...


1

The main idea of Lightening Network is to make the Transactions as fast as possible and to solve blockchain Network scalability issues. Whereas the main essence of the Gossip protocol is that each participant randomly selects a peer and exchanges state. As it can be seen that Gossip approach is converging in O(logN) gossip rounds where N is the number of ...


Only top voted, non community-wiki answers of a minimum length are eligible