BlockEmulator: An Experiment Tool for Testing Blockchain Protocols
Initiated by HuangLab @ SYSU
BlockEmulator is initiated by HuangLab (a research team in the School of Software Engineering, Sun Yat-sen University, China). It is a blockchain experiment tool that enables researchers to verify their proposed new protocols and mechanisms, particularly blockchain-sharding protocols.
BlockEmulator is a useful experimental platform for researchers and students when need to verify their new algorithms, consensus protocols, and mechanisms. Using BlockEmulator, researchers can quickly launch a testbed where they can collect the experimental data that can be exploited to plot experiment figures or tables.
BlockEmulator supports the replay of Ethereum's historical transactions. It automatically outputs experimental log files. Using those log files, researchers can interpret plenty of metrics such as system throughput, confirmation latency of transactions, the queueing of the transaction pool, etc. This function is extremely helpful for researchers and students to facilitate their experimental data collection and plotting of experimental charts.
BlockEmulator is designed as an experimental platform that aims to help users (researchers, students, etc.) quickly verify their new protocols, e.g., blockchain consensus protocols and blockchain-sharding protocols.
BlockEmulator simplifies the implementation of a blockchain system since it only implements the core functions of a blockchain, including the transaction pool, block packaging, consensus protocols, and on-chain transaction storage. It also supports mainstream consensus protocols such as Practical Byzantine Fault Tolerance (PBFT) and Proof of Work (PoW).
Particularly, BlockEmulator offers the system-level design and implementation for blockchain sharding mechanisms. For example, the cross-shard transaction mechanisms implemented by BlockEmulator include the following two representative solutions, i.e., i) Relay transaction mechanism proposed by Monoxide (NSDI'2019), and the BrokerChain protocol proposed by BrokerChain (INFOCOM'2022) [PDF].
BlockEmulator receives partial support from the following research funds and grants.
Projects | Grant No. |
---|---|
National Key Research & Development Program of China, 高通量区块链交易技术 | 2022YFB2702304 |
National Natural Science Foundation of China (NSFC), 分片联盟链的关键技术研究 | 62272496 |
Fundamental Research Funds for the Central Universities, 区块链分片机制关键技术的研究 | 23lgbj019 |
We have released BlockEmulator version 1.0. In the future, an advanced version of BlockEmulator will offer better operability and a user-friendly IDE.
* We have applied a patent for BlockEmulator version 1.0. Academic usage of BlockEmulator is free. However, any commercial usage should be allowed by our team. Email: 478727684@qq.com
* If you want to communicate with other BlockEmulator users, welcome to join our WeChat Group (BlockEmulator 用户群). The administrator's WeChat ID: Qinglinyang