Commit Graph

43 Commits

Author SHA1 Message Date
Richard Moore
32a070d909
Added support for fetching block transactions with blocks. 2018-09-04 10:08:50 -04:00
Richard Moore
280dc56a74
Removing address from JsonRpcSigner and cache address (#263). 2018-08-27 13:27:59 +02:00
Richard Moore
46a55a1d99
Removing old dead code. 2018-08-13 16:56:20 +01:00
Richard Moore
2c1022cde1
Removed timeout from wait so we can use confirmations in the future instead and remain backwards compatible. 2018-08-13 16:54:32 +01:00
Richard Moore
a80a8a8ced
Fixed miscalculating estimated fees for payable functions. 2018-08-05 18:35:00 -04:00
Richard Moore
f63c844c42
Added support for getting JsonRpcSigner by index and fixed gas limit in sendTransaction. 2018-08-03 15:22:28 -04:00
Richard Moore
5c8703fb30
Restructuring for TypeScript. 2018-08-02 20:30:44 -04:00
Richard Moore
cb6d18035f
Added error code detection for sendTransaction. 2018-08-01 17:02:27 -04:00
Richard Moore
4b15229832
Calculate estimated gasLimit for JsonRpcProvider. 2018-08-01 15:47:02 -04:00
Richard Moore
cc6f658ef1
Added support for Web3 v1.0 providers. 2018-07-30 23:14:07 -04:00
Richard Moore
9b885296d0
Major re-factor of the library layout for TypeScript; still up for discussion. 2018-07-30 18:59:52 -04:00
Richard Moore
d05da1e487
Added transactionHash to error for consistency. 2018-07-27 03:45:11 -04:00
Richard Moore
26f5a558d6
Fixed some concerns of eslint. 2018-07-17 16:09:06 -04:00
Richard Moore
b61b84dfc8
Moved static Wallet calls to utils and refactors exposed types. 2018-07-17 01:44:04 -04:00
Richard Moore
d1ce9f4964
Refactored imports and exports to be both node-friendly and TypeScript-friendly. 2018-07-16 03:27:49 -04:00
Richard Moore
e4df325e22
Moved getNetwork to utils. 2018-07-16 00:48:41 -04:00
Richard Moore
3b843a1782
Moving away from default exports. 2018-07-16 00:39:29 -04:00
Richard Moore
b61643fecb
Fixed internal exports to use types. 2018-07-16 00:09:13 -04:00
Richard Moore
5f3ceec6f9
Refactored types for TypeScript and to remove circular dependencies. 2018-07-14 17:19:08 -04:00
Richard Moore
b7e143b4f3
Changed Web3Proivder url to empty string instead of unknown if it cannot be determined. 2018-07-12 02:50:44 -04:00
Richard Moore
27402fafe6
Refactored Provider events. 2018-07-12 02:49:09 -04:00
Richard Moore
4514229f27
Added eslint for promises. (#189) 2018-07-03 16:44:05 -04:00
Richard Moore
7ac8cb63c8
Use block polling rather than exponential backoff when possible. Added transactionHash to errors on failed transactions. 2018-07-03 15:48:37 -04:00
Richard Moore
b1d026b800
Added deployed to contract and abstracted polling into web. 2018-06-30 23:05:22 -04:00
Richard Moore
6faa978767
Fixes for handling weird TestRPC behaviour. 2018-06-26 18:59:22 -04:00
Richard Moore
8a340c8ff3
Fixed sendTransaction for JsonRpcSigner. 2018-06-26 18:37:21 -04:00
Richard Moore
0b35f1959a
Fixed JsonRpcSigner for promises and made address optional again. 2018-06-26 17:49:54 -04:00
Richard Moore
8fe19de3ce
Added support for unsigned transactions. 2018-06-25 21:02:20 -04:00
Richard Moore
c348c60d5c
Skip null values (not just undefined) when resolving ENS names. 2018-06-24 18:56:45 -04:00
Richard Moore
18aa885aef
Provider and contract wait return receipts and throw on error status. 2018-06-24 18:41:28 -04:00
Richard Moore
bd4ca0d4d3
Fixed TypeScript definition file generation. 2018-06-24 04:03:21 -04:00
Richard Moore
7949444612
Added initial support for EIP838, revert codes (#188). 2018-06-23 01:33:51 -04:00
Richard Moore
ec40c67c50
Added no implicit any for TypeScript checking. 2018-06-22 20:30:50 -04:00
Richard Moore
1082105eea
Added more specific types to signatures. 2018-06-22 02:13:34 -04:00
Richard Moore
5b18a63ebc
Use node crypto in node environments. 2018-06-19 02:12:57 -04:00
Richard Moore
336df72e04
Refactor Provider. 2018-06-18 18:49:00 -04:00
Richard Moore
5da4917c27
Refactoring. 2018-06-18 05:42:41 -04:00
Richard Moore
c1b24e818c
Renamed convert to bytes. 2018-06-17 16:47:28 -04:00
Richard Moore
af893e79a4
Refectoring; split getAddress, expose transactions, hex operations. 2018-06-17 16:32:57 -04:00
Richard Moore
efbfed0d40
Refactor API. 2018-06-15 04:18:17 -04:00
Richard Moore
4df78764a2
Updates phantomjs test cases for gulp and TypeScript dist files. 2018-06-14 02:25:56 -04:00
Richard Moore
c411d9744d
Added new checks and fixed up deploy for Contract. 2018-06-13 21:10:41 -04:00
Richard Moore
8c0308dc58
Initial TypeScript migration. 2018-06-13 15:39:39 -04:00