Skip to main content

Bitcoin Cash Innovation Accelerates With Cashscript High-Level Language



Software developers Rosco Kalis and Gabriel Cardona have been steadily working on Cashscript, a high-level programming language for Bitcoin Cash. When the language is tied to certain opcodes, specific schemes can be built that allow for autonomous and decision-based transactions. While testing Cashscript's capabilities, the two engineers recently deployed an oracle, forfeits, an onchain wager, and a recurring payments contract.

BCH Developers Are Innovating With Cashscript
Bitcoin Cash (BCH) development is in full swing and over the last six months the tempo has really started to pick up. Things like the Simple Ledger Protocol, Schnorr signatures, opcodes, Cashshuffle, the programming language Spedn, and token dividend payments have galvanized the network's versatility. Another project that's seeing steady development is Cashscript, a high-level language for BCH created by the software developer Rosco Kalis.

Since then, Kalis and other developers like Gabriel Cardona, the creator of Bitbox, have been eagerly showing the BCH community what Cashscript is capable of doing. "Cashscript is a paradigm shift in expressiveness for BCH contracts," Cardona explained this week while highlighting a bunch of experiments. For instance, Cardona showed the BCH community on Twitter how the Mecenas contract was replicated in Cashscript. Mecenas was a contract developed by Karol Trzeszczkowski that allows for recurring BCH payments. After redesigning the covenant-based smart contract solution in Cashscript, the developer asserted that "Large contracts like this is where Cashscript really shines." On August 24, Cardona also tweeted that last year in Milan at the Satoshi's Vision Conference, BCH engineer Awemany revealed a solution to the zero-confirmation problem by using a concept called "Zero-Confirmation Forfeits." So the developer decided to replicate the zero-confirmation forfeit idea using the Cashscript language.

'BCH Supports Hodling Better Than BTC'
While showing the ported Cashscript examples on Twitter, Cardona also tipped his hat to developers who helped initiate these ideas like Tendo Pein, Karol Trzeszczkowski, Rosco Kalis, Emil Oldenburg, Chris Pacia, and Tobias Ruck. The next day on August 25, Cardona showed the public a wager contract from Emil Oldenburgs's onchain bet example from "Taking OP_Checkdatasig out for a test drive." The new wager contract was written in Cashscript, which executes an onchain bet between two parties and can only be settled by block height and price signed by an oracle. "Noncustodial financial services are about to change everything," Cardona exclaimed. In another example, Kalis and Cardona produced an oracle using Cashscript and OP_Checkdatasig. The contract forces holding onto the asset until a certain price target has been reached. The "Hodl-Vault" contract specifications state:

A minimum block is provided to ensure that oracle price entries from before this block are disregarded: When the BCH price was $1,000 in the past, an oracle entry with the old block number and price can not be used. Instead, a message with a block number and price from after the minBlock needs to be passed. This contract serves as a simple example of OP_Checkdatasig-based contracts.

After the contract was created, Spedn creator Tendo Pein tweeted: "BCH supports hodling better than BTC." "Anything BTC can do, BCH can do better," Cardona replied. On the Reddit forum r/btc, BCH supporters welcomed the innovation stemming from the Cashscript language. Cashscript can allow for many types of autonomous and decision-based transactions like oracles, zero-conf forfeits, digital good purchases via PGP signature, Pay to ID, cold wallet timeout, enforced multi-signature signing order, stablecoins, covenants, secure multi-party computation, blind escrows and spending constraints. "[It's] going to be exciting to see what people can come up with using these new features," one BCH supporter said after reading about the innovations Cashscript could prime in the future.

Oracles and Decision-Based Transactions Without the Need for a Custodian's Decision
One of the biggest conversations stemming from the r/btc post about Cashscript was the use of oracles. Many cryptocurrency enthusiasts and blockchain developers believe that the BCH blockchain could provide verifiable multi-sourced facts, so people can use a trustless oracle for better decisions. Oracles are neutral by design and can allow the BCH chain to verify enough valid data to prove something is true or false, which then would essentially trigger decision-based transactions based on the outcome.

Since ancient times, humans have used oracles to make hard decisions, execute bets and wagers, and provide validated reports. The opcode OP_Checkdatasig has brought the idea of blockchain oracle concepts using the BCH chain to the forefront. The opcode can check the validation of certain signatures, and return two different outcomes in an autonomous fashion. This means BCH-powered oracles can provide a definitive outcome for things like sporting events, election results, and prediction markets. But it would do so in a way that removes the need for a third party or custodian's decision.

Developers have already proven these types of decision-based transactions can work without changing the current BCH rule set. People have built onchain wagers, oracles, digital currency inheritance schemes and even a game of onchain chess. It's still very early, but Cashscript is maturing fast and BCH developers can utilize the language right now to execute these types of decision-based transactions into their workflow. As Cardona highlighted earlier this week, noncustodial financial services will decimate the current way we deal with money. Innovations like OP_Checkdatasig, Cashscript, Spedn, and Schnorr help to realize this goal.

Comments

Popular posts from this blog

The Bitquence Liquidity Network

CryptoCurrency is gaining popularity, however with Bitcoin very user-unfriendly mass adoption is not coming. The Bitquence Platform is aiming to replace Bitcoin with it's many disadvantages with something better. A currency for the people. More and better usability, A wallet which is universal and support several coins, like Bitcoin but also Dash and Ethereum. Please read along to get the latest information about this project which can grow very large. Collection of abnormal pockets programs, With automated sources that oversee a large number of wallets for each and every of your financial paperwork making it exhausting to do. International Cryptocurrencies lately stay on experiencing an especially noteworthy increment, impulsively reaching colossal valuations. The have an effect on at the present economic system modified the psyches of people to take after enhancements within the time of Cryptocurrency. Virtual kinds of cash and blockchain innovation are lat...

BOScoin | Self-Evolving Cryptocurrency Platform

Well, what is BOScoin? BOScoin is a new virtual currency from a South Korean Fintech startup Blockchain OS. And unlike the existing virtual currencies, BOScoin is a new digital currency which also happens to be based on a blockchain. However, according to the company's experts it has a higher transactional speed which will go up to about 1000 transactions per second that is in line with the credit card processing speed. Its platform has been presented in both London and Berlin by Blockchain OS where they have been answering the questions of many with interests in the fields of design, technical, architecture, and governance. BOScoin is designed as a platform for a self-evolving crypto currency as an upgraded and much better version of both the Etherum and Bitcoin. BOScoin is however built to assist in trust contracts that usually provide a more approachable framework for creation and execution of blockchain contracts. Trust contracts are those secure and executable contracts tha...

PRO Commerce - Coin Back Rewards

A new and promising project is the upcoming PRO Commerce Project. In essence the project is about getting Rebates and Crypto currencies into 1 platform. Something which is not new, because the INCENT project is also about that, however the PRO project has a different approach in achieving their goals. Their platform will be the main field where the project and business model should excel and make the project a success. The platform The goal of the PRO Platform is to create awareness and engagement, something which by just offering rebates is not sufficient, however holding PRO makes the user also an spectator and the team behind Pro believes this will make a difference in the way users will be committed and engaged in the project. By holding the coins they will eventually use the coins to speculate and use it. The app within the platform itself consist of 4 main components which according to the team will add a tremendous value to any business, making it the main app to use in compar...