Commit Graph

381 Commits

Author SHA1 Message Date
ricmoo
d686374e05 Make safe integers into JavaScript numbers. Added more detail error messages. Prevent contracts from hijacking "functions" and "events". 2017-04-04 17:32:04 -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
8603c836e1 Cleaning up utils index. 2017-04-04 17:26:09 -04:00
ricmoo
27bdceaf32 Using throw-error to populate meaningful errors. 2017-04-04 17:22:53 -04:00
ricmoo
9672b9d3b8 Renamed rlp to RLP. 2017-04-04 17:21:59 -04:00
ricmoo
4f05bf87ac Fixed signing key recover when hex strings are passed in for r and s. 2017-04-04 17:19:55 -04:00
ricmoo
c88d796f0e Fixed progressCallback canel bug. Return transaction instead of transaction hash. Renamed rlp to RLP. 2017-04-04 17:19:18 -04:00
ricmoo
0b8cf42fcf Changed validMnemonic to isValidMnemonic. 2017-04-04 17:18:23 -04:00
ricmoo
807b27048b Added throw-error utility. 2017-04-04 17:06:49 -04:00
ricmoo
6a01b622a2 Updated a lot of the documentation. 2017-03-23 05:20:27 -04:00
ricmoo
7e61b6b730 Suppress too many levels of api-advanded in the toc. 2017-03-23 05:19:33 -04:00
ricmoo
156534e2ba Initial documentation (still lots to do). 2017-03-12 19:12:18 -04:00
ricmoo
5f650572ce Added sup override for dt. 2017-03-12 19:08:13 -04:00
ricmoo
9bed4096b8 Fixed contract-address bug (nonce was not zero-stripped). 2017-03-10 17:16:58 -05:00
ricmoo
b097e48efc Grunt file to produce browser test cases. 2017-03-08 01:55:02 -05:00
ricmoo
1a3aa4fd1a Added listener event for address balance changes. 2017-03-08 01:53:59 -05:00
ricmoo
83d099b37c Fixed constructor calls. 2017-03-08 01:52:53 -05:00
ricmoo
637a6d7f40 Better checks for trying to call contract methods with weird options. 2017-03-08 01:52:23 -05:00
ricmoo
78c4af5e4b Removed base option to toString. 2017-03-08 01:51:28 -05:00
ricmoo
730ccd36b2 Fixed fallback randomBytes for weak-crypto browsers.. 2017-03-08 01:51:04 -05:00
ricmoo
33a1459505 Re-org packages. 2017-03-08 01:50:12 -05:00
ricmoo
30cf4a1702 Moved wallet to separate file. 2017-03-08 01:49:05 -05:00
ricmoo
16529909f9 House cleaning. 2017-03-08 01:48:27 -05:00
ricmoo
adc1d93ac2 Added EIP155 support. 2017-03-08 01:47:29 -05:00
ricmoo
94ba940382 Moved hdnode to wallet. 2017-03-06 16:11:24 -05:00
ricmoo
cf83d92cc1 Fixing up browser test cases. 2017-03-01 15:56:49 -05:00
ricmoo
f6990b6e1f Changed name of local created test private keys. 2017-03-01 15:24:02 -05:00
ricmoo
da1526b92f Added dummy file to keep dist directory in tests. 2017-03-01 15:20:00 -05:00
ricmoo
4cd710f84e Added npm test to umbrella pacakge. 2017-03-01 15:18:54 -05:00
ricmoo
55833fcad0 Added Contract getDeployFunction. 2017-03-01 03:59:46 -05:00
ricmoo
f1d35ba18a Fixed to address bug and simplified code. 2017-03-01 02:36:14 -05:00
ricmoo
54685bd660 Fixed name bug (typo). 2017-03-01 02:34:52 -05:00
ricmoo
b0f0e8841e Moved to more flexible contract signers. 2017-03-01 02:34:18 -05:00
ricmoo
a073968597 Added constructor and simplified interface. 2017-03-01 02:33:29 -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
b4b60b64aa Added provider test cases. 2017-03-01 02:26:50 -05:00
ricmoo
8111ef74b2 Refactored RLP coder a bit. 2017-02-28 20:50:53 -05:00
ricmoo
b4c498f088 Added TestContract.sol for testing contracts and providers. 2017-02-28 20:50:20 -05:00
ricmoo
8286c63ddc Gruntfile produces proper stand-alone files for browser. 2017-02-27 17:35:23 -05:00
ricmoo
7394e83eeb Added testcase name to failed test cases. 2017-02-27 17:29:23 -05:00
ricmoo
ebd9bbde2e Added browser test harness. 2017-02-27 01:51:27 -05:00
ricmoo
90f27da293 Fixed umbrella test harness. 2017-02-27 01:50:17 -05:00
ricmoo
7d11687f15 Updated hdnode API in test case. 2017-02-27 00:17:22 -05:00
ricmoo
3234f04b27 Added brainwallet test. 2017-02-27 00:17:01 -05:00
ricmoo
5c16c14fed Fixed filename typo. 2017-02-27 00:13:09 -05:00