Commit Graph

52 Commits

Author SHA1 Message Date
ricmoo
38d578a2c6 Migrating to a split up package; renaming files. 2017-02-24 14:32:44 -05:00
ricmoo
7027935ff7 Fixed failing contracts with fallback function. 2017-02-02 17:06:07 -05:00
ricmoo
5d692f4908 Some JSON-RPC clients do not allow call blockTag to be optional. 2017-01-27 16:24:53 -05:00
ricmoo
9def4a6170 Fix data bug for sendTransaction (was not incuded). 2017-01-27 15:49:15 -05:00
ricmoo
3a0d79b1e4 Just pulling in bn.js and hash.js libraries, instead of relying on the version pulled from elliptic. 2016-11-21 18:45:24 -05:00
ricmoo
048ef96ad0 Fixed package dependency issue when elliptic is already installed. 2016-11-21 18:20:36 -05:00
ricmoo
51f1fa50dd Expose the Interface and Contract objects. 2016-11-21 17:46:36 -05:00
ricmoo
d8a88c18d3 Added keyword arguments and proper result types for the Interface and Solidity parser. 2016-11-09 17:27:34 -05:00
ricmoo
db7cff9582 BN.js fixed nmask for us, so we use that now instead of our mask hack. 2016-11-09 16:39:33 -05:00
ricmoo
3be962f09d Made secret-storage more closely resemble geth. 2016-10-05 00:06:05 +08:00
ricmoo
736b08e016 Updated parseTransaction to format parameters more meaningfully. 2016-09-16 14:46:19 +08:00
ricmoo
d8013cae37 Added transaction parsing with address recovery. 2016-09-16 14:08:36 +08:00
ricmoo
b26b1b9c53 Moved getContractAddress to utils. 2016-08-23 22:06:26 -04:00
ricmoo
a9aaeefe24 Moved address functions to utils (things without need ofr signing do not need all the extra requires). 2016-08-23 20:12:12 -04:00
ricmoo
8257e3f885 Moved ether parsing/formatting into its own library. 2016-08-23 19:35:19 -04:00
ricmoo
142e5276fe Moved encrypt, decrypt and brain wallet to use promises (which greatly improves nested progress callback, approx 4x performance). 2016-08-15 23:04:02 -04:00
ricmoo
9c1d6051fb Fixed empty transaction field bug. 2016-08-07 15:18:42 -04:00
ricmoo
3c67736cbb Fixed randomish bug. 2016-08-07 15:17:53 -04:00
ricmoo
0e9df5cb76 Fixed bug when passing in hex string to formatEther. 2016-08-05 16:14:09 -04:00
ricmoo
a4e1f531b7 Etherscan now supports estiateGas and getGasPrice (thanks Matt!). 2016-08-05 02:56:24 -04:00
ricmoo
4e7f2fa3d4 Allow wei to be passed in as a hex string. 2016-08-04 21:37:33 -04:00
ricmoo
4af236d3ac Moved setImmediate shim to wallet. 2016-08-04 20:28:55 -04:00
ricmoo
3f80001e4d On failed RPC, include original error and data. 2016-08-04 17:53:44 -04:00
ricmoo
9df7c2f37a Fixed etherscan production url. 2016-08-04 03:58:48 -04:00
ricmoo
db757b5bbb Fixed wrong default gasLimit bug and clearing provider. 2016-08-04 03:20:01 -04:00
ricmoo
1b0dc18bdc Abstracted providers and added etherscan provider. 2016-08-03 19:36:44 -04:00
ricmoo
805879a213 Refactored provider to parse the response. 2016-08-03 02:26:36 -04:00
ricmoo
b3f9070b39 Added full provider API including estimate proxy. 2016-08-02 17:43:18 -04:00
ricmoo
14b15dcf5a Added provider standard methods. 2016-08-02 17:41:28 -04:00
ricmoo
1233233c6c Removed debugging logging. 2016-08-01 19:33:21 -04:00
ricmoo
b8d4514dd0 Fixed contract interface decoding numbers. 2016-08-01 18:26:12 -04:00
ricmoo
0ceee56de3 Fixed contract interface coder for numbers. 2016-08-01 17:57:00 -04:00
ricmoo
024cc1806f Re-ordered some parameters, fixed typo. 2016-08-01 14:14:53 -04:00
ricmoo
5e421d2636 Added ether string parsing and formatting. 2016-07-29 20:06:58 -04:00
ricmoo
06281e85c4 Fixed RPC method calls. 2016-07-29 04:45:46 -04:00
ricmoo
5dc2621a32 Fixed type in randomish. 2016-07-27 03:09:11 -04:00
ricmoo
b5e6ac7db9 Varialbe name changes. 2016-07-27 03:02:30 -04:00
ricmoo
5bf0c310d3 Added randomish library. 2016-07-27 02:53:40 -04:00
ricmoo
99ec103e97 Removed some debugging info. 2016-07-27 02:52:21 -04:00
ricmoo
5c9ee7f2a5 Added beginning of RPC providers. 2016-07-26 17:57:11 -04:00
ricmoo
fa0d54966d Added use strict to all files. 2016-07-25 03:55:16 -04:00
ricmoo
224e8aff07 Allow signing key to be passed into wallet and expose private key. 2016-07-23 03:27:56 -04:00
ricmoo
b5710cd710 Added Secret Storage JSON Wallet support. 2016-07-23 03:27:14 -04:00
ricmoo
8033a8f94c Fixed double-0x bug in Interface. 2016-07-22 14:49:26 -04:00
ricmoo
66a5b0ecdc Expose private key in a signing key. 2016-07-22 02:43:19 -04:00
ricmoo
f50f171223 Reuse existing functions. 2016-07-21 17:07:40 -04:00
ricmoo
24c7fc533a Refactored wallet and utilities. 2016-07-21 17:03:32 -04:00
ricmoo
21fdfe9581 Moved all Contract code to lib/contract.js. 2016-07-21 04:21:44 -04:00
ricmoo
0980b864fa Added start of contract ABI library. 2016-07-20 18:06:03 -04:00
ricmoo
d0a822f02a Added isHexString and sha256 to utils. 2016-07-20 18:03:46 -04:00