New Language To Develop Smart Contracts In Bitcoin Cash Tested

0 28
Avatar for Top10
Written by
3 years ago
Topics: Bitcoin Cash, BCH

Key facts:

  • Cashscript is inspired by the Solidity language of Ethereum, as well as the Web3.js libraries.

  • The operation of the language has been tested in the Patron and OP_Checkdatasig contracts.

In the near future, Bitcoin Cash users will be able to operate smart contracts thanks to a new high-level language, called Cashscript. The project is in full development, more promising the operation of oracles, autonomous transactions and multi-signature wallets in said network.

The idea of Cashscript has been published on Github for almost one and half years, although it was only recently that it began to be tested. Software developer Rosco Kalis is the creator of this language, who was inspired by Ethereum's Solidity and Web3-js / Truffle libraries to shape it.

According to project details, Cashscript is described as "a high-level language that enables basic smart contract functionality in Bitcoin Cash." Gabriel Cardona, creator of the Bitbox App, believes that this new language "will change the paradigm of smart contracts in Bitcoin Cash." It also points out that it will facilitate the operation of large and complex smart contract codes .

The Tests Have Already started & in Progress

The developers note that Cashscript could allow the use of oracles in Bitcoin Cash , an option that already works on platforms like Augur or is being tested on networks like the Lightning Network . Likewise, they assure that it will allow autonomous transactions, confiscations with zero confirmation, purses with multiple signatures and spending restrictions.

Cardona and Kalis have carried out several tests with the smart contract codes developed for this network , rewriting them with the new language. On this, Cardona pointed out that they started with the Mecenas contract, by Karol Trzeszczkowski, in order to process recurring payments on the blockchain network.

They have also rewritten Emil Oldenburgs' OnChain gambling contract, known as OP_CHECKDATASIG. This contract allows two or more people to bet on prices, electoral results or sports games, without the need for third parties, since the unknown is solved in a block height determined by the code. The advances of both tests were published in these last days of August, thus highlighting the progress of the project.

The new language is still in full development and is in a beta phase, so the developers advise that it is still subject to change.

6
$ 4.13
$ 4.13 from @TheRandomRewarder
Sponsors of Top10
empty
empty
empty
Avatar for Top10
Written by
3 years ago
Topics: Bitcoin Cash, BCH

Comments