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

Blockchain

Center absence: history, current status and prospects of atomic exchange and decentralized trading platforms

On July 30th, Liquid Network officially announced that Tether (USDt) has settled on the Liquid side chain, which mean...

Blockchain

Deeply dig the death of Gatehub

On June 1, XRP Forensics discovered that 201,000 Swiss rupiah (transaction F6E9E1385E11649A6C2F88723A821AF209B5403088...

Blockchain

What if Bitcoin is loaded with a Decentralized Exchange (DEX)? This expansion agreement will solve the problems faced by the lightning network.

The author of a new under-chain bitcoin extension solution called Statechain called on the Bitcoin community to imple...

Blockchain

"Black Horse" Exchange FTX Receives Liquid Value to Participate in Round B Investment, The Next Crypto Unicorn Is Coming Soon

The Hong Kong-based FTX exchange appears to be the latest unicorn cryptocurrency company with a valuation of $ 1 bill...

Blockchain

Market Weekly | The market is in a consolidation period, and the exchange has picked up

Weekly summary Last week, the average daily market value of global digital currency assets was 326.973 billion US dol...

Blockchain

Understanding the role of different roles in cryptocurrency exchanges

Originally written by Shane Molidor, Head of Global Business Development at BitMax & GDM, compiled by the Bluemou...