BitStream: A Protocol For Atomic Data Exchange

BitStream: A Protocol For Atomic Data Exchange
фото показано с : bitcoinmagazine.com

2023-11-16 23:46

Atomically purchasing digital files with digital currency is an idea that has a long history in this space. Digital goods, digital money, the two seem like a perfect pairing together. Digital goods, i.e. information, are also massive markets. Think about all the video, audio, text, games, and other forms of digital content that people purchase and consume on a regular basis. These are markets worth billions and billions of dollars that people interact with on a daily basis.

Most of the serious attempts at implementing paid file sharing have gone down bad roads. Filecoin was an attempt to do this on top of IPFS, but ultimately the project is absurdly over engineered. BitTorrent (the company, not the protocol) was bought by Justin Sun and integrated its own cryptocurrency and blockchain. Both of these projects have effectively gone nowhere productive, with extremely overengineered systems on the technical side, and very dubious incentives on the economic side.

BitStream is a proposal by Robin Linus (ever consider slowing down and taking a break Robin?) to attempt to address the requirements of atomicly purchasing data without the pointless addition of altcoins and over engineered technical protocols for the exchange.

All files can be uniquely identified by a single hash, this is a very important detail in this scheme. Selling a file atomically requires encrypting the file using a function that allows the user to verify what is encrypted, and after having done so the user atomically purchases the encryption key for the file. The problem is the verification process, and more importantly proving if you were cheated and the file decrypts to incorrect data, is expensive. Naively done, you would need to produce the entire encrypted file and the decryption key so others could decrypt it and verify the decrypted data did not match the expected hash value when hashed.

File-sharing systems like BitTorrent frequently break files up into standard sized chunks and build a merkle tree out of them, which allows the root hash to function as a file identifier in a magnet link and to verify each individual chunk of a file you download is a valid piece of that file. This is a property that can be taken advantage of to drastically improve the efficiency of fraud proofs showing a file distributor cheated you.

The seller of the file can generate a random value and use this to encrypt each file chunk using a XOR operation against that random value. They can then sign an attestation of the encrypted file root hash and the hash of the encryption value. The encrypted file tree is set up in a special way to facilitate simple fraud proofs.

Instead of building the merkle tree out of just the normal file chunks, but encrypted, the tree creates pairs of leaves that consist of one encrypted file chunk and the hash of the unencrypted file chunk next to it. Now at this point the buyer can download the encrypted file, and after verifying by taking all of the hashes of the unencrypted chunks and creating a merkle tree from them to ensure they match the root hash of the unencrypted file, can atomically purchase the decryption value. This is accomplished by the seller using it as the preimage to an HTLC over the Lightning network or a chaumian ecash mint like Cashu which supports HTLCs.

If the file does not decrypt correctly, either because the encrypted data is a different file or the preimage is not the actual encryption key, the merkle path in the encrypted file tree to any two leaves can show the seller cheated the buyer. Providing just the path to any encrypted file chunk and its corresponding unencrypted chunk hash with the preimage the buyer purchased will prove definitively the seller did not provide the buyer with the file they claimed they were.

Any file seller using the BitStream protocol can deposit a bond that can be slashed with a fraud proof as designed above if they cheat a customer. This can be enforced by simply depositing a bond at a chaumian mint in the simplest case. Platforms like Liquid offer alternative methods of building a bond that can actually be enforced trustlessly with functionality like OP_CAT. Scripts could be constructed that actually take the BitStream fraud proof and validate it on the stack, allowing the creation of a UTXO that would be spendable by anyone who had a valid fraud proof. If OP_CAT ever became available on the mainchain, this could even be done completely trustlessly without needing a federated execution environment. 

BitStream is an incredibly promising protocol for atomically selling digital information with a very efficient scheme for proving fraud, no shitcoins required. 

Similar to Notcoin - TapSwap on Solana Airdrops In 2024

origin »

BlockMason Credit Protocol (BCPT) на Currencies.ru

$ 0 (+0.00%)
Объем 24H $0
Изменеия 24h: 0.00 %, 7d: 0.04 %
Cегодня L: $0 - H: $0
Капитализация $0 Rank 99999
Цена в час новости $ 0.0195725 (-100%)

protocol your sats exchanging atomically digital bitcoin

protocol your → Результатов: 126


Tether Freezes Remitano Funds: Is Your Crypto Safe? USDC Launches on Near Protocol, Kangamoon P2E Gaming Making Gamers Richer Than Ever!

Tether (USDT), the most popular stablecoin, has helped the crypto exchange Remitano in freezing funds related to a recent hack. In other news, USD Coin (USDC) has launched on the Near Protocol blockchain while Kangamoon (KANG) has become one of the most talked about new projects in the play-to-earn gaming space.

2023-9-22 19:00


NiFTiesLab Corp Breaks New Ground with HSAC Token: Championing the Attention Economy on Bitcoin’s BRC20 Protocol Amidst Regulatory Uncertainty

Road Town, British Virgin Islands – Hold onto your hats! NiFTiesLab Corp is rewriting the rulebook in the cryptocurrency world with its pioneering HSAC token. As the first attention economy token on the Bitcoin network’s BRC20 protocol, this revolutionary digital asset is poised to redefine how we understand and quantify user attention in the volatile […]

2023-6-8 10:35


Balance Your Portfolio With TRON (TRX), Orbeon Protocol (ORBN) and Decentraland (MANA)

If you’re looking to balance your cryptocurrency portfolio, then TRON (TRX), Orbeon Protocol (ORBN) and Decentraland (MANA) are a great place to start. Orbeon Protocol (ORBN), in particular, has shown an impressive 1988% price appreciation as it enters the ninth phase of presale with a token price of $0.0835. Each has a range of benefits […]

2023-3-7 23:57


The Top 3 Cryptocurrency Projects To Invest In 2023: Big Eyes (BIG), Polkadot (DOT) And Orbeon Protocol (ORBN)

Looking for your next big crypto investment? Market experts and investors are pointing towards Big Eyes (BIG), PolkaDot (DOT), and Orbeon Protocol (ORBN). Big Eyes (BIG) and Orbeon Protocol (ORBN) are still in their presale phase, and analysts are expecting ORBN to surge by 6000% heading into the end of the year due to its […] The post The Top 3 Cryptocurrency Projects To Invest In 2023: Big Eyes (BIG), Polkadot (DOT) And Orbeon Protocol (ORBN) appeared first on NFT News Today.

2022-12-3 12:45


Фото:

Huobi Token, Ravencoin and Snowfall Protocol (SNW) Are the Highest ROI Tokens – Market Experts Explains Why

Coinspeaker Huobi Token, Ravencoin and Snowfall Protocol (SNW) Are the Highest ROI Tokens – Market Experts Explains Why Do you want to make the most out of your investment? If so, Huobi Token (HT), Ravencoin (RVN), and Snowfall Protocol (SNW) are the tokens you should be looking at! Huobi Token, Ravencoin and Snowfall Protocol (SNW) Are the Highest ROI Tokens – Market Experts Explains Why

2022-10-27 15:42


Фото:

$STYLE Protocol, An Evolving Blockchain Deep Tech Startup Is Making 3D NFT Usage Feasible For A Low Price

Summary: The decentralized blockchain company $STYLE Protocol is bringing a new wave of utilization to your NFTs. Metaverse usability in 3D. Berlin, Germany / JULY 25, 2022 / $STYLE Protocol has reached its Q3 2022 stage, in which the developers of this open protocol will be preparing for a public launch of the protocol through […]

2022-7-27 01:47


Careful with Your Discord Server – It May Not Be as Secure as You Think

Origin Protocol’s co-founder Josh Fraser pointed out some of the popular platform’s vulnerabilities Ever since its founding in 2015 as a tool for connecting and communicating with other gamers, Discord has very quickly established itself as the de facto community communications platform of choice for blockchain- and crypto-based projects and businesses of every conceivable type.

2022-5-17 07:10