Package

purescript-web3

Repository
f-o-a-m/purescript-web3
License
MIT
Uploaded by
blinky3713

Latest release Build status

purescript-web3 is a faithful porting of hs-web3 to purescript. At the moment it implements most of the eth endpoints of the web3 api, which means it is suitable for sendind transactions, querying blockchain state and metatdata, and monitoring events.

Using purescript-web3-generator it is also possible to generate a library from a set of smart contract abis which is capable of templating transactions and event filters/watchers. The README has instructions for getting started.

We do not yet have a build tool similar to truffle, but if you are looking for a template of how to use truffle and write your tests using purescript, check out out the purescript-web3-tests

To see an example project using all of the purescript-web3 tools and with thermite/react ui, check out purescript-web3-example.

Prerequisites

purescript-web3 is using psc-package to manage dependencies. Follow the instructions to install psc-package before building the project.

Build Instructions

> npm install
> psc-package build
> pulp test

Documentation

Module documentation is published on Pursuit.

Resources