Inheritance of the Blockchain Spirit: The Source Code of ViaBTC BTC Mining Pool has been Open Sourced

ViaBTC
5 min readApr 1, 2021

On January 3, 2009, Satoshi Nakamoto mined the Bitcoin genesis blockchain and left a timestamp of the day, quoting the front page of “The Times” that day: “The Times 03/Jan/2009 Chancellor on brink of second bailout for banks”.

It was like a beam of light, which had accumulated for a long time, penetrating the solid walls of centralized financial institutions that had been painstakingly built for thousands of years, and that light shone into the darkness of this forest like grace. So far, the history of the world’s financial system has begun to change.

In the 11 years of ups and downs, Bitcoin has witnessed its market value soaring from 0 to $1018.3 billion. The emergence of new things will inevitably have an impact on the traditional. Ever since its birth, Bitcoin has been taken as the opponent by the mainstream world and traditional financial institutions. In the past, major mainstream media have tirelessly spread to the public the so-called Bitcoin threat theory, like rumors that “the existing financial system is being undermined by various encrypted digital currencies including Bitcoin.” All kinds of alarmism and warnings from well-known authorities have greatly hindered Bitcoin from being accepted by the public.

Indeed, all new things come with the growing pains of endless doubts:

Some question the value of Bitcoin;

Some question the design of Bitcoin;

Some question the influence of Bitcoin’s underlying technology;

But few have questioned the original intention of Bitcoin, which is the nature of the blockchain:

It is a free, decentralized, and orderly financial system and the ultimate pursuit of a large-scale social experiment. The spirit of decentralization is the core value of the system.

The decentralization spirit is the key that the blockchain market represented by Bitcoin attracts thousands of blockchain users to fight. It also serves as the basis for the consensus among them, and inspires every generation of blockchain users to pass on the values of decentralization with their strength. In the blockchain world where the code is the law, the most “fascinating” practice of the blockchain spirit is undoubtedly the open source code.

Adhering to the “open source” tradition, ViaBTC aims to become the purest entrepreneur in the blockchain

Speaking of open source, there is a person I have to mention — Yang Haipo, founder of ViaBTC. In the dazzling blockchain industry full of the lust of profit, Yang Haipo has been acclaimed as the purest entrepreneur. In his view, it is precisely open source that empowers the blockchain world to better facilitate decentralization. His original intention is to build new projects on the existing ones and thus make the new stronger, faster, and more usable. During the past five years since he started his business, Yang Haipo is the only one in this industry who has been adhering to “open source” as well as the only entrepreneur who stays 100% loyal to the blockchain entrepreneurial aspirations.

In 2017, Yang Haipo uploaded the code of the trading engine of ViaBTC, a trading platform which was the predecessor of its exchange CoinEx, to Github to go open source. As of today, the open source code has more than 2,200 Stars and 1,300 forks, greatly helping countless exchange entrepreneurs.

After the mainnet of CoinEx Chain was launched in 2019, Yang Haipo successively released the source code of the codon and onvakv components of the public chain and then the source code of Rust API for contract developers. Finally, he even released the source code of the DEX on Github.

By doing so, Yang Haipo hopes to stimulate the development of the blockchain world, lower the barriers to technology development, and attract more people to enjoy it.

But that’s not the end of the story.

ViaBTC’s inheritance of the blockchain spirit: The source code of the BTC Mining Pool has been open sourced

On March 31, ViaBTC Pool founded by Yang Haipo officially announced that the BTC mining pool code will go open source on Github: https://github.com/viabtc/viabtc_mining_server. It is reported that this move involves mining services, mining protocol implementation as well as support from mining modules of nmc, sys, emc, ela, rsk, and vcash. It can also significantly speed up block broadcasting and reduce orphan or bad blocks.

The community is not surprised as everyone knows this must be the masterpiece of the “open source expert” Yang Haipo. Ever since the establishment of ViaBTC Pool, the spirit of decentralization has been engraved in the company’s genes.

ViaBTC Pool was established in 2016 and is one of the few early mining pools in the blockchain industry. With years of technological accumulation and practical mining in this field, ViaBTC Pool has extended its business to the entire industrial chain, including the mining pool, exchange, and public chain, and successfully opened up a complete chain from mining services to digital assets to serve blockchain investors as a bridge connecting the real value.

In 2020, ViaBTC Pool has been upgraded with new products and services to further improve the product experience and increase the revenue of mining pool users. Combined with its exchange CoinEx, it will create a product system featuring “the mining pool-driven wallet and wallet-driven trading”. In other words, each ViaBTC Pool account has a built-in wallet, with functions such as the storage, deposit, free withdrawal, and transaction acceleration of mining revenue; at the same time, thanks to the built-in exchange function, users can enjoy spot trading in the mining pool wallet. They can even withdraw the coins mined to CoinEx Exchange for free to purchase wealth management products in an attempt to preserve or increase value. What’s more, ViaBTC also provides a variety of options such as web and app clients so that users may check the mining status anytime and anywhere for exchange or hedging.

Whether in the business form or the improvement of product functions, ViaBTC Pool is a model of mature mining pools. While ensuring a solid infrastructure, the ViaBTC Pool team believes it has been developed enough to benefit others, so the team decided to release the source code of the BTC mining pool. That’s the end of the story.

The ViaBTC Pool team believes that the mutual trust in the blockchain community is based on the consensus mechanism, and only openness and transparency can maintain the consensus of all participants. So it hopes to inherit the spirit of the blockchain by releasing the source code and attract more outstanding technology developers and teams to jointly create products of value that benefit users in the mining world.

As Yang Haipo once said, “the most important thing about going open source is not the code, but the ideas behind the code, and we are all on the way.”

--

--