Ga naar de inhoud

Blockchain News Feed

All the latest news on Blockchain & Cryptocurrencies

Menu
  • Home
  • News
  • Exchanges
  • Market Analysis
  • YouTube
  • Brave Browser
Menu

Meet ‘Spedn’ — A Smart Contract Programming Language for Bitcoin Cash

Geplaatst op oktober 25, 2018 door Blockchain News

Meet 'Spedn' — A Smart Contract Programming Language for Bitcoin Cash

On Wednesday, a developer called Tendo Pein announced the launch of a new smart contract programming language for the Bitcoin Cash network. Pein said “Spedn,” a BCH-based language, is designed for explicitness and safety while having a syntax similar to the C programming environment.

Also read: BCH Devcon Streamlines Bitcoin Innovation in San Francisco 

High-Level BCH Smart Contracts

Meet 'Spedn' — A Smart Contract Programming Language for Bitcoin Cash

Bitcoin Cash proponents have been introduced to a new smart contract programming language specifically designed for the BCH protocol. The developer Tendo Pein has explained in a recent blog post that one of the difficulties of programming smart contracts with Bitcoin is due to the Script language. Pein said Bitcoin’s Script is a stack-oriented language, similar to the Forth programming language and environment. But instead of giving up, Pein’s passion for the Haskell data processing syntax led the developer to start building Spedn.

“Today, I’m pleased to announce Spedn — A high-level smart contract language for Bitcoin Cash,” Pein declared in his post. “It is designed for explicitness and safety, statically typed and detects many errors at compile time, explicitly typed with no guessing to what the expression is supposed to return. It is purely functional — free of side effects, the common source of bugs, and it has a familiar C-like syntax.”

Meet 'Spedn' — A Smart Contract Programming Language for Bitcoin Cash
Spedn specifications.

A Syntax Overview and
Two Smart Contract Examples

Spedn’s documentation is available for BCH developers to review and provide feedback. The specifications give a syntax overview, contract templates, lexical scopes, and more. Additionally, Pein’s work details math functions, hashing functions, cryptographic checks, and the command line interface for compiling. The Spedn documentation further gives developers a quick-start guide and a write-up on understanding Bitcoin Script.

The specifications of Pein’s smart contract language also show examples of using it for zero-confirmation forfeits, a contract based on a proposal by BCH developer Awemany to secure zero-confirmation transactions. Another Spedn example is the Chainbet protocol, which was originally created by Jonald Fyookball. Chainbet is a BCH protocol that enables onchain betting in a decentralized manner. In Pein’s example, the developer said, “the flow of the bet consists of several steps that can be expressed in Spedn.”

Meet 'Spedn' — A Smart Contract Programming Language for Bitcoin Cash
Jonald Fyookball’s Chainbet protocol expressed in the Spedn language

Similar to the Ethereum network’s Solidity programming language, the Bitcoin Cash protocol now has a coding language that developers can work with that is specifically designed for BCH-based smart contracts. But the creator of Spedn emphasized that the project is still in its infancy as far as development is concerned.

“Many breaking changes may come and it’s far from being an “out of the box” solution for smart contracts developers,” Pein added. The programmer is looking for contributors who can offer syntax ideas, code review, unit tests, and bug reports.

What do you think about the Spedn programming language? Let us know your thoughts about this subject in the comments section below.  


Images via Shutterstock, Spedn, Twitter, and Pixabay. 


At news.Bitcoin.com all comments containing links are automatically held up for moderation in the Disqus system. That means an editor has to take a look at the comment to approve it. This is due to the many, repetitive, spam and scam links people post under our articles. We do not censor any comment content based on politics or personal opinions. So, please be patient. Your comment will be published.

The post Meet ‘Spedn’ — A Smart Contract Programming Language for Bitcoin Cash appeared first on Bitcoin News.


Source: Bitcoin.com
Original Post: Meet ‘Spedn’ — A Smart Contract Programming Language for Bitcoin Cash

Ledger Nano X - The secure hardware wallet

Recente berichten

  • US Bitcoin ETFs add $167M as altcoin funds extend outflows
  • Using AI at work is causing ‘brain fry,’ researchers say
  • CZ says CEXs have ‘zero motive’ to aid terrorists as court dismisses terrorism case
  • Grok delivers viral vulgar roasts of Musk, Netanyahu and Starmer
  • Argentine Neobank Uala Raises $195 Million to Bankroll Latin American Expansion

Categorieën

  • Altcoin Buzz
  • Altcoin Buzz News
  • AMBcrypto
  • Bitcoin.com
  • Bitcoinist
  • BTC Manager
  • CCN
  • Coin Mastery
  • Coindesk
  • Coinpower News
  • Cointelegraph
  • CryproSlate
  • Crypto Daily
  • Crypto News (.net)
  • Cryptocoin News
  • Cryptocurrency News
  • CryptoDaily.co.uk
  • CryptoPotato
  • CryptosRUs
  • Daily HODL
  • DataDash
  • Ethereum Worldnews
  • Exchanges
  • ICO's
  • Invest in Blockchain
  • Market Analysis
  • News
  • News BTC
  • Newsbit
  • Portfolio
  • Pricecheck
  • Ready Set Crypto
  • The Modern Investor
  • ToshiTimes
  • Use The Bitcoin

Archieven

  • maart 2026
  • februari 2026
  • januari 2026
  • december 2025
  • november 2025
  • oktober 2025
  • september 2025
  • augustus 2025
  • juli 2025
  • juni 2025
  • mei 2025
  • april 2025
  • maart 2025
  • februari 2025
  • januari 2025
  • december 2024
  • november 2024
  • oktober 2024
  • september 2024
  • augustus 2024
  • juli 2024
  • juni 2024
  • mei 2024
  • april 2024
  • maart 2024
  • februari 2024
  • januari 2024
  • december 2023
  • november 2023
  • oktober 2023
  • september 2023
  • augustus 2023
  • juli 2023
  • juni 2023
  • mei 2023
  • april 2023
  • maart 2023
  • februari 2023
  • januari 2023
  • december 2022
  • november 2022
  • oktober 2022
  • september 2022
  • augustus 2022
  • juli 2022
  • juni 2022
  • mei 2022
  • april 2022
  • maart 2022
  • februari 2022
  • januari 2022
  • december 2021
  • november 2021
  • oktober 2021
  • september 2021
  • augustus 2021
  • juli 2021
  • juni 2021
  • mei 2021
  • april 2021
  • maart 2021
  • februari 2021
  • januari 2021
  • december 2020
  • november 2020
  • oktober 2020
  • september 2020
  • augustus 2020
  • juli 2020
  • juni 2020
  • mei 2020
  • april 2020
  • maart 2020
  • februari 2020
  • januari 2020
  • december 2019
  • november 2019
  • oktober 2019
  • september 2019
  • augustus 2019
  • juli 2019
  • juni 2019
  • mei 2019
  • april 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • oktober 2018
  • september 2018
  • augustus 2018
  • juli 2018
  • juni 2018
  • mei 2018
  • april 2018
  • maart 2018
  • februari 2018
  • januari 2018
  • december 2017
  • november 2017
  • oktober 2017
  • september 2017
  • maart 2017
  • juni 2016
  • juli 2014
  • september 2013
  • augustus 2013
©J Blockchain News Feed | Ontwerp: Krant WordPress thema