Prolific cryptocurrency developer Unwriter is making good on his promise “to build everything on top of Bitcoin”―Bitcoin SV (BSV) to be specific.

On January 2, the eve of the 10th anniversary of the Bitcoin genesis block, Unwriter announced on Twitter the launch of Datapay, the “simplest” javascript library for building and broadcasting data transactions to the BSV blockchain. It’s so simple, according to the developer, that “all it takes is 4 lines (of code) to start writing data” to the BSV chain.


Post to Bitcoin SV blockchain with ‘simplest’ Datapay JavaScript library

Source: Datapay GitHub

Forked from Datacash, the library Unwriter wrote for the BCH, Datapay uses BSV Explorer as its default RPC. It’s also powered by bsv, a library forcryptography, key management and transaction building for Bitcoin SV. But unlike the conventional Bitcoin transaction libraries, which focus on sending money, Datapay is designed with a different philosophy―send data as simple as possible.

To do this, the Datapay library only has two methods: build, for building a transaction but not broadcasting it to the network; and send, for sending a transaction.

Unwriter explained on GitHub , “Datapay was created in order to make it dead simple to construct OP_RETURN related transactions, but you can even use it to build regular transactions. Also Datapay exposes datapay.bsv endpoint which you can use to access the underlying bsv library.”

Datapay is unique in that it's probably the only Bitcoin library that implements simple declarative programming.

Because of this declarative nature, for example you can implement language agnostic Microservices like BitShovel, by @dfoderick https://t.co/PgmZYQfjJp pic.twitter.com/2rE9HlXxzn

― _unwriter (@_unwriter) January 2, 2019

In December, Unwriter announced that he would be transitioning all his projects to use the bsv library, which is being maintained by Money Button for the BSV ecosystem. The crypto developer’s move is in line with his decision “to build everything on top of Bitcoin.” Unwriter, who was behind a number of the useful infrastructure projects in the Bitcoin Cash ecosystem, noted in a Medium post that Bitcoin SV is the real Bitcoin, explaining, “I feel 100% safe operating on SV because the protocol hasn’t changed at all, there has been no behind-the-doors centralized collusion.”

Unwriter, however, believes app developers have a common goal. He points out , “Regardless of what BCH has become, I see all appdevelopers―even those who confuse me as evil―as being on the same side, you just don’t realize yet.”

Note: Tokens on the Bitcoin Core (segwit) Chain are Referred to as BTC coins. Bitcoin Satoshi Vision ( BSV ) is today the only Bitcoin implementation that follows Satoshi Nakamoto’s original whitepaper for Peer to Peer Electronic Cash. Bitcoin BSV is the only major public blockchain that maintains the original vision forBitcoin as fast, frictionless, electronic cash.

本文前端(javascript)相关术语:javascript是什么意思 javascript下载 javascript权威指南 javascript基础教程 javascript 正则表达式 javascript设计模式 javascript高级程序设计 精通javascript javascript教程

代码区博客精选文章
分页:12
转载请注明
本文标题:Post to Bitcoin SV blockchain with ‘simplest’ Datapay JavaScript library
本站链接:https://www.codesec.net/view/628315.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 前端(javascript) | 评论(0) | 阅读(38)