BCH develops the Cashscript language to build a specific decision-making scheme for autonomous decision-making

Software developers Rosco Kalis and Gabriel Cardona have been working on developing Cashscript, a high-level programming language for Bitcoin cash. When a language is bound to certain opcodes, a specific scheme for autonomous decision-making transactions can be constructed. When testing the functionality of Cashscript, the two engineers deployed Oracle (Prophecy), Forfeits, online betting and recurring payment contracts.

BCH developers are using Cashscript to innovate

 
The development of Bitcoin Cash (BCH) has indeed improved in the past six months. Such as SLP, Schnorr signatures, opcodes, Cashshuffle, programming language Spedn and the payment of dividends, etc., have stimulated the versatility of the network. Another project that is developing steadily is a BCH high-level language Cashscript created by software developer Rosco Kalis. .
News.Bitcoin.com reported on Cashscript in May, when Kalis discussed many of the innovative concepts that can be generated using Cashscript. The main focus of Cashscript developers is to make it easier for other engineers to plug Cashscript contracts into any web application. Kalis told us in an interview at the time:
"For this workflow and language grammar, we got a lot of inspiration from Ethereum's Solidity language and Web3.js / Truffle library."

Since then, Gabriel Cardona, the creator of Kalis and Bitbox, and other developers have been eager to showcase the functionality of Cashscript to the BCH community. Cardona mentioned:
"Cashscript is a paradigm shift in the expressiveness of BCH contracts."
For example, Cardona showed the BCH community how to copy the Mecenas contract in Cashscript on Twitter. Mecenas is a contract developed by Karol Trzeszczkowski that allows for repeated BCH payments. After redesigning the contract-based smart contract solution with Cashscript, the developers asserted that "a large contract like this is the real highlight of Cashscript."
On August 24th, Cardona also said on Twitter: At the Satoshi Vision Conference in Milan last year, BCH engineer Awemany used the concept of “zero confirmation fine” to reveal a solution to zero-confirmation security issues. So the developer decided to copy the concept using the Cashscript language.

Are you a developer who wants to be based on Bitcoin cash? Go to our Bitcoin Developer page and you'll get a Bitcoin Cash Developer Guide and use tools like Bitbox, SLP, Cashscript and Badger Wallet SDK.

"BCH supports Hodling more than BTC"

 
Cardona showed some examples of Cashscript on Twitter and paid tribute to developers who helped implement these ideas, such as Tendo Pein, Karol Trzeszczkowski, Rosco Kalis, Emil Oldenburg, Chris Pacia and Tobias Ruck. On August 25th, Cardona showed the public a bet contract in the Onchain-bet example of Emile Oldenburg; the contract was written by Cashscript, which executed an online betting order between the parties, only through Oracle Signed block height and price to achieve. Cardona believes that “unregulated financial services are about to change everything”.
In addition, Kalis and Cardona also used Cashscript and OP_Checkdatasig to create an Oracle contract that enforces assets until a certain target price is reached. The "Hodl-Vault" contract specification states:

Provide the smallest block to ensure that the oracle price entry before this block is ignored: When the BCH price used to be $1,000, the oracle entry with the old block number and price cannot be used. Instead, you need to pass the message of the block number and price after the minBlock. This contract is a simple example based on the OP_Checkdatasig contract.

After the contract was created, Speden founder Tendo Pein sent a tweet saying:
“BCH supports Holding more than BTC.”
On the reddit forum r/btc, BCH supporters expressed their welcome to the innovation of the Cashscript language. Cashscript supports multiple types of autonomous and decision-based transactions, such as Oracles, zero-acknowledgment transactions, purchase of digital goods via PGP signatures, payment to ID, cold wallet timeouts, and more. A BCH supporter said after reading about the possible innovations in the future of Cashscript:
“We will be excited to see people using these new features.”

Oracle without the custodian decision

One of the biggest conversations about Cashscript's r/btc post is to use Oracle. Many cryptocurrency enthusiasts and blockchain developers believe that BCH blockchain can provide verifiable multi-source facts, so people can use untrusted Oracle to make better decisions. Oracle is neutral in design and allows the BCH chain to validate enough valid data to prove that something is correct or incorrect, which will trigger a decision-based transaction based on the outcome.
People have been using Oracle to make tough decisions, execute bets and provide validated reports. The opcode OP_Checkdatasig takes the Oracle concept of the BCH chain to the forefront. The opcode can check the validity of certain signatures and return two different results autonomously. This means that BCH-powered Oracle can provide clear results for sports events, election results, and forecasting markets, but does not require third parties or custodians to participate in the decision.

Developers have demonstrated that these decision-based transaction types can work without changing the current BCH rule set. People have built onchain bets, Oracle, digital currency inheritance plans, and even an onchain chess game. Although it is still in its early development, Cashscript is rapidly maturing, and BCH developers can now use the language to execute these decision-based transaction types in their workflows. As Cardona has previously emphasized, these services will greatly reduce the way we handle funds, and innovations such as OP_Checkdatasig, Cashscript, Spedn, and Schnorr help achieve this goal.

Original link: Bitcoin.com| Bitcoin cash uses Cashscript to accelerate innovation

Disclaimer: This article translates the article for the news.bitcoin.com official website, and at the end of the text, the original text link is attached, thank you for your support.

We will continue to update Blocking; if you have any questions or suggestions, please contact us!

Share:

Was this article helpful?

93 out of 132 found this helpful

Discover more

Policy

Coinbase Urges SEC for Swift Action on Crypto Regulation

Coinbase urges SEC to take swift action in creating regulatory guidelines for the cryptocurrency industry.

Blockchain

Cryptocurrency Mavericks Unite Singapore, UK, Swiss, and Japan Regulators Embark on Epic Asset Tokenization Pilots

Several countries have joined forces to establish a policymaking group focused on conducting asset tokenization tests...

Blockchain

Introducing the Crypto Fashion Trend: Tangem Ring

Fashion-forward crypto enthusiasts rejoice! The highly anticipated launch of Tangem Ring, a stylish hardware wallet, ...

Bitcoin

Matrixport Report Brace Yourselves! Bitcoin Price Expected to Skyrocket to $125,000 by End of 2024

Get ready, Fashionistas! Matrixport predicts that Bitcoin will reach its current all-time high by April and soar to $...

Blockchain

Circle Financial Expands its Japanese Presence with SBI Holdings Partnership

Top stablecoin issuer, Circle Financial, joins forces with SBI Holdings to establish a stronger foothold in the Japan...

Bitcoin

The BTC Acquisition Frenzy: MicroStrategy Continues to Bet Big on Bitcoin 🚀

MicroStrategy is proudly maintaining its status as one of the leading corporate holders of Bitcoin (BTC), solidifying...