Supplementary code for the experiments/figures in the paper "Incentive Analysis of Casper the Friendly Finality Gadget as a PoW/PoS Hybrid Using PRESTO", ported to JavaScript.
By visiting https://casper-paper.github.io, the experiments can be run from within the browser.
The most important file in this repository is Casper.js, which allows for the simulation of a censorship attack. Experiments.js details the specific experiments conducted to create the figures.