In the near future users of Bitcoin Cash will be able to operate contracts smart thanks to a new high-level language, called Cashscript. The project is in full development, more promises to the functioning of oracles, transactions autonomous and purses of multiple signatures in the network.The idea of Cashscript is posted on Github, since four months ago, although it was recently when you began to put it to the test. The software developer, Rosco Kalis, is the creator of this language, who was inspired by the Solidity of Ethereum and in the libraries Web3-js/Truffle to make it consistent.
I was asked by @cgcardona to wrap up to checkdatasig example for CashScript. So yesterday I put together a contract utilising CDS and oracles to enforce HODLing until a certain BCH/USD price has been reached. CDS opens the doors to awesome functionality!https://t.co/upTvNB9SmB— Rosco Kalis (@RoscoKalis) August 25, 2019
According to details of the project, Cashscript is described as “a high-level language that allows the basic functionality of contract smart Bitcoin Cash”. Gabriel Cardona, the creator of the App Bitbox , believes that this new language “will change the paradigm of the contracts smart Bitcoin Cash”. He also notes that it will facilitate the operation of codes of contracts intelligent large and complex.
Why #CashScript? Which would you rather write?1. CashScript
2. Raw Bitcoin Cash ScriptCashScript is a paradigm shift in expressiveness for $BCH Contracts. pic.twitter.com/9Ot3Irgndv— Gabriel Cardona (@cgcardona) August 24, 2019
Since testing began
The developers point out that Cashscript could allow the use of oracles in Bitcoin Cash, an option that already works in platforms like Augur or is being tested in networks such as the Lightning Network. In the same way, ensure that it will allow transactions autonomous, confiscations with zero confirmation, purses with multiple signatures and spending restrictions.Cardona and Kalis have carried out several tests with code contracts, smart developed for this network, reescribiéndolos with the new language. About it, Cardona noted that began with the contract Patron, Karol Trzeszczkowski, to process recurring payments on the network blockchain.
Patron #CashScript Contract for recurring payments by the amazing @KTrzeszczkowski!Large contracts like this are where CashScript really shines. Compare the attached screenshots and consider which you’d prefer writing—high level or low level.https://t.co/KgoZzjCoZA pic.twitter.com/0mJPpv8pUT— Gabriel Cardona (@cgcardona) August 24, 2019
They have also rewritten the contract of betting OnChain, Emil Oldenburgs, known as OP_CHECKDATASIG. This contract allows two or more people can bet on prices, election results or sports games, without the need of any third party, as the mystery is solved in a block height determined by the code. The advances of both of these tests were published in the last few days of the month of August, highlighting the progress of the project.The new language is still in full development and is in a beta phase, so that the developers warn that is still subject to changes.