Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixe web3.eth.accounts encrypt/decrypt lib #1237

Closed
wants to merge 389 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
389 commits
Select commit Hold shift + click to select a range
55e0832
added dechunker back for backwards compatibility
frozeman Mar 3, 2017
7310b88
added backwards compt for ipc provider
frozeman Mar 3, 2017
ecbf1e7
added .(re)subscribe to subscripton
frozeman Mar 3, 2017
228fa2b
inherit promiEvent failed
frozeman Mar 3, 2017
ba43098
added better error reporting for missing receipts
frozeman Mar 6, 2017
bf8f3b0
added better error reporting for subscription errors
frozeman Mar 6, 2017
4e303da
subscribe after getPast events?
frozeman Mar 7, 2017
dedc840
test addresses when transforming toChecksumAddress
frozeman Mar 10, 2017
15e4643
changed isChecksumAddress to checkAddressChecksum
frozeman Mar 10, 2017
605a875
made net a separate package again
frozeman Mar 10, 2017
fbca18e
moved personal to eth.personal
frozeman Mar 10, 2017
9692d4a
moved personal to eth.personal, added packages
frozeman Mar 10, 2017
51b12ab
use number-to-bn for utils.toBN
frozeman Mar 10, 2017
7e02d37
added utils documentation
frozeman Mar 10, 2017
b6c34b5
fixed spelling
frozeman Mar 14, 2017
db6c260
working on soliditySha3
frozeman Mar 15, 2017
9ff5476
added tests for soliditySha3
frozeman Mar 15, 2017
0ac18d1
added solditySha3 for arrays
frozeman Mar 16, 2017
b1ce3f5
added solditySha3 for arrays fix
frozeman Mar 16, 2017
4eb6d38
spread utils into multiple files
frozeman Mar 16, 2017
da15fca
small improvement in soliditySha3
frozeman Mar 16, 2017
5211feb
added checks for validity of types in soliditySha3 and docs
frozeman Mar 16, 2017
683c082
small doc addition
frozeman Mar 16, 2017
4651bf7
small doc addition
frozeman Mar 16, 2017
23713e3
small doc addition
frozeman Mar 16, 2017
1e5bb8a
small doc addition
frozeman Mar 16, 2017
20561b8
small doc addition
frozeman Mar 16, 2017
257efc7
small doc addition
frozeman Mar 16, 2017
abedfb6
small doc addition
frozeman Mar 16, 2017
173b0c2
small doc addition
frozeman Mar 16, 2017
fe47e80
return values are now objects with named return values
frozeman Mar 16, 2017
a6f804b
return values are now objects with named return values
frozeman Mar 17, 2017
cb09fcd
changed decoder return values
frozeman Mar 17, 2017
e199b68
added ABI encoder docs
frozeman Mar 17, 2017
dbdbd3c
small backup change
frozeman Mar 20, 2017
71e6b34
updated lerna
frozeman Mar 22, 2017
5e24628
integrated ethjs-accounts
frozeman Mar 24, 2017
f731cc5
added randomeHex to utils
frozeman Mar 24, 2017
6310f29
working on sign and recover, no docs yet
frozeman Mar 24, 2017
0b260b2
added tests for ABI de/encoding
frozeman Mar 27, 2017
662628b
api docs for accounts update
frozeman Mar 27, 2017
243e5d5
doc fix
frozeman Mar 27, 2017
afcb7bb
changed to generate to new
frozeman Mar 28, 2017
305aab5
changed to generate to new
frozeman Mar 28, 2017
2c11fcd
calls getGasPrice when no gasPrice is given
frozeman Mar 28, 2017
0f08782
added missing parameters in signTransaction
frozeman Mar 28, 2017
634d0e8
allow sync signTransaction if all params are given
frozeman Mar 28, 2017
fa804b1
allow sync signTransaction if all params are given
frozeman Mar 28, 2017
5175fb3
added docs for possible accounts API
frozeman Mar 28, 2017
2df6e7e
added docs for possible accounts API
frozeman Mar 28, 2017
844381d
Fix small typo (#569)
VictorTaelin Mar 28, 2017
ac48449
removed 2 API functions
frozeman Mar 28, 2017
0fcc79a
Merge branch '1.0' of github.com:ethereum/web3.js into 1.0
frozeman Mar 28, 2017
3c7424b
removed 2 API functions
frozeman Mar 28, 2017
cd52d9a
removed 2 API functions
frozeman Mar 28, 2017
ffb6393
removed 2 API functions
frozeman Mar 28, 2017
8f66750
imporved encryption API
frozeman Mar 28, 2017
fb74d60
added web3.extend docs
frozeman Mar 28, 2017
cea6b3b
added core to web3 docs
frozeman Mar 29, 2017
fe2a341
transitioned to to on('data')
frozeman Mar 30, 2017
72a32e5
added doc warning
frozeman May 8, 2017
0658aa9
added doc warning 2
frozeman May 8, 2017
62b7df0
added doc warning 3
frozeman May 8, 2017
b8b650f
added solidity argument amount check
frozeman May 9, 2017
317995f
added personal endpoints
frozeman May 9, 2017
11328eb
merged develop
frozeman May 9, 2017
d9cc15b
changed the announcement
frozeman May 9, 2017
fed34b5
Whisper (#910)
frozeman Jun 27, 2017
70781af
Provider init (#911)
frozeman Jun 28, 2017
33bd666
Whisper Docs (#912)
frozeman Jun 29, 2017
5a4088b
removed the -not final yet-
frozeman Jun 30, 2017
81dbc93
Adds swarm.js (#916)
frozeman Jul 5, 2017
8de8f96
Remove incorrect address formatter from transaction argument (#919)
meyer9 Jul 13, 2017
0df2bb4
Accounts (#869)
frozeman Jul 13, 2017
b4f5661
fixed wallet encryption/decryption
frozeman Jul 13, 2017
1af4d79
fixed build
frozeman Jul 13, 2017
15855fb
merged develop
frozeman Jul 17, 2017
d3e4215
added dist to npmignore
frozeman Jul 17, 2017
5933622
clean up unreferences packages
frozeman Jul 17, 2017
b3d27ca
added babel processing to unminified version
frozeman Jul 17, 2017
c459ef2
fix versions
frozeman Jul 17, 2017
8810674
fix versions
frozeman Jul 17, 2017
2b5dc13
made node websocket browserify compat
frozeman Jul 17, 2017
443b4f1
fixed swarm errors
frozeman Jul 17, 2017
5966341
fixed accounts.create and add ethlib hash function
frozeman Jul 17, 2017
756a2e5
added compat. for sendTransaction on HTTP, needs testing
frozeman Jul 17, 2017
77783cc
decreased defaul difficulty
frozeman Jul 17, 2017
0978892
improved swarm doc
frozeman Jul 18, 2017
442c6e9
rename fake provider
frozeman Jul 18, 2017
e8b167d
added http provider sendTransaction test
frozeman Jul 18, 2017
3413b40
added http provider contract send test
frozeman Jul 18, 2017
0ce9318
updated package.js
frozeman Jul 18, 2017
1d992bf
remove old code from gulpfile
frozeman Jul 18, 2017
baaf05f
improved package.json
frozeman Jul 19, 2017
171817c
bumped version
frozeman Jul 20, 2017
3982d54
improved readme
frozeman Jul 20, 2017
627af50
Update README.md
frozeman Jul 20, 2017
b54c583
Update README.md
frozeman Jul 20, 2017
62e6054
improved readme
frozeman Jul 20, 2017
3b862e3
improved readme
frozeman Jul 20, 2017
50d5678
Merge branch '1.0' of github.com:ethereum/web3.js into 1.0
frozeman Jul 20, 2017
c2931d2
improved readme
frozeman Jul 20, 2017
8a72c61
bumped version
frozeman Jul 20, 2017
bb72c2a
bumped version
frozeman Jul 20, 2017
3435ef0
bumped version
frozeman Jul 21, 2017
e1eb30f
added docs build
frozeman Jul 21, 2017
bc527a6
small doc change
frozeman Jul 21, 2017
43960d7
small doc change
frozeman Jul 21, 2017
7b5cf66
small doc change
frozeman Jul 21, 2017
7ecf77b
use local lerna
frozeman Jul 22, 2017
786c52c
added WS async
frozeman Jul 22, 2017
0d73ed4
changed versions
frozeman Jul 22, 2017
c154988
fixed sendTx with signing
frozeman Jul 22, 2017
3194bef
use local lerna
frozeman Jul 24, 2017
6d6487c
remove lerna
frozeman Jul 24, 2017
514697f
v1.0.0-beta.8
frozeman Jul 24, 2017
bbb72ff
bumped version
frozeman Jul 24, 2017
2da6bd9
vundefined
frozeman Jul 24, 2017
2537b1b
renamed package and published to npm
frozeman Jul 24, 2017
c502ad4
added readmes to sub packages
frozeman Jul 24, 2017
4b03d24
v1.0.0-beta.9
frozeman Jul 24, 2017
ed1ac86
vundefined
frozeman Jul 24, 2017
3619908
v1.0.0-beta.10
frozeman Jul 24, 2017
8800d50
bumped version
frozeman Jul 24, 2017
7051ffe
added event siganture to the decoded event
frozeman Jul 24, 2017
cb2a9f7
v1.0.0-beta.11
frozeman Jul 24, 2017
19ff9cf
build file
frozeman Jul 24, 2017
c71acf8
added testnetworks
frozeman Jul 25, 2017
3a994dc
improved Accounts package to need only provider
frozeman Jul 25, 2017
0620c08
working on Contract package refactor
frozeman Jul 25, 2017
bbeb338
fixes #948
frozeman Jul 26, 2017
8efb54d
working on changing the provider of the contract object
frozeman Jul 26, 2017
7d79bd8
added test for gasPrice missing
frozeman Jul 26, 2017
455c981
working on fixing personal_sendTransaction tests
frozeman Jul 26, 2017
b8efa15
circumvent personal_sendTransaction promiEvent for now
frozeman Jul 26, 2017
d609fbf
build files
frozeman Jul 26, 2017
28cfc4d
v1.0.0-beta.12
frozeman Jul 26, 2017
8b6823e
bumped version
frozeman Jul 26, 2017
ab50e27
Do not import node libs on browser. Fixes #923
VictorTaelin Jul 26, 2017
fd2a947
Increment Swarm version. Fixes #923
VictorTaelin Jul 27, 2017
6af6397
Merge branch '1.0' of github.com:ethereum/web3.js into 1.0
frozeman Jul 27, 2017
a8c7345
added got to bzz package
frozeman Jul 27, 2017
276e886
fixed newHead subscription
frozeman Jul 27, 2017
1d29ac7
fixed pub/sub
frozeman Jul 27, 2017
70c8843
fix TransactionConfirmation for InstantSeal (#936)
simon-jentzsch Jul 27, 2017
50ed64f
revert subscriptions changes
frozeman Jul 27, 2017
b1fffd5
merged upstream
frozeman Jul 27, 2017
c416ccc
fixed linting errors
frozeman Jul 27, 2017
c8a7aa7
v1.0.0-beta.13
frozeman Jul 27, 2017
3985fe8
bumped version
frozeman Jul 27, 2017
8d3d5f8
fixes #965 ?
frozeman Aug 1, 2017
45f4226
v1.0.0-beta.14
frozeman Aug 2, 2017
2d63f61
bumped version
frozeman Aug 2, 2017
aa31def
fixed provider propagation fixes #958 #966
frozeman Aug 3, 2017
b5840fb
v1.0.0-beta.15
frozeman Aug 3, 2017
7776717
bumped version
frozeman Aug 3, 2017
e33d22f
v1.0.0-beta.16
frozeman Aug 7, 2017
2a01f05
bumped version
frozeman Aug 7, 2017
d1e5c78
fixed error message
frozeman Aug 7, 2017
6251bff
fixes #972
frozeman Aug 8, 2017
f2fa60b
upgraded eth-lib should fix #962
frozeman Aug 8, 2017
d250fb2
merged develop
frozeman Aug 8, 2017
ca1bd7d
v1.0.0-beta.17
frozeman Aug 8, 2017
cfdce88
bumped version
frozeman Aug 8, 2017
c9ef8f1
add coverage to ignore file
frozeman Aug 8, 2017
27b7fca
readme changes
frozeman Aug 8, 2017
574a393
readme fixes
frozeman Aug 8, 2017
4ec489d
expose utils and version on the Web3 object
frozeman Aug 9, 2017
58aeb89
fixes #432
frozeman Aug 9, 2017
5f9b7c2
check address of defaultAccount
frozeman Aug 9, 2017
e425bb6
bumped version
frozeman Aug 9, 2017
22624cf
added better error reporting to decodeParameter
frozeman Aug 10, 2017
5499754
merged develop
frozeman Aug 10, 2017
ff57e65
merged develop
frozeman Aug 10, 2017
086f2df
rebuild docs
frozeman Aug 10, 2017
eff0a02
Update web3.rst doc (#979)
Aug 16, 2017
b1c3361
added error reporting to value decoding for bytes and uint
frozeman Sep 11, 2017
76f2a1e
give error on 0x for bool
frozeman Sep 11, 2017
1c36178
Update web3-eth.rst (#1039)
Dan-Nolan Sep 15, 2017
19f4a91
fix an indent in package.json (#1037)
watilde Sep 15, 2017
ad0bf0d
Fix typo (#1030)
onbjerg Sep 15, 2017
adf7c27
Fixed web3.eth.subscribe code sample error (#1027)
achiko Sep 15, 2017
1be2621
autodetect https provider (#993)
ewingrj Sep 15, 2017
81906a5
Fix external links in the docs (#999)
microraptor Sep 15, 2017
16ed00e
Fix typo in README (#1002)
noman-land Sep 15, 2017
9d58610
Fix typo in web3-eth-iban.rst (#1005)
nicksavers Sep 15, 2017
472454b
Fix eth-lib transpile problem (#1006)
jdkanani Sep 15, 2017
ce56ae0
Sanitize `tx.to` for invalid address (#982)
jdkanani Sep 15, 2017
790f532
Updated glossary.rst - JSON spec (#1009)
cmditch Sep 15, 2017
8acc3d3
Fix a typo in the docs (#1010)
LogvinovLeon Sep 15, 2017
18dffea
Fix unreliable array test in Contract package (#1013)
microraptor Sep 15, 2017
cf013f5
fix asynchronous send request method backend bug. fixes #1014 (#1018)
Sep 15, 2017
b9a705d
Support for https and wss providers (#1031)
decent-dev Sep 15, 2017
bd79eb6
Various grammar changes for web3-eth-contract.rst (#1024)
W3stside Sep 15, 2017
6df16b7
build files
frozeman Sep 15, 2017
5a113d6
published
frozeman Sep 15, 2017
22ba411
Make web3 as package in lerna packages (#1045)
jdkanani Sep 18, 2017
f5bc2ba
add ethereum namespace to packages
frozeman Sep 18, 2017
57b4c0b
changed travis
frozeman Sep 19, 2017
bacd46e
allow empty address arguments when encoding abi params (#1047)
ewingrj Sep 19, 2017
d816f70
added blockHash check for getReceipt
frozeman Sep 19, 2017
aaccb6d
return error, if the outputFormatter throws or returns error
frozeman Sep 19, 2017
f3fc88a
asster.equals -> assert.equal
frozeman Sep 19, 2017
13cefd3
return promise for confirmation check
frozeman Sep 19, 2017
b7a9a3f
make sure insta mine code doesnt run endless
frozeman Sep 19, 2017
ae57e03
throw error on invalid input bytes
frozeman Sep 19, 2017
48c6386
added typedefintions for web3 (#897)
simon-jentzsch Sep 20, 2017
499b1cb
fixes #1044 and adds tests
frozeman Sep 20, 2017
44f1dd3
bump version
frozeman Sep 20, 2017
7dab053
bump version meteor
frozeman Sep 20, 2017
034aa3a
docs typo fix (#1067)
carver Sep 25, 2017
6a6f8b8
better receipt error text
frozeman Sep 25, 2017
d6c656a
Merge branch '1.0' of github.com:ethereum/web3.js into 1.0
frozeman Sep 25, 2017
244101f
rename crypto in accounts.
frozeman Sep 25, 2017
01516fc
#fixes 1069
frozeman Sep 25, 2017
972f567
readd dist
frozeman Sep 25, 2017
b9d0966
bump version
frozeman Sep 25, 2017
e633406
added utils.toTwosComplement
frozeman Sep 26, 2017
50deb76
if multiple events, return array (#1048)
ewingrj Oct 4, 2017
275ece9
Decouple wallet.length from other wallet functions (add, encrypt, cle…
cmditch Oct 4, 2017
74d612a
Ensure websocket connection is open before sending (#1078)
moeadham Oct 10, 2017
2db8312
Update web3-utils.rst - fixed typos (#1101)
macbem Oct 10, 2017
ace008b
prepare release
frozeman Oct 10, 2017
0fe48b3
update eth-lib and added api changes
frozeman Oct 13, 2017
2132923
updated dist/web3.min.js
frozeman Oct 13, 2017
e47b8b5
updated eth-lib to 0.2.5
frozeman Oct 17, 2017
a6e0d97
add warning to the accounts docs
frozeman Oct 18, 2017
66e56b3
chore(types): move typings to main npm package (#1104)
phra Oct 19, 2017
baf384e
Account signing fix (#1111)
frozeman Oct 19, 2017
ad260d6
removed legacy test
frozeman Oct 19, 2017
f8a37e7
merged upstream
frozeman Oct 19, 2017
710c635
bumped version
frozeman Oct 19, 2017
037b116
add error when passing number to toWei, convert to string
frozeman Oct 20, 2017
78bdf99
Wiki fix syntax errors in code examples (#1133)
littleskunk Oct 23, 2017
006b394
Fixes to TypeScript definitions (#1131)
naddison36 Oct 24, 2017
f640061
Fix for Bug #1123 (#1135)
dacarley Oct 24, 2017
10a80ff
added erroring functions for swarm when no provider is set
frozeman Oct 24, 2017
edd801b
Merge branch '1.0' of github.com:ethereum/web3.js into 1.0
frozeman Oct 24, 2017
b274059
include 0x prefix to signedtransaction (#1167)
eyezick Nov 13, 2017
51cbd9f
correct personal.newAccount Promise resolve value (#1157)
eyezick Nov 13, 2017
59f4f4e
Added typescript definitions for web3-net. (#1159)
matrushka Nov 13, 2017
c8a38fa
Show how to use ecRecover (#1161)
Nov 13, 2017
15ffd55
Fix #1089 (#1162)
jdkanani Nov 13, 2017
06d6005
Update web3-shh.rst (#1136)
Boehrner Nov 13, 2017
fdb40ab
Fixes in types definition (#1139)
icaroharry Nov 13, 2017
9d04d24
Step 1 of moving to ES6 (#1149)
dacarley Nov 13, 2017
4eeda3c
changed readme image url
frozeman Nov 13, 2017
44fee04
testing error logging
frozeman Nov 14, 2017
6a133ab
Feature/es6 first tests (#1152)
dacarley Nov 27, 2017
b882ea2
Converted the rest of the tests to es6 (#1203)
dacarley Dec 1, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"presets": [
"env"
],
"plugins": [
"lodash",
"transform-class-properties",
[
"transform-runtime",
{
"polyfill": false
}
]
]
}
5 changes: 0 additions & 5 deletions .bowerrc

This file was deleted.

1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package.js
87 changes: 87 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"root": true,
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"extends": "airbnb-base",
"plugins": [],
"rules": {
"curly": [
"error",
"all"
],
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": false
}
],
"quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"no-plusplus": "off",
"no-underscore-dangle": "off",
"newline-before-return": "error",
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "all",
"argsIgnorePattern": "^_"
}
],
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxEOF": 0
}
],
"no-use-before-define": [
"error",
{
"functions": false,
"classes": true
}
],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"import/extensions": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"gulpfile.babel.js",
"test/**/*.js",
"gulp/**/*.js"
]
}
],
"comma-dangle": [
"error",
"never"
]
},
"globals": {}
}
26 changes: 10 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global

.DS_Store
*.swp
/coverage
/tmp
*/**/*un~
*un~
.DS_Store
*/**/.DS_Store
ethereum/ethereum
ethereal/ethereal
example/js
node_modules
bower_components
npm-debug.log
/bower
.npm/
packages/
/coverage
/tmp
node_modules
.idea/
.npm/
/packages/**/lib/*
/.nyc_output
package-lock.json

4 changes: 2 additions & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"eqeqeq": true,
"freeze": true,
"funcscope": false,
"maxcomplexity": 5, /* our target is 3! */
"maxdepth": 3,
"maxcomplexity": 10,
"maxdepth": 4,
"maxerr": 50,
/*"maxlen": 80*/ /*this should be our goal*/
/*"maxparams": 3,*/
Expand Down
9 changes: 5 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
example/js
node_modules
*.idea
test
dist
docs
coverage
.gitignore
.editorconfig
.travis.yml
.npmignore
component.json
testling.html
.DS_Store
34 changes: 22 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
language: node_js
node_js:
- "4.1"
- "4.0"
- "5"
- "6"
- "7"
- "8"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
matrix:
- CXX=g++-4.8 TEST_SUITE=test
before_script:
- npm install
- npm install jshint
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install
script:
- "jshint *.js lib"
after_script:
- npm run-script build
- npm run-script test-coveralls
- cd test/node && npm install && node app.js

- npm run build
- npm run test
- npm run coverage
5 changes: 2 additions & 3 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
ethereum:web3@0.20.1
meteor@1.7.0
underscore@1.0.10
ethereum:web3@1.0.0-beta.24
meteor@1.7.2
Loading