Commit Graph

234 Commits

Author SHA1 Message Date
Alexander Sinyagin 6ea0d670b6 Set requests content type to application/json 2015-06-08 20:30:14 +05:00
Fabian Vogelsteller a90a85aa5c mereg develop 2015-06-08 17:07:23 +02:00
Fabian Vogelsteller 08d2212953 small fix on outputFormatters, dont transform null to 0 2015-06-08 16:53:28 +02:00
Fabian Vogelsteller 1495a0c67c add comlexity push for poll, does only show on travis 2015-06-08 15:18:48 +02:00
Fabian Vogelsteller 7518ed47f8 changed extend to _extend 2015-06-08 14:46:19 +02:00
Fabian Vogelsteller 1aefebd78f merged develop 2015-06-08 14:41:49 +02:00
Fabian Vogelsteller 16252f3de5 imporved async callback adding, without setinterval 2015-06-08 10:46:30 +02:00
Fabian Vogelsteller f242489f81 add optional default block parameter to contract call fixes #159 2015-06-05 11:34:50 +02:00
Fabian Vogelsteller d9ce08e49e improved filter interval 2015-06-05 11:04:06 +02:00
Fabian Vogelsteller ddafe0027a asyncified filters 2015-06-05 10:47:17 +02:00
Fabian Vogelsteller cc533d9e83 fixed bytes wrong encoding 2015-06-04 23:13:33 +02:00
Fabian Vogelsteller d14c706901 build and improved extend function 2015-06-04 12:43:58 +02:00
Fabian Vogelsteller 733e19e474 add extend method and tests 2015-06-04 12:25:46 +02:00
Marek Kotewicz 8c6f9769e0 Merge branch 'develop' into strings
Conflicts:
	dist/web3-light.js
	dist/web3-light.min.js
	dist/web3.js
	dist/web3.min.js
2015-06-03 17:19:24 +02:00
Marek Kotewicz 9fa9b16197 gulp 2015-06-03 17:18:32 +02:00
Fabian Vogelsteller 189484f057 add extra int tests 2015-06-02 10:18:20 +02:00
Marek Kotewicz fa3239f457 abi string type, fixes #216, #218, #219 2015-06-01 19:50:45 +02:00
Fabian Vogelsteller 7753724270 build files 2015-06-01 09:45:03 +02:00
Marek Kotewicz c9ebd7e238 version 0.5.0 2015-05-30 07:58:36 +02:00
Marek Kotewicz b19e46c0d3 updated "deposit" method description, updated icap example contract abi 2015-05-26 21:00:21 +02:00
Marek Kotewicz fbb9a41bec Merge branch 'develop' into icap
Conflicts:
	dist/web3-light.js
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js
	dist/web3.js.map
	dist/web3.min.js
2015-05-26 20:48:04 +02:00
Marek Kotewicz 3bb6e4f723 sha3 backward compatibility. #205 2015-05-26 20:47:04 +02:00
Marek Kotewicz d0be181345 fixed const functions calls handling errors 2015-05-24 14:34:00 +02:00
Marek Kotewicz 858d0c62a4 lint 2015-05-23 16:03:01 +02:00
Marek Kotewicz 95aabe3305 sendIBANTransaction && tests 2015-05-23 15:59:19 +02:00
Marek Kotewicz dfd5060a6a use "official" namereg, updated examples 2015-05-21 15:49:10 +02:00
Marek Kotewicz d8ad2b7a98 Merge branch 'develop' into icap
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-05-21 12:04:05 +02:00
Marek Kotewicz e6209c640c Merge branch 'master' into develop
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-05-21 11:40:40 +02:00
Marek Kotewicz 71ae809e5f version 0.4.3 2015-05-21 11:40:19 +02:00
Marek Kotewicz 92e2a2f6a5 Merge branch 'master' into develop
Conflicts:
	dist/web3-light.min.js
	dist/web3.min.js
2015-05-21 11:38:39 +02:00
Marek Kotewicz d03bec658e decoding of empty array, fixed #210, fixed #211 2015-05-21 11:38:19 +02:00
Marek Kotewicz 9abf38a349 fixed encoding of empty arrays 2015-05-21 11:28:15 +02:00
Fabian Vogelsteller be2e93f676 build 2015-05-21 10:04:37 +02:00
Fabian Vogelsteller 0594e7f53d add estimateGas to contract methods and fixed sendTransaction return value 2015-05-20 11:58:09 +02:00
Marek Kotewicz e9483a6404 icap.html example 2015-05-19 15:17:02 +02:00
Marek Kotewicz cd773fc92a updated docs 2015-05-18 15:22:58 +02:00
Marek Kotewicz 4af00857de web3.eth.namereg contract, icap in progress 2015-05-18 11:22:24 +02:00
Marek Kotewicz d3205523e9 crypto-js integrated into project 2015-05-16 17:03:27 +02:00
Marek Kotewicz 16861fc194 version 0.4.2 2015-05-14 12:54:28 +02:00
Marek Kotewicz e4f7dde868 fixed failing lint 2015-05-14 12:53:47 +02:00
Fabian Vogelsteller ff48da19c3 fixed callback error issue 2015-05-13 18:07:08 +02:00
Marek Kotewicz dc69085b72 version 0.4.1 2015-05-13 12:23:45 +02:00
Marek Kotewicz 2ae0afa90d critical bugfix 2015-05-13 12:23:07 +02:00
Fabian Vogelsteller 22ef4a1958 added estimateGas method 2015-05-12 15:33:27 +02:00
Marek Kotewicz cd2e4622c6 version 0.4.0 2015-05-12 11:08:03 +02:00
Fabian Vogelsteller d1e1206e5a removed byte formatter methods 2015-05-12 11:02:46 +02:00
Fabian Vogelsteller 6fd17d99be merged develop 2015-05-12 10:53:58 +02:00
Marek Kotewicz b2ff2ffe37 Merge branch 'contract_overhaul' into batch
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-05-12 10:52:16 +02:00
Marek Kotewicz 99a3bdab59 removed redundant lines 2015-05-12 10:41:36 +02:00
Marek Kotewicz 7cafac9521 Merge branch 'develop' into contract_overhaul
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-05-12 10:39:42 +02:00
Marek Kotewicz 5f9272c280 asyncGet -> getAsync 2015-05-12 09:57:18 +02:00
Marek Kotewicz cd0df61068 gulp 2015-05-12 08:28:27 +02:00
Marek Kotewicz 80c0792e79 async getting properties, remove property setters 2015-05-12 08:26:27 +02:00
Marek Kotewicz 744bb9ee0d batch for requests with calls/transacts 2015-05-12 07:50:58 +02:00
Marek Kotewicz 863607750f initial support for batch requests 2015-05-12 07:01:33 +02:00
Marek Kotewicz a0b9cfb1e7 contract async call && transact 2015-05-11 18:59:46 +02:00
Marek Kotewicz 1272780686 sendTransaction && call async 2015-05-11 18:48:26 +02:00
Marek Kotewicz 611f640101 asynchronous contract creation, breaking changes 2015-05-11 18:02:15 +02:00
Fabian Vogelsteller edf808ad7c add getWork and submitWork functions and toXBytes utils 2015-05-11 16:22:39 +02:00
Marek Kotewicz 9812b01979 Merge branch 'blockFilterProposal' of https://github.com/ethereum/ethereum.js into develop
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-05-11 15:28:22 +02:00
Fabian Vogelsteller 6f466f64bb add miner functions 2015-05-11 12:45:04 +02:00
Marek Kotewicz e90843973f version 0.3.6 2015-05-10 15:44:41 +02:00
Marek Kotewicz 091c8e5428 Merge branch 'develop' into tcoulter
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-05-10 15:41:58 +02:00
Marek Kotewicz 272837e0dd cleaned up param.js 2015-05-10 15:25:35 +02:00
Marek Kotewicz 38a13bc188 removed unused functions from coder.js 2015-05-10 15:23:26 +02:00
Marek Kotewicz c6a57b359c cleanup and documentation 2015-05-09 20:38:06 +02:00
Marek Kotewicz 6e60e1ffcd new solidity abi decoding 2015-05-09 20:15:08 +02:00
Marek Kotewicz 3f0d1c8b41 new abi proposal implementation of encoding 2015-05-09 19:05:34 +02:00
Marek Kotewicz 860ad2c48b fixed #194 2015-05-08 09:55:14 +02:00
Fabian Vogelsteller 3af8e27255 add newblockfilter Proposal 2015-05-07 12:45:36 +02:00
Marek Kotewicz 4690130b20 version 0.3.5 2015-05-05 15:41:23 +02:00
Marek Kotewicz 8a9c9c56d1 Merge branch 'develop' into encoding
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-05-05 11:38:58 +02:00
Tim Coulter b064eaba20 Handle this error properly. For instance, without this, if we cannot connect to the RPC client, JSON won't be able to parse the result (there is none), in which case would cause a RuntimeException. 2015-04-30 14:17:34 -07:00
Marek Kotewicz 798960743b version 0.3.4 2015-04-29 14:10:46 +02:00
Fabian Vogelsteller 97f6e7de0b build files again 2015-04-29 12:13:16 +02:00
Marek Kotewicz baed4c879d fixed old encoding 2015-04-28 17:41:41 +02:00
Fabian Vogelsteller e9ec70881e fixed event from and toBlock 2015-04-28 17:01:37 +02:00
Marek Kotewicz 3b799d1284 fixed typos 2015-04-26 10:51:32 +02:00
Marek Kotewicz c5f6379aaa version 0.3.3 2015-04-26 10:31:48 +02:00
Marek Kotewicz d795d36ef7 fixed trimming call output prefix 2015-04-26 10:27:21 +02:00
Marek Kotewicz a2f561f263 fixed calling contract only with array param 2015-04-26 10:09:13 +02:00
Marek Kotewicz c74c854b56 version 0.3.2 2015-04-24 10:41:07 +02:00
Marek Kotewicz 9fa9cc77f4 fixed fixed size bytes encoding and decoding 2015-04-24 10:34:59 +02:00
Fabian Vogelsteller 4dc6e23d06 realease version 0.3.1 2015-04-23 10:06:06 +02:00
Fabian Vogelsteller 08dc2b2e0d add missing inputBlockNumberFormatter 2015-04-23 09:55:11 +02:00
Fabian Vogelsteller dfbad66d99 add pending and latest to getBlockTransactionCount and getUncle 2015-04-23 09:33:31 +02:00
Marek Kotewicz 3897bc246f version 0.3.0 2015-04-22 16:45:02 +02:00
Marek Kotewicz d2068eb095 improved solidity event decoding 2015-04-22 16:44:09 +02:00
Fabian Vogelsteller 40c5c9e00a merged develop 2015-04-22 15:54:46 +02:00
Fabian Vogelsteller c9cd31b4ab add test for the new toTopic filter 2015-04-22 15:47:29 +02:00
Marek Kotewicz 3d3db61e2e tests for decoding event logs 2015-04-22 11:28:46 +02:00
Marek Kotewicz 9f7d6a9925 anonymous events implementation && tests 2015-04-22 10:35:48 +02:00
Marek Kotewicz b5eabd875f proper formatting event options 2015-04-22 10:12:39 +02:00
Marek Kotewicz 93b323f176 removed unused function findIndex from utils 2015-04-22 09:51:27 +02:00
Marek Kotewicz 9158ac760d removed unused function 2015-04-22 09:49:37 +02:00
Marek Kotewicz 5f2eb3308f fixed filters encoding null 2015-04-22 09:39:28 +02:00
Marek Kotewicz 4482d5bf00 Merge branch 'develop' into events_refactor
Conflicts:
	dist/web3-light.js
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js
	dist/web3.js.map
	dist/web3.min.js
	lib/web3/filter.js
2015-04-22 09:28:56 +02:00
Marek Kotewicz f767a9a68a removed unused formatOutputHash, renamed formatXXXString to formatXXXBytes 2015-04-22 09:01:14 +02:00
Fabian Vogelsteller c8f42262cc add possible 2d topic arrays fixes #175 2015-04-21 20:46:14 +02:00
Marek Kotewicz e9107367fd eth_filter complex topics, #175 2015-04-21 20:34:33 +02:00
Marek Kotewicz d411492649 call && sendTransaction 2015-04-21 20:06:44 +02:00
Marek Kotewicz f84a68cb73 changed the way functions are being called 2015-04-21 19:41:57 +02:00
Marek Kotewicz c8e576893e fixed log fields 2015-04-21 18:46:42 +02:00
Marek Kotewicz d38f5a215a Merge branch 'develop' into events_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-21 17:17:22 +02:00
Fabian Vogelsteller a5c1bcc6e4 changed default providor port to 8545 closes #160 2015-04-21 17:01:00 +02:00
Fabian Vogelsteller 9e8cb8d17f removed non existing eth.flush method 2015-04-21 16:02:10 +02:00
Marek Kotewicz eeb0bc014b Merge branch 'develop' into events_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-20 23:13:47 +02:00
Marek Kotewicz 501e3bc56e utils cleanup 2015-04-20 23:01:21 +02:00
Marek Kotewicz a88be00cef docs 2015-04-20 22:48:01 +02:00
Marek Kotewicz 9d8a51d439 event.js refactored 2015-04-20 22:06:49 +02:00
Marek Kotewicz 99a3696e51 events refactor, function.js 2015-04-20 18:16:15 +02:00
Fabian Vogelsteller 04cdb6ca02 format also tx nonce to number 2015-04-20 16:31:40 +02:00
Fabian Vogelsteller 385cc2c73b removed minGasPrice from blocks 2015-04-20 16:08:12 +02:00
Marek Kotewicz e80ff10f52 Merge branch 'master' into abi_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-20 15:12:54 +02:00
Marek Kotewicz 38641dfa9c fixed #154 2015-04-20 14:38:08 +02:00
Marek Kotewicz 1c8cd7d6b0 web3.eth.defaultAccount property, updated event_inc example, fixed #96 2015-04-20 14:16:29 +02:00
Marek Kotewicz a46b9ea016 Merge branch 'develop' into abi_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-20 11:51:10 +02:00
Marek Kotewicz 779a608076 documentation 2015-04-20 11:20:05 +02:00
Marek Kotewicz 941535fe47 SolidityParam moved to its own file && documented 2015-04-20 10:36:11 +02:00
Marek Kotewicz 18cef7c3f5 removed *collapse in contrat, gulp 2015-04-20 10:08:41 +02:00
Fabian Vogelsteller 677bb68633 add bundle version 2015-04-17 10:26:11 +02:00
Fabian Vogelsteller 271b00f069 bumped version 2015-04-16 12:58:01 +02:00
Marek Kotewicz 20fb2e3c70 Merge branch 'develop' of https://github.com/ethereum/ethereum.js into develop
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-16 12:43:06 +02:00
Marek Kotewicz 96b44682f1 fixed #161, web3.ssh.post 2015-04-16 12:22:20 +02:00
Marek Kotewicz a320ef8bd9 fixed coverage, unified creating errors 2015-04-16 11:11:33 +02:00
Fabian Vogelsteller 364eab72b1 add callback for async error 2015-04-15 11:48:05 +02:00
Marek Kotewicz c62f817cc6 picked watch change3 2015-04-13 12:56:14 +02:00
Fabian Vogelsteller 56d13f72fb picked watch change2 2015-04-13 12:55:43 +02:00
Fabian Vogelsteller 2215e7c3af picked watch change 2015-04-13 12:53:26 +02:00
Marek Kotewicz 1a8032c72c version 0.2.7 2015-04-11 11:41:24 +02:00
Marek Kotewicz 0ccc05a33d web3 in global namespace 2015-04-10 00:16:20 +02:00
Marek Kotewicz ccc59d12f8 version 0.2.6 2015-04-10 00:09:11 +02:00
Marek Kotewicz 9c2c94668f Merge branch 'web3' into develop
Conflicts:
	dist/web3-light.js
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-10 00:08:07 +02:00
Marek Kotewicz 73b9ed29c0 rename to web3 2015-04-07 04:39:47 +02:00