Commit Graph

285 Commits

Author SHA1 Message Date
Marek Kotewicz 91321fbcd7 removed web3 dependency from abi.js 2015-03-03 18:38:23 +01:00
Marek Kotewicz 5c7d8a7e33 separated event signature 2015-03-03 18:34:06 +01:00
Fabian Vogelsteller a05742fda1 Add internal defaultBlock 2015-03-03 11:11:52 +01:00
Fabian Vogelsteller 6cd96c96b7 add net object 2015-03-02 16:29:23 +01:00
Fabian Vogelsteller 9c4080bf26 made filter polling async 2015-03-02 13:12:57 +01:00
Fabian Vogelsteller 869bb668e8 add optional callback 2015-03-02 13:00:20 +01:00
Fabian Vogelsteller 4096fb8c88 merged develop 2015-03-02 10:45:30 +01:00
Fabian Vogelsteller 5c4a36bd7b working on adding callbacks 2015-02-28 15:55:41 +01:00
ethers 4b9bc177f7 constants should be before (dynamic) string contents 2015-02-27 14:41:52 -08:00
Marek Kotewicz 81b19cc9a7 event hash 2015-02-27 20:16:45 +01:00
Fabian Vogelsteller 1c136e307e merged develop 2015-02-27 15:57:25 +01:00
Fabian Vogelsteller aef0171927 add shh topic auto transformation for filter options 2015-02-27 14:05:00 +01:00
Fabian Vogelsteller 37e6d1185b add shh output formatters and test 2015-02-27 12:41:07 +01:00
ethers f8db634a8f need to save/concat per iteration 2015-02-26 20:24:19 -08:00
ethers 66196ee8ba constants should be before array contents, fixes #30 2015-02-26 20:06:26 -08:00
Fabian Vogelsteller 47412c3dbd add more tests for blocks 2015-02-26 16:20:46 +01:00
Fabian Vogelsteller 545de254f9 add more tests 2015-02-26 15:54:49 +01:00
Fabian Vogelsteller 30518ae6c8 fixed complexities 2015-02-26 10:56:04 +01:00
Marek Kotewicz 5bd166cc82 clearing timeout 2015-02-25 17:07:16 +01:00
Fabian Vogelsteller 84900e6463 merged with solved conflicts 2015-02-25 17:01:23 +01:00
Fabian Vogelsteller 9981b97b45 fixed ) 2015-02-25 16:31:09 +01:00
Fabian Vogelsteller 8128342908 fixed small change request 2015-02-25 16:30:23 +01:00
Marek Kotewicz 16d7e2520f jshint is more strict 2015-02-25 15:53:28 +01:00
Fabian Vogelsteller 5ea5be2489 add deprecated transact 2015-02-25 14:32:57 +01:00
Fabian Vogelsteller 181f1093e6 changed getCode to getData 2015-02-25 11:01:58 +01:00
Fabian Vogelsteller 1fa7fa6958 toFromWei fix 2015-02-24 18:08:17 +01:00
Fabian Vogelsteller ee65b2ca5c add input formatter for transactions 2015-02-24 13:00:24 +01:00
Fabian Vogelsteller fec54d81ae add depreaction warnring to contractFromAbi 2015-02-24 10:45:03 +01:00
Fabian Vogelsteller 684c495981 changed contract API 2015-02-24 10:36:54 +01:00
Fabian Vogelsteller 36ca47f11c Changed watch to filter for eth and shh 2015-02-23 18:30:37 +01:00
Fabian Vogelsteller 7fde77dbb3 add formatter 2015-02-23 17:05:53 +01:00
Fabian Vogelsteller 91c015e402 Made to/fromWei return strings instead of numbers 2015-02-20 12:40:09 +01:00
Fabian Vogelsteller ed7d473efd Removed enumerable from methods, fixed number property 2015-02-20 10:50:19 +01:00
Fabian Vogelsteller ce141d8ec3 Removed circular dependencies 2015-02-20 09:49:42 +01:00
Fabian Vogelsteller 188e9e5325 Add toWei/fromWei and isAddress 2015-02-20 09:34:26 +01:00
Fabian Vogelsteller 5c994ff817 changed most of the function names
Missing is still:

- eth.watch
- eth.contract (has different behaviour now)
- shh methods

correct return values need to be checked
2015-02-19 18:37:09 +01:00
Marek Kotewicz c4c3b126a3 fallback for go-ethereum && fixed parsing ethereum messages 2015-02-18 18:44:09 +01:00
Marek Kotewicz ec6f9b3d08 added transactionCount && uncleCount methods 2015-02-17 19:55:02 +01:00
cubedro af7c26b163 check request.status in httpsync.js to prevent throwing errors when undefined 2015-02-12 07:03:59 +02:00
Marek Kotewicz 3d652e82c0 fixed web3.reset() 2015-02-06 11:36:27 +01:00
Marek Kotewicz 26561e4767 fixed #51 2015-02-06 10:39:06 +01:00
Marek Kotewicz 03661d3bc2 eth_polling_timeout const 2015-02-06 10:20:41 +01:00
Marek Kotewicz 82d32bb95a providermanager -> requestmanager 2015-02-06 00:02:14 +01:00
Marek Kotewicz a86fccfc1a web3 refactor (in progress) 2015-02-05 23:37:30 +01:00
Marek Kotewicz c29f4a1361 filters refactor 2015-02-05 23:11:16 +01:00
Marek Kotewicz 82cc5f63ae bring back jsonrpc single method calls in polling 2015-02-05 18:20:43 +01:00
Marek Kotewicz f3e1797153 fixed jsonrpc response 0 not handled properly 2015-02-04 11:23:23 +01:00
Marek Kotewicz e58e2f5ee4 jsonrpc.js tests && jsonrpc response validation is more strict 2015-02-03 23:00:02 +01:00
Marek Kotewicz 45134de740 jsonrpc.js file && batch polling 2015-02-03 22:24:17 +01:00
Marek Kotewicz f3ce1f07c4 simplified polling && jsonrpc payload creation 2015-02-03 21:43:39 +01:00
Marek Kotewicz ddc17196da tests && fixes for utils methods 2015-02-03 20:12:56 +01:00
Marek Kotewicz f1a5cf9128 Merge branch 'develop' into cpp
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-02-03 16:20:26 +01:00
Marek Kotewicz a5909d82eb parsing events output 2015-02-03 16:16:38 +01:00
Marek Kotewicz 03faec9d41 event outputParser && tests 2015-02-03 15:08:19 +01:00
Marek Kotewicz 9d9c23e315 common cleanup 2015-02-02 17:40:05 +01:00
Gav Wood 0994efa66f Better HTML template in Mix.
Use happened in JS.
Debugging QML enabled.
2015-02-01 22:51:14 -08:00
Marek Kotewicz d5166918e9 fixed event signatures 2015-01-31 19:07:59 +01:00
Marek Kotewicz 688030ecb6 eth.filter next param optional 2015-01-31 16:01:41 +01:00
Marek Kotewicz 589c4fb30f formatInput && formatOutput simplified 2015-01-31 15:48:49 +01:00
Marek Kotewicz b20e972bec few methods moved to utils 2015-01-31 15:22:05 +01:00
Marek Kotewicz a8a2e3231c constants separated to const.js file 2015-01-31 14:05:48 +01:00
Marek Kotewicz 4bdf52fc1e toAscii && fromAscii moved to utils 2015-01-31 13:54:39 +01:00
Marek Kotewicz 0b82a05a75 events 2015-01-31 04:09:48 +01:00
Marek Kotewicz 80c97ca21b events 2015-01-31 03:42:13 +01:00
Marek Kotewicz 2491c99b37 abi.js cleanup && new types.js, utils.js 2015-01-31 02:54:17 +01:00
Marek Kotewicz 5689086202 formatters separated 2015-01-31 01:52:36 +01:00
Marek Kotewicz 995861de4d event options 2015-01-31 01:30:19 +01:00
Marek Kotewicz 600c9dd27d topics are deprecated 2015-01-29 15:45:04 +01:00
Marek Kotewicz e380462532 topic for backwards compatibility 2015-01-29 15:36:13 +01:00
Marek Kotewicz 8613382869 moved comment 2015-01-29 15:17:32 +01:00
Marek Kotewicz df17c33898 event example 2015-01-29 15:05:43 +01:00
Marek Kotewicz c8ee08c24b contract.js simplified 2015-01-29 13:32:32 +01:00
Marek Kotewicz 842b8cf323 event.js 2015-01-29 12:35:21 +01:00
Marek Kotewicz 61e8ae2f7b events init 2015-01-28 14:55:39 +01:00
Marek Kotewicz 2544d2c952 tests for abi.filters 2015-01-28 14:39:10 +01:00
Marek Kotewicz ea7c2fc673 abi function type 2015-01-28 14:20:36 +01:00
Marek Kotewicz 63d9c070ef fixed incoming messages 2015-01-28 10:50:24 +01:00
Marek Kotewicz 1345a8c67c log error on console, if api returns an error 2015-01-28 00:07:03 +01:00
Marek Kotewicz c2cb2bef96 removed web3.eth.account, fixed #37 2015-01-27 16:02:42 +01:00
Marek Kotewicz 09f633596d fixed #23 2015-01-27 15:20:22 +01:00
Marek Kotewicz 42a25f2f26 evaluating solidity method input params 2015-01-27 14:31:50 +01:00
Marek Kotewicz 6d59047c5f contract method name 2015-01-27 14:14:02 +01:00
Marek Kotewicz ad7c05778f getMethodWithName 2015-01-27 14:05:30 +01:00
Marek Kotewicz 1f5a6f1341 Merge branch 'develop' into cpp
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-01-27 09:36:39 +01:00
Marek Kotewicz da4c2d530d removed promise dependency, updated readme, fixed node.js version of lib 2015-01-27 00:54:21 +01:00
Marek Kotewicz c5610398d5 Merge branch 'master' into sync
Conflicts:
	lib/websocket.js
2015-01-26 16:45:12 +01:00
Marek Kotewicz a7f4448f34 Merge branch 'develop' into sync 2015-01-26 16:43:21 +01:00
Marek Kotewicz 7807a4f738 polling every second 2015-01-26 16:42:43 +01:00
Marek Kotewicz e5d294df32 return null instead of undefined, if not provider is set 2015-01-26 16:41:00 +01:00
Marek Kotewicz d0b6f3663b watches are calling callback with a single result object, not a full jsonrpc response 2015-01-26 16:22:40 +01:00
Gav Wood d223ac0379 Additional work on the JS stuff to make it more similar to Solidity. 2015-01-25 13:43:36 -08:00
Gav Wood 113a3809ab Fix string outputs.
Auto collapse for < 2 returns.
2015-01-24 18:23:39 -08:00
Gav Wood fb34c6c7b9 Auto select call or transact depending on constness. 2015-01-24 18:09:35 -08:00
Gav Wood 7869294a26 Fixes to ethereum.js and standard.js. 2015-01-24 17:42:49 -08:00
Gav Wood 61a0158877 Vanity addresses in AZ.
Fixes to ethereum.js
eth.flush()
2015-01-24 16:46:46 -08:00
wanderer fa93480d9a added addressbook 2015-01-24 19:45:53 -05:00
wanderer 063f69d51d added local 2015-01-24 19:32:26 -05:00
Marek Kotewicz 81bbe8c93b simplified synchronous polling 2015-01-22 17:57:26 +01:00
Marek Kotewicz 3073511e30 not parsing transaction output 2015-01-22 15:32:52 +01:00
Marek Kotewicz e45db42e94 fixed contract.js 2015-01-22 15:18:21 +01:00
Marek Kotewicz 0202b05a5d implicit solidity method call 2015-01-22 14:37:34 +01:00
Marek Kotewicz 22c77c607e qt sync provider 2015-01-22 13:04:28 +01:00
Marek Kotewicz edfb874527 changes in filter.js (not yet working) 2015-01-21 21:54:03 +01:00
Marek Kotewicz c2d9c1a6f1 toDecimal/fromDecimal is using bignumber.js now 2015-01-21 21:35:15 +01:00
Marek Kotewicz 81a5813270 removed unused pieces of code 2015-01-21 21:24:40 +01:00
Marek Kotewicz 08e2696627 removed send queues from providermanager 2015-01-21 21:22:05 +01:00
Marek Kotewicz c9693b4746 contract.html example is working with sync api 2015-01-21 21:12:07 +01:00
Marek Kotewicz ceb4357a8d sync api tests running, removed unused pieces of code 2015-01-21 20:43:20 +01:00
Marek Kotewicz fc986a3fbe removed unused providers 2015-01-21 20:30:32 +01:00
Marek Kotewicz 0d2cccc2ce http sync api 2015-01-21 20:29:02 +01:00
Marek Kotewicz f3e78e50ff changes to for natspec 2015-01-21 18:56:30 +01:00
Marek Kotewicz 848c54dc47 _currentAbi object 2015-01-20 17:46:37 +01:00
Marek Kotewicz 380c1522ac solidity methods "overloading" 2015-01-20 15:06:05 +01:00
Marek Kotewicz 6a58db66f7 parsing real, ureal values on output 2015-01-19 13:22:58 +01:00
Marek Kotewicz af54832d24 encoding real on input 2015-01-19 12:59:29 +01:00
Marek Kotewicz 86b417e83f fixes for autoprovider 2015-01-19 11:36:41 +01:00
Marek Kotewicz 1e2c1ae98a output parser string support 2015-01-17 13:39:19 +01:00
Marek Kotewicz b457e88cd0 support for int array types[] 2015-01-17 02:14:40 +01:00
aaron e97478cc1e WebsocketProvider - fixed incorrect variable name 2015-01-16 16:03:13 -08:00
Marek Kotewicz 2d8383d3c8 removed unused functions 2015-01-16 23:55:32 +01:00
Marek Kotewicz e94da808cb default padding set to 32, separated to one variable 2015-01-16 16:46:14 +01:00
Marek Kotewicz a1c0bb68dd fixed checking first bit for parsing int output 2015-01-16 16:40:26 +01:00
Marek Kotewicz 774e9d24a1 abi.js rounds down floating point input 2015-01-16 16:26:58 +01:00
Marek Kotewicz 0172939490 fixed #28 and other small node.js issues 2015-01-16 15:49:36 +01:00
Marek Kotewicz 2c36d5ff45 big integers on abi.js output, tests 2015-01-16 11:58:26 +01:00
Marek Kotewicz fbcc6d0d25 BigNumber support 2015-01-16 10:47:43 +01:00
Marek Kotewicz ec74fc05d4 gulp 2015-01-15 16:01:58 +01:00
Marek Kotewicz 46b932ccc0 negative integers support 2015-01-15 15:51:25 +01:00
Marek Kotewicz 70bf1a5711 fixed typos 2015-01-15 11:39:02 +01:00
Marek Kotewicz 472ad43211 more comments 2015-01-14 20:36:26 +01:00
Marek Kotewicz 603c790213 next part of abi.js parsers tests and fixes 2015-01-14 20:29:20 +01:00
Marek Kotewicz b0a9bbf33a next part of abi.js docs 2015-01-14 14:19:54 +01:00
Marek Kotewicz 6b2ec23132 formatting bool tests and fixes 2015-01-14 14:06:29 +01:00
Marek Kotewicz ed1cb9edca simplifid abi.js methods 2015-01-14 13:53:40 +01:00
Marek Kotewicz 12bdb5f550 providers documentation 2015-01-14 12:01:11 +01:00
Marek Kotewicz 8d1f96cc0a few comments 2015-01-14 10:50:34 +01:00
Marek Kotewicz 422dc05bb0 ProviderManager separated to providermanager.js file 2015-01-13 18:40:01 +01:00
Marek Kotewicz 9a8f45ee30 Filter separated to filter.js file 2015-01-13 18:28:49 +01:00
Marek Kotewicz 8b7d4b0c9e beginning of comments in web3 2015-01-13 17:05:05 +01:00
Marek Kotewicz 380d9862c3 tests in progress, fixed utf characters conversion in toAscii 2015-01-13 12:49:10 +01:00
Marek Kotewicz 7595a5dfcb removed padding calculation from ethereum.js, padding is always 32 2015-01-13 11:15:44 +01:00
Jeffrey Wilcke 507241f73c shh getMessage => getMessages 2015-01-12 18:34:37 +01:00
Gav Wood 9a9987aeed Merge commit 'a1023a5dffee7c06e8b75a21f5c9b8826e820942' into develop
Conflicts:
	libjsqrc/ethereumjs/dist/ethereum.js.map
2015-01-11 18:18:05 +01:00
Gav Wood 5582901ca5 Various fixes to ethereum.js and client web API stuff. 2015-01-11 18:15:35 +01:00
Gav Wood ded221fba2 Merge commit 'ab745d3b0eb89d67db1ed953020c665be3d072ed' into develop
Conflicts:
	libjsqrc/ethereumjs/.travis.yml
	libjsqrc/ethereumjs/README.md
	libjsqrc/ethereumjs/dist/ethereum.js
	libjsqrc/ethereumjs/dist/ethereum.js.map
	libjsqrc/ethereumjs/lib/abi.js
	libjsqrc/ethereumjs/package.json
2015-01-11 17:54:36 +01:00
Marek Kotewicz 6c26255979 Merge branch 'tests' into develop 2015-01-11 17:12:37 +01:00
Marek Kotewicz 47687cf085 default padding changed to 0 2015-01-09 17:27:56 +01:00
Marek Kotewicz 29c60c000a Merge branch 'develop' into tests 2015-01-09 16:48:44 +01:00
Marek Kotewicz 0933a79ab8 missing fromAscii 2015-01-09 16:38:26 +01:00
Marek Kotewicz 543a87c63f method signature length defined 2015-01-09 13:30:14 +01:00