Chains
BNB Beacon Chain
BNB ecosystem’s staking & governance layer
Developers
Ecosystem
Staking
Earn BNB and rewards effortlessly
Tokenization Solutions
Get Your Business Into Web3
Community
This April, BNB Chain launched the BNB Greenfield Testnet called "Congo". What sets BNB Greenfield apart from existing Decentralized Storage Networks (DSNs) are three vital features.
With the proposal of Greenfield Executable, Greenfield can also solve existing issues of large-scale data processing to unlock the potential of an open data economy. This article explains the design and use case of Greenfield Executable and why it’s important for a sustainable data economy.
The current issue with processing large-scale datasets lies in the complexity and scale of the data. Traditional data processing methods and technologies need help to efficiently handle the volume, velocity, and variety of data generated by large-scale datasets. Some key challenges include:
To solve the issues above, the Greenfield Executable idea was proposed by the community. It is designed to transform data processing for large-scale datasets to reduce cost and improve efficiency. The goal is to create an open, collaborative, and trusted computing ecosystem. NodeReal, one of the core contributors of BNBChain has implemented the Greenfield executable and open-source the codebase.
DSNs are competing to introduce the "execution logic" for data storage blockchain.
Compared with these solutions, Greenfield Executable has the following strength:
Similar to Greenfield Storage Providers (SP) for data stores, there are Greenfield Execution Service Providers dedicated to providing the execution environment and resources to support Greenfield executables.
To become an execution SP, providers must register themselves by depositing BNB tokens on Greenfield as their "service staking". Greenfield validators will go through a dedicated governance procedure to vote for the execution SPs of their election. Execute SPs are encouraged to advertise their information and prove to the community their capability, as they must provide a professional execution environment with quality and security assurance.
The challenging system for storage SPs also works for execution SPs. Users, validators, storage SPs, other execution SPs, and BNB Greenfield itself may challenge an execution SP for data integrity, resource availability, and security breaches, among other issues. The challenger needs to provide "proof", and the validators would help verify and vote. If the challenge succeeds, the challenger and validator would be rewarded, whereas the challengee would be punished by having part or all of their stakes slashed (depending on the severity of the issue).
It is a proof of execution that can verify if the execution is correctly executed and can be used to reproduce the execution steps. There are two potential solutions:
Both methods can be used for different scenarios. Developers could choose the preferred "proof-of-execution" approach based on the complexity of the executable and the importance of performance. For simpler executables with acceptable performance, zk proof could be used to reduce the complexity of the interactive challenge. On the other hand, for performance-critical or complex executable logic, the interactive proof method can be employed.
WebAssembly is not a programming language, but a binary format that can be generated from languages like C, C++, Rust, and Go. WebAssembly code can run alongside JavaScript, and can access the same web APIs and resources.
In our case, we choose web assembly to achieve the following goals:
Key Steps:
Greenfield executable is currently in the proof-of-concept (PoC) phase. Right now, Greenfield has the capability to issue a "test binary" to execute SP and verify the results and gas consumption. Users can also challenge the execute SP to verify the execution results. This demonstrates Greenfield's potential to store and invoke executables while ensuring the integrity of execution. It's important to note that the PoC does not yet incorporate permission and proof-of-execution implementations.
As the dev team continues to develop and refine the Greenfield executable, they eagerly look forward to engaging in discussions and welcoming your ideas and code contributions. We believe that collaborative input and knowledge-sharing will be instrumental in enhancing the functionality and security of the Greenfield blockchain. Together, we can build a robust and reliable solution.
This article explored the design and implementation of the Greenfield executable, which represents a new initiative aimed at creating an open, collaborative, and trusted computing ecosystem. BNB Greenfield is a decentralized storage blockchain that offers various opportunities and its technology is still in its early stages, and the possibilities are vast. Join the Greenfield developer community today and be a part of the journey toward a decentralized future.
Website | Twitter | Twitter (Devs) | Telegram | dApp Store | YouTube | Discord | LinkedIn | Build N' Build Forum | Dev Community|