Crypto CasinosAll ICOICO statsRatingReviewsBlogNewsDEFI Wallets Mining Exchanges Chart Events

Smart Contracts On Bitcoin Cash? A New Programming Language Introduced - Bitcoin Cash News. Saturday, October 27th

27 october 2018, 11:39 by Jesús S. Affigne

A new programming language for BCH smart contracts has been released

Developers used to C language will find it familiar to work with

A developer has released the first version of a new programming language for coding smart contracts on the Bitcoin Cash protocol. ‘Spedn’ is the name of this new coding language created by Tendo Pein, and it aims to facilitate the creation of smart contracts with a safe and explicit programming environment, as well as a syntax that will feel familiar to those used to C language.

According to Pein, he created this new language out of frustration with Bitcoin’s Script, explaining that every time he tried to read any article regarding any specs of Bitcoin Cash smart contracts, he struggled to understand it. In his own words, Script is “one of those esoteric languages made with the sole purpose of making your brain hurt.”

Although he considers it a brilliant language for coding, it is difficult to understand due to being low-level. In other words, it is “an assembly language for Bitcoin Cash virtual machine bytecode”. Because of this, he felt the need for creating something more user-friendly when developing smart contracts on this blockchain platform. That’s why he created Spedn.

Specs of Spedn

Spedn is a High-level smart contract language for Bitcoin Cash, and it was developed to provide explicitness and safety, according to Pein.

The language is statically typed – it can detect any error at the moment of compiling – and explicitly typed, which means there is no room for guessing what the expression is intended to return. In addition, the language is free of side effects, which Pein states is the common source of bugs, and it syntax is similar to the widely used programming language C.

The developer released a documentation containing all Spedn’s specifications, such as contract templates, lexical scopes, functions, and more. It also has a quick start guide and two examples of this language being used.

Pein stressed that this project is still in an experimental phase, and although many changes are expected to come in the future, he invited contributors to help further develop this new programming environment. 

Follow TokenTops on Twitter and Join Our Telegram Group to stay notified about new articles, cryptocurrency news, ICO announcements and price predictions and analysis.

Legal Disclaimer: Please remember that trading, buying or any other type of investing in cryptocurrencies should be consider risky and may lead to the loss of all of the invested money. For further information visit Terms and Conditions section on TokenTops. We do not encourage our readers to any kind of financial decisions. Neither nor its parent companies accept responsibility for any loss, damage, or inconvenience caused as a result of reliance on information published on, or linked to, from We believe that everyone should make their own and in depth research on the particular topic in various sources before making any financial decision and this person should be the only one responsible for the outcome. Our writers do their best to remain unbiased and don't actively support any project. The research is done with various sources, the predictions are based on own believes, analytical skills, experts and community discussions and is intended to convey general information only. 

You may also like


Write comment 0 comments

You need to login to create comments.

Get the week’s best ICO right in your inbox