Commit Graph

638 Commits

Author SHA1 Message Date
ricmoo
bb8f06c248 If raw is missing from a transaction, compute it. 2017-04-04 18:23:31 -04:00
ricmoo
cb9bfccb9a Moved HDNode into Wallet. 2017-04-04 17:50:50 -04:00
ricmoo
3069fa759b Contracts now return hex strings instead of arrays. 2017-04-04 17:40:25 -04:00
ricmoo
ecd9d31371 Renamed summonBrainWallet to fromBrainWallet. Removed crowdslae tests (they will be added again in the future). 2017-04-04 17:39:32 -04:00
ricmoo
6c0723bc43 Added testcase for nonce (which should be truncated). 2017-04-04 17:36:59 -04:00
ricmoo
dc4f2dcee7 Cleaned up umbrella index. 2017-04-04 17:35:34 -04:00
ricmoo
f772ce111e Renamed "execute" to "functions". Use signer estimateGas if possible. 2017-04-04 17:33:47 -04:00
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