/blockchain-simulator

A proof-of-work network simulator for blockchain and cryptocurrency research.

Primary LanguageJavaScriptMIT LicenseMIT

Blockchain Simulator

Blockchain Simulator is a tool used to simulate the behavior of Bitcoin (and other proof-of-work blockchains) from within the browser.

This tool can generate network topologies, mimic the behavior of real nodes, simulate how these layouts affect the distributed consensus of the system as a whole, and measure the outcomes.

Various attacks can be crafted and measured. A few notable ones are as follows:

  • 51% attack
  • Eclipse attack
  • Finney attack
  • Partition attack
  • Balance attack
  • Uncle block attack

This version was designed specifically with optimization and performance as the top priority, therefore all DOM elements must be refreshed manually, and can be disabled to avoid the extra computational overhead.

This application is hosted at

https://simewu.github.io/blockchain-simulator


Research publication

S. Wuthier and S. -Y. Chang, "Demo: Proof-of-Work Network Simulator for Blockchain and Cryptocurrency Research," 2021 IEEE 41st International Conference on Distributed Computing Systems (ICDCS), 2021, pp. 1098-1101, doi: 10.1109/ICDCS51616.2021.00110.