Home

Awesome

chanterelle-halogen-template

Build Status

hosted here

Purpose

This is a template chanterelle project + halogen frontend. Or maybe it's more like an example. The point is to show how to make a simple application written in purescript utilizing

  1. chanterelle
  2. purescript-web3
  3. halogen

The application is fairly simple. It is an event processesor for the SuperRare contracts -- it starts polling for the creation events for all tokenized art pieces starting from the deployment block and continuing into the present.

Instructions

Build contracts.

> make install
> make compile-contracts

Run a local ethereum node (in a separate terminal)

docker run --rm -it -p 8545:8545 -e ACCOUNTS_TO_CREATE=10 foamspace/cliquebait:latest

Test and Deploy contracts

> make test-purs-dapp
> make deploy-contracts

Build, Serve frontend

> make build-purs
> make parcel-build
> make parcel-start