A reflex-dom implementation of the original Hydra Heads demo.
Go to file
2022-10-26 17:35:33 +01:00
demo Initial commit 2022-10-21 01:59:03 +01:00
dep Initial commit 2022-10-21 01:59:03 +01:00
src Reflex-ify Hydra network managemement + make start async 2022-10-26 17:35:33 +01:00
.gitignore Add a screenshot of the demo and define a .gitignore 2022-10-25 18:27:01 +02:00
default.nix Initial commit 2022-10-21 01:59:03 +01:00
demo.png Add a screenshot of the demo and define a .gitignore 2022-10-25 18:27:01 +02:00
hie.yaml Initial commit 2022-10-21 01:59:03 +01:00
hydra-head-demo.cabal Initial commit 2022-10-21 01:59:03 +01:00
README.md Add a screenshot of the demo and define a .gitignore 2022-10-25 18:27:01 +02:00

Hydra Head Demo, Reflex-DOM edition

This is an extended, graphical re-implementation of the original Hydra Heads demo implemented with Reflex FRP. It allows starting and closing a head with an arbitrary number of nodes, each with some initial amount of Ada to perform transactions within the head.

Running

To run the demo enter a Nix shell and run it with cabal:

nix-shell -A shells.ghc default.nix --option substituters "https://cache.nixos.org https://cache.iog.io https://nixcache.reflex-frp.org" --option trusted-public-keys "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI="

cabal run

The demo can then be viewed in Chrome(Chrome must be used at this time because of a limitation in JSaddle) at http://localhost:3003/.