Today, the DxChain team is proud to announce that our public chain Godx project is now open source!
You guys may be wondering “What’s Godx? What are the contents and features of the open-source code? What does open source really mean?”
This article will help you understand the various futuristic tech secrets in DxChain’s open-source code.
Godx is a blockchain project written by the DxChain team using Go. Currently, it supports 64-bit Linux and MacOS operating systems. It not only implements the common blockchain ledger system, but also implements a large-scale distributed storage system. Compared to traditional storage service providers, Godx is based on the blockchain tech that can provide users with more transparent, secure and efficient distributed storage services.
How can I access Godx open source?
DxChain’s full open-source code for testing Network 3.0 is hosted on DxChain’s GitHub. Click this link to get the code: https://github.com/DxChainNetwork/Godx
Why open source?
In the blockchain world, code is law, and it forms the community consensus on the blockchain. From now on, the DxChain Godx project is open source, which means that any engineer familiar with the go language can access the code through the provided link. This allows them to review its internal implementation logic, verify and modify the code, and compile their own executable file. It also means that no Trojan or backdoor virus can hide in the program to ensure that the project runs in a completely open and safe environment. The DxChain team is willing to work with community members to maintain this code-based law and build a healthy developer ecosystem.
Currently, DxChain uses GitHub as a platform for all code development and management. Starting today, the code modification and upgrade of all subsequent DxChain project developments will be carried out in a completely open and transparent environment. We welcome the supervision and inspection of team members from the global community. We will use actions to prove that DxChain is serious about its open-source code. I hope that every technology enthusiast can provide us with more valuable suggestions in order to improve our decentralized storage ecosystem!
What’s inside the Godx open source code?
The Godx project is written in Go language and contains 1,706 go language source files, totaling 738,531 lines of code, which was developed by 8 main engineers. (For detailed indicators, please refer to GitHub statistics: https://github.com/DxChainNetwork/Godx/pulse
The main module of the program includes general blockchain templates such as account, consensus, core, miner, p2p, rpc and evm, in addition to storage contract modules such as a storage client for storageclient and storagehost.
The high-quality code isn’t the only thing that makes this project outstanding. We believe that a clear and detailed document is equally as important in order to get developers started. The DxChain team provides community developers with detailed development updates and usage documentation. Throughout the project, use the tutorial found in the README.md document (https://github.com/DxChainNetwork/Godx). Developers can easily configure and install Godx code and experience DxChain storage and mining functions.
What are the features of the Godx project?
The DxChain team has always been committed to using blockchain technology to provide solutions for data storage and computing problems. We will elaborate on the various futuristic tech innovations used in the project and bring you a taste of the future. This article will briefly introduce the following three aspects: EVM smart contracts, lightning network storage protocol and fast verification algorithm.
Compatibility with EVM Virtual Machine
In the smart contract solution, the Ether-compatible virtual machine has 3 unique advantages. It is Turing complete, has DAPP development based on smart contracts, and its EVM platform is situated in the mainstream. The DxChain team has expanded ethereum’s original EVM and added a storage contract function while still being compatible with the original virtual machine commands. Therefore, developers can use both EVM and storage contract functions. The original Ethereum DAPP developers can directly compile the source code of their APP into Godx with almost no modification, which greatly reduces the development cost for the majority of developers.
Lightning Network Storage Protocol
Since its launch, Lightning Network had the expectation to improve bitcoin transaction speed and scalability. In the algorithm of the offline file contract, the DxChain team also adopted a protocol similar to the lightning network channel. We call it the storage protocol. The storage protocol allows two parties who store the same file in the main chain to sign the contract, carry out the pledge fund and follow up on many detailed activities (such as uploading/downloading files) that can be implemented offline until the funds are settled by both parties. This means that even if there are huge files in the network that need to be stored, it can be quickly completed, without affecting the main chain, greatly improving storage performance and throughput efficiency.
Zero-second file storage verification algorithm
Through the specially designed Merkle Tree algorithm, the DxChain team implemented a zero-second network-wide method based on file storage verification. Compared to other algorithms, this algorithm saves necessary network interaction time, so that the acceptance speed of large files can be kept within milliseconds. Through this verification algorithm, all file storage will be efficiently verified by the entire network, in order to eradicate hackers.
The DxChain project is unique because of the achievements and improvements made by our team of talented engineers. In the future, we aim to release a series of analytical articles to provide an in-depth explanation of DxChain’s open-source code. Please stay tuned!
Finally, the DxChain team would like to thank all of the supporters who accompanied us. Godx Open Source showcased the transformation of DxChain from being a team leading project to one that is driven by the community.
Everyone is welcome to provide us with valuable comments or suggestions by reporting an issue on GitHub. Every bug report and algorithm proposal will help DxChain’s development. We look forward to developing with DxChain's global community in the future, building a win-win, healthy developer ecosystem with continuous technological innovation, and leaving a permanent mark on the blockchain world.