Commit Graph

142 Commits

Author SHA1 Message Date
Richard Moore
937194b5ee
Updated dist files. 2018-07-14 17:21:32 -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
98ea4b59a0
Fixed JsonRpcSigner for Promise-based values. 2018-06-26 17:47:31 -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
c83596455b
Updated dist files. 2018-06-22 02:18:19 -04:00
Richard Moore
28cd3cace2
Moved TypeScript generation to match library layout for easier importing sub-components. 2018-06-21 20:24:30 -04:00
Richard Moore
8c0308dc58
Initial TypeScript migration. 2018-06-13 15:39:39 -04:00
Richard Moore
a6cced81d6
Merge branch 'master' of github.com:ethers-io/ethers.js 2018-06-03 20:50:33 -04:00
Richard Moore
48c07f6ef6
Prevent pending filter hashes from returning null. 2018-06-03 17:08:25 -04:00
Vasilis Antonakis
7702d4ce7c
API baseUrl changed
Hello, I noticed there is a change in the baseUrl of etherscan APIs

** Important: (Feb-12-2018) The ROPSTEN testnet API service URL has been updated to http://api-ropsten.etherscan.io . The previous API url http://ropsten.etherscan.io will cease to function as of March 31, 2018 

https://ropsten.etherscan.io/apis

same goes for all other testnets

nice work btw :)
2018-05-28 21:49:20 +03:00
Richard Moore
417065bad6
Added wait to transactions from JsonRpcSigner in sendTransaction (#177). 2018-05-15 15:32:32 -04:00
Richard Moore
3cb21dd6c7
Added timestamp to EtherscanProvider history (#174). 2018-05-14 15:50:25 -04:00
Richard Moore
65caec2ea5
Fix for Ganache getLogs. 2018-04-16 19:15:44 -04:00
Richard Moore
6c12d8f30c
Merge branch 'jlindberg-oss-gethistory' of git://github.com/jlindberg-oss/ethers.js into jlindberg-oss-jlindberg-oss-gethistory 2018-04-14 17:05:56 -04:00
Richard Moore
e649a22ccf
Added basic authentication to JsonRpcProvider. 2018-04-14 16:10:26 -04:00
Richard Moore
eddf9de8f9
Refactor providers; moved getSigner and listAccounts to JsonRpcProvider from Web3Provider, using errors and added initial IpcProvider. 2018-04-13 18:21:48 -04:00
jlindberg-oss
ac4b5d9199
handle 0 results from getHistory without error-ing
Similar to getLogs, getHistory seems to return `result.status == 0` when there are no results found.
2018-04-07 23:44:59 -04:00
Richard Moore
28ddf485ed
Allow large block difficulty, but set it to null for PoA (#152). 2018-04-05 15:31:31 -04:00
Richard Moore
296473299c
Added blockHash to Etherscan getLogs result (#146). 2018-03-27 17:19:46 -04:00
Richard Moore
ce7718c87e
Transaction receipts in Ganache do not return logsBloom; making it optional. 2018-03-17 17:40:47 -04:00
Richard Moore
46fd2deb8b
Added pollingInterval to provider. (#132) 2018-03-15 16:03:20 -04:00
Richard Moore
5a9f440c8f
Fixed getHistory range for EtherscanProvider. 2018-03-15 15:00:52 -04:00
Richard Moore
1d67aa3e29
Stall providers for blocks, transactions and transaction receipts with null results for triggered events (i.e. we know they should not be null). (#120) 2018-03-06 18:40:11 -05:00
Gokulnath Reddy
224c17a9b9 Fix typo 2018-03-06 12:16:53 +11:00
Richard Moore
3cdb6aad25
Refactored checkBlockTag. 2018-03-05 02:52:53 -05:00
Richard Moore
e67a66f900
Major version update; some changes are not backwards compatible. This package has been merged into one package instead of an umbrella pacakge. (See: #95) 2018-03-04 19:31:09 -05:00
Richard Moore
03f20f023f
Added ETC (classic) network. 2018-03-02 23:52:25 -05:00
Richard Moore
5fc59dd1cf
Some nodes (e.g. TestRPC) do not like checksum addresses in their RPC calls. 2018-01-17 17:26:31 -05:00
Richard Moore
34fd2882d8
Fix typo when detecting MetaMask. 2018-01-17 17:21:38 -05:00
Richard Moore
c4690f9e7b
Fixed auto-address and signing with Metamask and Web3Provicder. 2018-01-17 16:23:01 -05:00
Richard Moore
67bb0b7f93
Added Web3Provider. 2018-01-16 18:55:56 -05:00
Richard Moore
d6cf970ae9
Added errors for providers trying to use ENS on networks without ENS. 2018-01-09 18:43:09 -05:00
Richard Moore
357d49ecee
Version bump (patch). 2017-12-29 21:02:56 -05:00
Richard Moore
a568be9df3
Added getEtherPrice and getHistory calls for Etherscan Provider. 2017-12-29 21:01:43 -05:00
Richard Moore
a4e768e2b3
Added pending transaction event for providers that support it. 2017-12-29 20:41:16 -05:00
Richard Moore
132e56e65e
Added more provider log details. 2017-12-05 01:56:57 -05:00
Richard Moore
a9cc1bf641
Version bump (patch) for providers. 2017-12-01 22:26:12 -05:00
Richard Moore
ca249054e5
If a block does not exist, return null (instead of rejecting). 2017-12-01 21:59:26 -05:00
Richard Moore
807c8133ea
Fixed getTransaction to address and raw computation for providers that do not include it. 2017-11-21 19:05:34 -05:00
Richard Moore
5a837e1b0a
Fixed some weird cases for TestRPC and getTransaction. 2017-11-18 18:00:36 -05:00
Richard Moore
e8b23c29a5
Fixed for PoA networks getTransactionReceipt (#69). 2017-11-17 14:55:14 -05:00
Richard Moore
11f0434bdd
Fixed legacy parameters for Providers and added test cases. 2017-11-12 16:02:07 -05:00
Richard Moore
f88b3523c0
Version bump (patch) for provider. 2017-11-08 21:08:27 -05:00
Connor Gutman
7eaf22f573
Remove double declaration of transactionIndex
This little guy nearly broke my react native app's production build by sneaking past me. 👋 Buh-bye 👋
2017-11-08 16:28:56 -07:00
Richard Moore
18cd678b71
Version bump (patch) for providers. 2017-11-03 02:41:41 -05:00
Richard Moore
9cac6b06f5
Updated list of networks (legacy provider list). 2017-11-03 01:34:57 -05:00
Richard Moore
73ee7664a1 Merge branch 'master' of github.com:ethers-io/ethers.js 2017-11-03 01:31:09 -05:00
Richard Moore
8835225655
Updated getTransactionReceipt for Byzantium. 2017-11-03 01:30:56 -05:00
Richard Moore
54c19dfb5a
Fixed default network for providers (#51). 2017-10-28 17:00:59 -04:00
Richard Moore
e4c455bdb6
Less strict parsing for loose providers. 2017-10-27 17:03:26 -04:00
Richard Moore
aeec6d6d52
Added Rinkeby and Kovan support. 2017-10-25 19:59:54 -04:00
Richard Moore
f140fa6017 Updated dist files and dist scripts. 2017-10-20 15:44:54 -04:00
Richard Moore
4a3d68eada Version bump (patch). 2017-10-17 16:09:43 -04:00
Richard Moore
afb35ec307 Fixed Provider.lookup to support any address format. 2017-10-17 16:07:32 -04:00
Richard Moore
394761a6ca Added ENS reverse lookup to provider. 2017-10-03 19:37:06 -04:00
Richard Moore
966267edf9 Version bump (patch) for providers. 2017-07-05 20:32:16 -04:00
Richard Moore
811710c8f0 Updated provider for picky JSON-RPC nodes. 2017-07-05 20:26:03 -04:00
ricmoo
9616720abb Version bump (minor); ENS support. 2017-05-21 20:31:37 -04:00
ricmoo
01f909fc05 Fixed getLogs bug. 2017-05-21 20:29:09 -04:00
ricmoo
d5402d017a Allow getLogs filter to include ENS names. 2017-05-21 18:01:23 -04:00
ricmoo
c59414b74b Added ENS name support to Provider and Wallet. 2017-05-20 15:42:16 -04:00
ricmoo
4b41c0e1a2 Added resetEventsBlock feature and fixed a problem with some INFURA nodes. 2017-05-09 21:45:36 -04:00
ricmoo
4407c7a4e1 Updated to new Etherscan URL. 2017-04-22 11:46:04 -04:00
ricmoo
cafd16b960 Updted etherscan provider (they changed their URL). 2017-04-22 11:43:32 -04:00
ricmoo
2ff0b10084 Added repo ro package.json. 2017-04-05 16:43:57 -04:00
ricmoo
40634da90b Added basic README for npm. 2017-04-05 16:43:34 -04:00
ricmoo
7250e96850 Use most recent compatible version of ethers packages. 2017-04-04 18:55:36 -04:00
ricmoo
bb8f06c248 If raw is missing from a transaction, compute it. 2017-04-04 18:23:31 -04:00
ricmoo
73eef741b6 Small bug fixes and improved network ID population. 2017-04-04 17:30:17 -04:00
ricmoo
4075f330e2 Using Provider.inherits. 2017-04-04 17:28:25 -04:00
ricmoo
c10c3b937c Make fallback providers immutable. 2017-04-04 17:27:28 -04:00
ricmoo
1a3aa4fd1a Added listener event for address balance changes. 2017-03-08 01:53:59 -05:00
ricmoo
5ecba670a5 Moved to Provider provided inherits. 2017-03-01 02:31:11 -05:00
ricmoo
45c1108ca8 Added topic events and fixed bugs. 2017-03-01 02:30:37 -05:00
ricmoo
e115b2d8a8 Fixed call bug for strict JSON-RPC nodes. 2017-03-01 02:29:12 -05:00
ricmoo
cf20071189 Fixed empty response for getLogs and call bug. 2017-03-01 02:27:59 -05:00
ricmoo
8286c63ddc Gruntfile produces proper stand-alone files for browser. 2017-02-27 17:35:23 -05:00
ricmoo
e31f20e441 Added default url for JSON-RPC provider. 2017-02-27 00:06:32 -05:00
ricmoo
005c0d2cdc Removed dead code. 2017-02-25 01:24:54 -05:00
ricmoo
0db4b352b6 Added split up providers. 2017-02-25 01:23:48 -05:00
ricmoo
38d578a2c6 Migrating to a split up package; renaming files. 2017-02-24 14:32:44 -05:00