Cryptomustar
Wednesday, June 29, 2022
  • Home
  • Altcoin
  • Bitcoin
  • Ethereum
  • Litecoin
  • Cryptocurrency
  • Blockchain
  • Regulation
  • Market
  • Prices
  • ICO
No Result
View All Result
  • Home
  • Altcoin
  • Bitcoin
  • Ethereum
  • Litecoin
  • Cryptocurrency
  • Blockchain
  • Regulation
  • Market
  • Prices
  • ICO
No Result
View All Result
Cryptomustar
No Result
View All Result
Home Blockchain

DLCs Are Making Smart Contracts Private on Bitcoin

by admin
September 15, 2020
in Blockchain
0
0
SHARES
6
VIEWS
Share on FacebookShare on Twitter


“Republican_win”; “Democratic_win.” These are the parameters (and call functions) for the first smart contract escrowed bet placed on Bitcoin’s mainnet.

On Sept. 8, BTCPay Server founder Nicolas Dorier and Suredbits founder Chris Stewart entered the bet on the 2020 U.S. presidential election outcome using a discrete log contract (DSL), a form of smart contract that became feasible on Bitcoin just this year, thanks to independent Bitcoin developer Lloyd Fournier’s technical advancements in the realm of so-called “scriptless-scripts” on Bitcoin’s blockchain.

As for who took which side of the bet, Dorier and Stewart didn’t say. Even after Election Day when the votes are tallied we still won’t know who won the bet. And that’s very much the point.

Otherwise, the contracts wouldn’t be discrete.

What are discrete log contracts?

Described by developer Gert-Jaap Glasbergen as “invisible smart contracts,” discrete log contracts are structured to look like standard multi-signature transactions on Bitcoin’s blockchain. If someone were searching for the transaction on the ledger, they would have no way of knowing it’s a smart contract or, in Dorier and Stewart’s case, the details of the bet.

These smart contracts have theoretically been feasible since Bitcoin’s inception, but groundbreaking work with ECDSA adapter signatures (a cryptographic signature scheme that enables “scriptless scripts” to execute smart contracts without relying on Bitcoin’s scripting language) in the past year has brought them from theory to application. 

Read more: RGB Continues Its Work to Bring Better Smart Contracts to Bitcoin

“Technically DLCs could have been done since the original release, but a lot of the building blocks weren’t known back then. For instance, for DLCs we use ECDSA adapter signatures, whose application for this use case wasn’t discovered until this year [by Lloyd Fournier],” Suredbits developer Ben Carman told CoinDesk.

Suredbits is one of the primary actors pioneering DLC development along with Crypto Garage, Atomic Loans, Square Crypto-funded independent developer Loyd Fornier, and Chaincode Labs developer Antoine Riard.

The structure of a DLC transaction is pretty straightforward. Building on the bet between Dorier and Stewart, two parties send funds to a multi-signature address. In order to settle the transaction, an oracle would sign the contract with a signature that corresponds to the hash of the winning outcome (in this case, either Republican_Win or Democrat_Win).

The person with the hash that corresponds with the oracle’s signature can then withdraw the funds from the contract.

In Carman’s words, “It’s fancy cryptography to show that your contract is based on the oracle signature and you can only spend the funds if you have that valid oracle signature.”

DLC development is young but promising

Carman said DLCs are “still super early,” so much so that the teams working on them are still creating libraries for coding specifications.

He added that DLCs could even find a home on the Lightning Network, but this would take some advancements considering that current implementations are not hard coded to accommodate ECDSA adapter signatures. 

Accommodating ECDSA on Lightning would require the addition of point-time-lock-contracts (PTLCs), an in-the-works upgraded version of the hash-time-lock-contracts that currently operate on Lightning.

Schnorr signatures would be an ideal base for implementing PTLCs. The long-awaited Schnorr/Taproot upgrade is essential still for DLCs in general, Carman said. Even though DLCs can be executed today, more advanced use cases will be much easier to implement if Bitcoin’s codebase receives a boost from the Schnorr/Taproot softfork. 

Read more: Bitcoin’s Future: Exactly How a Coming Upgrade Could Improve Privacy and Scaling

DLC use cases

“Betting will be the primary use-case in the beginning – so, elections, sports and what-have-you,” Carman told CoinDesk. “Once it’s more established and we have a market for defining counterparties for trades, there will be use-cases for hedging or synthetic assets.”

The hedging use case is outlined by Glasbergen in his “Invisible smart contracts on the Bitcoin blockchain” blog post. The “forward contracts” would entail two parties entering a DLC, with one party agreeing to purchase a certain amount of bitcoin (BTC) for an agreed-upon price, and the other party providing the liquidity for this purchase.

When the time comes for the contract to settle, the contract pays the buyer the amount of bitcoin per the price specified at the time the contract was formed, not per the current exchange rate. In essence, these forward contracts are a way to long or short bitcoin.

These same forward contracts could be used to settle synthetic commodities (DLC contracts that represent commodities like gold and/or silver, for example) in bitcoin-denominated terms, as well.



Source link

RELATED POSTS

US Infrastructure Law’s Reporting Requirements for Crypto Brokers Likely to Face Delay

Polygon Deploys Custom Blockchain Scaling System ‘Avail’

ShareTweetShare

Related Posts

US Infrastructure Law’s Reporting Requirements for Crypto Brokers Likely to Face Delay

US Infrastructure Law’s Reporting Requirements for Crypto Brokers Likely to Face Delay

by admin
June 29, 2022
0

The back-and-forth over how “broker” will be defined, as well as the challenges of implementing a reporting regime, are...

Polygon Deploys Custom Blockchain Scaling System ‘Avail’

Polygon Deploys Custom Blockchain Scaling System ‘Avail’

by admin
June 29, 2022
0

Currently, so-called "monolithic" blockchains, such as Ethereum, can not scale as there are too many tasks to perform (execution,...

Crypto Derivatives Exchange Bybit to Settle Options Contracts in USDC

Crypto Derivatives Exchange Bybit to Settle Options Contracts in USDC

by admin
June 29, 2022
0

Bybit currently supports USDT, BTC, ether (ETH) and USDC as collateral, with more assets to be added, it said....

First Mover Americas: BTC Dips;  3AC Liquidation Reportedly Ordered by BVI Court

First Mover Americas: BTC Dips; 3AC Liquidation Reportedly Ordered by BVI Court

by admin
June 29, 2022
0

The latest price moves in bitcoin ($BTC) and crypto markets in context, for June 29, 2022. Source link

DAOs Are the Real Meritocracies

DAOs Are the Real Meritocracies

by admin
June 29, 2022
0

Decentralized autonomous organizations make contributing to open-source projects remunerative. In doing so, DAOs could transform the world of work....

POPULAR NEWS

4 Cryptocurrency that Blow Bitcoin Out of the Water

4 Cryptocurrency that Blow Bitcoin Out of the Water

September 25, 2020
Memoriae – Next Generation of Decentralized Cloud Storage Based on Blockchain

Memoriae – Next Generation of Decentralized Cloud Storage Based on Blockchain

July 1, 2021
Apollo CBDC: The CBDC Platform that can Power Economies

Apollo CBDC: The CBDC Platform that can Power Economies

October 6, 2020
Stratus: The Most Feature Rich Social Media Network

Stratus: The Most Feature Rich Social Media Network

September 9, 2020
Binance Coin (BNB) erupts above $270 as the whole Smart Chain ecosystem soars

Binance Coin (BNB) erupts above $270 as the whole Smart Chain ecosystem soars

February 19, 2021

EDITOR'S PICK

Argo Blockchain’s Texas Mining Facility Will Propel Shares Higher, Analysts Say

Argo Blockchain Achieves Record Revenue in Third Quarter

November 1, 2021
Richard Branson ramps up efforts to end crypto scams using his name

Richard Branson ramps up efforts to end crypto scams using his name

June 13, 2022
Catheon Gaming announces partnership with Gamamobi to bring trailblazing War of Gama to the blockchain

Catheon Gaming announces partnership with Gamamobi to bring trailblazing War of Gama to the blockchain

June 22, 2022
ANOMUS, Set to End Fake News, Launches on Starter Incubator

ANOMUS, Set to End Fake News, Launches on Starter Incubator

June 2, 2022

About

We publish a comprehensive news feed covering all news relevant to the crypto user, covering main industry news, politics and regulation as well as consumer-level “news you can use” (practical stuff), including handy DIY tips, links to useful tools, unbiased reviews and opinions revolving around cryptocurrency. Simple logic and real-world examples are preferred before technical jargon and personal rants.

Follow us

Categories

  • Altcoin
  • Bitcoin
  • Blockchain
  • Cryptocurrency
  • Ethereum
  • Litecoin
  • Market
  • Press Release
  • Regulation
  • Uncategorized

Recent Posts

  • US Infrastructure Law’s Reporting Requirements for Crypto Brokers Likely to Face Delay
  • Young Web3 Believers Unfazed by Battered Crypto Market
  • Real Time Strategy Battle of Insects Game Ookeenga to Launch NFT Collection on Binance NFT
  • What Happens To Bitcoin Miners If Price Keeps Dropping?
  • About Us
  • Privacy Policy
  • Contact Us

© 2020 cryptomustar.com

No Result
View All Result
  • Home
  • Altcoin
  • Bitcoin
  • Ethereum
  • Litecoin
  • Cryptocurrency
  • Blockchain
  • Regulation
  • Market
  • Prices
  • ICO

© 2020 cryptomustar.com

  • YAM v2YAM v2(YAMV2)$4.70-1.41%
  • yfBetayfBeta(YFBETA)$4.27-0.10%
  • IDLEIDLE(IDLE)$1.44-12.39%
  • WPP TokenWPP Token(WPP)$0.006826-3.49%
  • DSLA ProtocolDSLA Protocol(DSLA)$0.003681-6.85%
  • lympoLympo(LYM)$0.004392-4.43%
  • Werewolf CoinWerewolf Coin(WWC)$0.098082-2.58%
  • PolkaBridgePolkaBridge(PBR)$0.439784-6.92%
  • Dev ProtocolDev Protocol(DEV)$1.76-16.14%
  • EvidenZEvidenZ(BCDT)$0.122949-3.85%