• Home
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • XRP
    • Litecoin
    • Altcoin
    • Cardano
    • Tether
    • DOGE
    • Solano
    • XLM
    • DOT
    • XDC
    • SHIBA
    • BNB
  • Blockchain
  • Regulation
  • Market
  • Live
    • Prices
    • ICO
  • Meta
    • NFT
  • Technical Analysis
    • XRP
    • BTC
    • XLM
    • ADA
    • TETHER
    • ETC
    • ETH
    • DOGE
    • LTC
  • Exchange
  • Mining
Sunday, May 29, 2022
  • Login
  • Register
Coin24h.com
  • Home
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • XRP
    • Litecoin
    • Altcoin
    • Cardano
    • Tether
    • DOGE
    • Solano
    • XLM
    • DOT
    • XDC
    • SHIBA
    • BNB
  • Blockchain
  • Regulation
  • Market
  • Live
    • Prices
    • ICO
  • Meta
    • NFT
  • Technical Analysis
    • XRP
    • BTC
    • XLM
    • ADA
    • TETHER
    • ETC
    • ETH
    • DOGE
    • LTC
  • Exchange
  • Mining
  • en English
    ar Arabiczh-CN Chinese (Simplified)nl Dutchen Englishfr Frenchde Germanit Italianpt Portugueseru Russianes Spanish
No Result
View All Result
  • Home
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • XRP
    • Litecoin
    • Altcoin
    • Cardano
    • Tether
    • DOGE
    • Solano
    • XLM
    • DOT
    • XDC
    • SHIBA
    • BNB
  • Blockchain
  • Regulation
  • Market
  • Live
    • Prices
    • ICO
  • Meta
    • NFT
  • Technical Analysis
    • XRP
    • BTC
    • XLM
    • ADA
    • TETHER
    • ETC
    • ETH
    • DOGE
    • LTC
  • Exchange
  • Mining
  • en English
    ar Arabiczh-CN Chinese (Simplified)nl Dutchen Englishfr Frenchde Germanit Italianpt Portugueseru Russianes Spanish
No Result
View All Result
Coin24h.com
No Result
View All Result
Ledger Nano X - The secure hardware wallet
ADVERTISEMENT

Writing Bitcoin Smart Contracts Is About to Get Easier With New Coding Language

13 August 2020
in Blockchain
Reading Time: 4 mins read
A A
0
Writing Bitcoin Smart Contracts Is About to Get Easier With New Coding Language
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter
cryptotrader
ADVERTISEMENT


Bitcoin smart contracts are a tricky beast to tame, but a new language is making them easier to write, democratizing them in a sense.

Smart contracts can (among other things) allow users to set extra rules on their bitcoin, requiring these rules be met before the funds can be unlocked. Minsc, created by Bitcoin developer Nadav Ivgi, is a new programming language that makes it easier for developers to create these kinds of contracts so they can build them into bitcoin wallets and other apps more smoothly.

One of the goals of Minsc is to make smart contracts “more accessible to more people,” Ivgi told CoinDesk. That means both developers and users alike are able to take advantage of tools built by developers.

Tier one: ‘Script’ smart contracts

Smart contracts were first described by Nick Szabo in the 1990s. He theorized a way of automating legally binding contracts made between people.

Typical examples of smart contracts on Bitcoin include not allowing 0.1 BTC to be spent until 2021, or requiring more than one person to sign off on a transaction before the money can actually move. Smart contracts also power second layers on the Bitcoin protocol, such as the Lightning Network, which could help Bitcoin expand to reach more users.

Thus far, Bitcoin Script is the language that makes these contracts possible. 

The problem is it’s tricky to work with Bitcoin Script. It is unlike other, more popular programming languages developers are used to, making it harder to wrap their heads around and compose in. This lack of understanding also makes it easier to make a mistake, potentially putting Bitcoin at risk. 

The unwieldiness of Bitcoin Script was one of the factors that led Vitalik Buterin to design the Ethereum platform in the first place. Solidity, Ethereum’s first smart-contract language, was designed to be much easier for developers to read and thus use. And it has paid off: Ethereum has grown to become the go-to platform for smart contract developers.

Read more: How Do Ethereum Smart Contracts Work?

Tier two: Miniscript

Miniscript, released in 2019 by Pieter Wuille, Andrew Poelstra and Sanket Kanjalkar at Blockstream Research, chips away at this issue for bitcoin. 

Read more: Pieter Wuille Unveils ‘Miniscript,’ A New Smart Contract Language for Bitcoin

“One reason that we’re not anywhere close to using Script’s full potential is that actually constructing scripts for nontrivial tasks is cumbersome. It’s hard to verify their correctness and security, and even harder to find the most economical way to write things,” Wuille and Poelstra wrote in a blog post introducing Miniscript in September of last year.

Miniscript offers a language that’s easier to understand than Script, with built-in security guarantees. 

Additionally, if there are two different ways of writing the same contract in Script, Miniscript is able to assess which one is “more economical.”

The computer eventually compiles (or converts) Miniscript to Bitcoin Script, which is what the code ultimately needs to be written in to successfully lock up real bitcoin with these extra restrictions.

Tier three: Minsc

Minsc is the third tier of the cake. It builds on top of Miniscript, taking advantage of its security properties but creating a language that is even easier for developers to read and think about than Miniscript.

“Minsc’s focus is on usability and making it easier to express, comprehend and reason about scripts, using a simple and familiar syntax. It adds additional convenience features and ‘syntactic sugar,’” Ivgi told CoinDesk. 

“Syntactic sugar” is a programming term for adding into a language another easier, shortcut way of executing a task that is usually harder to write.

So Minsc doesn’t add anything new to Script, it just makes it easier to use.

“It doesn’t let you do anything that Miniscript doesn’t already, similarly to Miniscript itself in relation to Bitcoin Script,” Ivgi said.

Bitcoin smart contracts and Minsc: Where will they go next?

Minsc could make it easier for developers to add support for various smart contracts. “The main intended target audience is developers looking to build apps that utilize Bitcoin Script in interesting, advanced ways,” Ivgi added.

Read more: RIF Launches ‘Layer 3’ Network to Scale Bitcoin-Based Smart Contracts, Tokens

If more developers can eventually add support for these smart contracts, more users will (perhaps even unknowingly) be able to use these more-complex contracts as well.

“Initially, however, I anticipate the usage to be primarily experimental and educational. Minsc can be a great tool for people looking to gain a better understanding of Bitcoin Script, as well as for educators teaching the technical aspects of Bitcoin,” Ivgi said.

Ivgi is still in the process of adding other features to the language. Bitcoin’s smart contracting abilities are likely to expand even further, such as with Taproot, a likely upgrade on Bitcoin’s horizon. Minsc will be there to make these contracts easier to create.

Disclosure

The leader in blockchain news, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups.



Source link

Related articles

No, the UK Is Not Going to Make USDC and USDT Legal Tender

27 May 2022

Bitso, primer unicornio cripto de América Latina, despide a 80 empleados

27 May 2022
Cryptohopper
ADVERTISEMENT
[crypto-donation-box]
Tags: BitcoinCodingContractsEasierLanguageSmartWriting
Share76Tweet47
Ledger Nano X - The secure hardware wallet
Previous Post

First Mover: Ethereum Faces Inflation Problem as Gas Fees Soar

Next Post

History Suggests Bitcoin Could Soon See a Rapid Rise to Fresh All-Time Highs

Related Posts

No, the UK Is Not Going to Make USDC and USDT Legal Tender

27 May 2022
0

None of these payments involve legal tender. Debit cards, credit cards, bank transfers, checks, mobile money, PayPal – not one...

Bitso, primer unicornio cripto de América Latina, despide a 80 empleados

27 May 2022
0

La compañía, que tenía más de 700 empleados antes de los recortes, cuenta con cuatro millones de usuarios en la...

Who Are We in the Metaverse, and How Do We Prove It?

27 May 2022
0

Who Are We in the Metaverse, and How Do We Prove It? Source link

The Metaverse Is Struggling to Hold Onto Users. Sports Could Fix That

27 May 2022
0

A range of industries have struggled to forge deeper, longer-lasting relationships with audiences in the metaverse. However, with its passionate...

One River’s Carbon Neutral Bitcoin ETF Rejected by SEC

27 May 2022
0

One River’s initial application faced a delay in March. Source link

Load More
Next Post
History Suggests Bitcoin Could Soon See a Rapid Rise to Fresh All-Time Highs

History Suggests Bitcoin Could Soon See a Rapid Rise to Fresh All-Time Highs

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Trending
  • Comments
  • Latest
7 Cryptos to Watch as the Sector Battles at Key Support Levels

ISO 20022 Cryptos: 5 Compliant Cryptos to Keep an Eye on in 2022

22 December 2021
What happened to the stock market today?

What happened to the stock market today?

28 September 2021
Dogecoin price enters buy zone before breaking out to $0.28

Dogecoin liquidity deepens as DOGE goes live on Thorchain

18 January 2022
All Legendary Weapons in Ruined King

All Legendary Weapons in Ruined King

4 December 2021
XRP | Digital Asset for Real-Time Global Payments |

SEC v. Ripple: Judge may be “digging the fair notice defense”, said expert

4543
Bitwise Asset Management | Cryptocurrency

Bitwise’s Crypto Index Fund Becomes Available To U.S. Investors

75
Crypto Currency | Binance | Crypto Exchange

Hours Before S. Korean Registration Deadline, Only 10 Exchanges Have Submitted Applications

69
Allianz Chief Economist Who Bought 2018 Bottom: I Sold My Bitcoin Today

Allianz Chief Economist Who Bought 2018 Bottom: I Sold My Bitcoin Today

46

Sangkara token ($MISA) from Indonesia will be the Main Sponsor of Blockchain Malaysia Get Connected 2022 event

28 May 2022

Who Won MC Championships 22: Results, Final Standings, Scores

28 May 2022

Solana Beach School District students showcase their STREAM skills at Discovery Fest

28 May 2022

Terra 2.0 Is Now Live, Following Luna Meltdown. This Week’s Top Bitcoin and Crypto News

28 May 2022

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.

Categories

  • Altcoin
  • Bitcoin
  • Blockchain
  • BNB
  • Cardano
  • Cryptocurrency
  • DOGE
  • DOT
  • Ethereum
  • Litecoin
  • Market
  • Meta News
  • Mining
  • NFT
  • Regulation
  • SHIBA
  • Solano
  • Tether
  • Uncategorized
  • XDC
  • XLM
  • XRP

What’s New Here!

  • Sangkara token ($MISA) from Indonesia will be the Main Sponsor of Blockchain Malaysia Get Connected 2022 event
  • Who Won MC Championships 22: Results, Final Standings, Scores
  • Solana Beach School District students showcase their STREAM skills at Discovery Fest

Newsletter

  • About Us
  • Privacy Policy
  • Contact Us

© 2022 coin24h.com

No Result
View All Result
  • Home
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • XRP
    • Litecoin
    • Altcoin
    • Cardano
    • Tether
    • DOGE
    • Solano
    • XLM
    • DOT
    • XDC
    • SHIBA
    • BNB
  • Blockchain
  • Regulation
  • Market
  • Live
    • Prices
    • ICO
  • Meta
    • NFT
  • Technical Analysis
    • XRP
    • BTC
    • XLM
    • ADA
    • TETHER
    • ETC
    • ETH
    • DOGE
    • LTC
  • Exchange
  • Mining

© 2020 coin24h.com

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • bitcoinBitcoin(BTC)$45,716.00-1.31%
  • ethereumEthereum(ETH)$3,456.77-0.85%
  • tetherTether(USDT)$1.000.04%
  • binancecoinBNB(BNB)$439.95-1.61%
  • usd-coinUSD Coin(USDC)$1.00-0.21%
  • SolanaSolana(SOL)$128.84-4.73%
  • rippleXRP(XRP)$0.82-1.94%
  • TerraTerra(LUNA)$111.19-1.25%
  • cardanoCardano(ADA)$1.190.55%
  • AvalancheAvalanche(AVAX)$92.73-3.81%
  • polkadotPolkadot(DOT)$22.10-4.14%
  • dogecoinDogecoin(DOGE)$0.144901-0.44%
  • Binance USDBinance USD(BUSD)$1.000.03%
  • TerraUSDTerraUSD(UST)$1.00-0.03%
  • Shiba InuShiba Inu(SHIB)$0.000026-1.07%
  • wrapped-bitcoinWrapped Bitcoin(WBTC)$45,705.00-1.34%
  • CronosCronos(CRO)$0.473031-1.56%
  • matic-networkPolygon(MATIC)$1.63-2.68%
  • Lido Staked EtherLido Staked Ether(STETH)$3,455.57-0.80%
  • NEAR ProtocolNEAR Protocol(NEAR)$15.62-3.50%
  • daiDai(DAI)$1.00-0.09%
  • cosmosCosmos Hub(ATOM)$30.76-3.98%
  • litecoinLitecoin(LTC)$123.39-2.73%
  • chainlinkChainlink(LINK)$17.14-5.68%
  • tronTRON(TRX)$0.069912-3.60%
  • bitcoin-cashBitcoin Cash(BCH)$370.86-0.90%
  • FTX TokenFTX Token(FTT)$49.41-1.74%
  • ethereum-classicEthereum Classic(ETC)$45.69-1.36%
  • Power CashPower Cash(PRCH)$0.017570881.24%
  • algorandAlgorand(ALGO)$0.88-4.27%
  • stellarStellar(XLM)$0.231372-0.55%
  • leo-tokenLEO Token(LEO)$5.95-0.02%
  • OKBOKB(OKB)$20.68-0.82%
  • UniswapUniswap(UNI)$11.31-3.17%
  • vechainVeChain(VET)$0.076890-1.96%
  • Axie InfinityAxie Infinity(AXS)$63.07-4.37%
  • HederaHedera(HBAR)$0.235142-4.16%
  • Internet ComputerInternet Computer(ICP)$21.47-0.24%
  • filecoinFilecoin(FIL)$24.44-2.18%
  • ElrondElrond(EGLD)$189.04-2.56%
  • decentralandDecentraland(MANA)$2.61-2.92%
  • The SandboxThe Sandbox(SAND)$3.40-2.47%
  • FantomFantom(FTM)$1.52-3.28%
  • moneroMonero(XMR)$214.53-0.30%
  • wavesWaves(WAVES)$37.59-24.48%
  • theta-tokenTheta Network(THETA)$3.76-6.47%
  • cETHcETH(CETH)$69.26-1.11%
  • tezosTezos(XTZ)$3.80-4.12%
  • ApeCoinApeCoin(APE)$11.60-3.99%
  • The GraphThe Graph(GRT)$0.480061-4.90%