Skip to content

Releases: f-o-a-m/purescript-web3

v0.21.0

19 Apr 18:00
b3f969a
Compare
Choose a tag to compare

Introduces new RemoteError and ParserError constructors into Web3Error, to allow more graceful handling of failure modes when making requests to Web3 providers.

v0.20.0

19 Apr 12:50
9db2547
Compare
Choose a tag to compare
  • rework type-level numbers in base 10 with Increment class #88 @safareli

Using purescript-eth-core

17 Apr 21:34
bd12a93
Compare
Choose a tag to compare

In an effort to move all js dependencies to the corner, we factored out the core modules to purescript-eth-core. This means that all the HexString and BigNumber utils got pushed there, but also that library exports additional functionality like RLP encoding and ECDSA support

MonadPar Instances

12 Apr 23:11
9b3ec60
Compare
Choose a tag to compare

We introduce an opaque Web3Par type with

instance monadParWeb3 (Web3Par e) (Web3 e)

deploying helper functions

21 Mar 00:50
352fa7c
Compare
Choose a tag to compare
Deploying (#73)

* deployContract

* untag args

* eq error instances

* eq error instances

* add status

* fix status

Using ReaderT for providers

27 Feb 21:06
Compare
Choose a tag to compare

We use a ReaderT in the Web3 monad stack rather than a phantom type and proxy approach.

upgrade purescript-tagged

13 Feb 20:34
Compare
Choose a tag to compare
Release (#64)

* use published version of purescript-tagged

* auto publish tagged versions on travis

Better Transaction Options

12 Feb 15:10
4aa9676
Compare
Choose a tag to compare

TransactionOptions now takes a phantom type indicating the currency contained in it. eth_sendTransaction converts this to Wei on the way out the door. Then _value lens got smarter.

Also started using the modules package for better interplay between Int and BigNumber and Value.

Error Handling

05 Feb 21:39
fdca5b4
Compare
Choose a tag to compare
Error handling (#51)

* error handling in call method

* factor out pure

* fail with parse error

* better error messaging for call

* fix warnings

* add coroutines dep for bower

* update bower

* remove extra case

* update tests

* detecting metamask

* safe mm

* wip

* update provider

* compiles

* change exportS

* expose web3 error top level

* remove parse error summand

* throwWeb3

* more null exceptions

* fix tests

* remove impossible case

* dont need to actually run test

Uncurried Helper Functions

05 Feb 20:24
f92c7c1
Compare
Choose a tag to compare
  • Introduce a new Uncurry class to assist in generating better helper functions
  • remove imports that cause warnings