Commit Graph

42 Commits

Author SHA1 Message Date
Alex Beregszaszi 99d3cb52eb Add strict checks to the constructor (preferable it shouldn't be publicly available, but this is JS) 2016-03-23 14:20:14 +00:00
Alex Beregszaszi 5635068fff Only support Ethereum-style public keys internally, but have a non-strict mode to support importing compressed ones 2016-03-23 14:06:27 +00:00
Alex Beregszaszi 992c987d44 Merge pull request #4 from axic/feature/hdkey
HD wallet support based on cryptocoinjs/hdkey
2016-03-23 13:21:34 +00:00
Alex Beregszaszi 947a82d2cc HDKey changes were merged back in 0.7.0 - use that package directly 2016-03-23 13:17:05 +00:00
Alex Beregszaszi c6da9114f9 Support HD keys using cryptocoinjs/hdkey 2016-03-23 13:17:05 +00:00
Alex Beregszaszi f72c9679c1 Support importing BIP32 xpub/xpriv 2016-03-23 12:41:16 +00:00
Alex Beregszaszi ecbf109a71 Support instantation with public keys 2016-03-23 12:33:54 +00:00
Alex Beregszaszi 155513d8e9 Ensure private keys are valid according to the curve 2016-03-23 12:22:13 +00:00
Alex Beregszaszi 60c9ebaaf7 Use ethutil.bufferToHex 2016-03-22 23:56:01 +00:00
Alex Beregszaszi 603419ad64 0.4.0 2016-03-16 14:09:23 +00:00
Alex Beregszaszi 9a6acebd2c A password is mandatory in both .fromV1() and .fromV3() 2016-03-16 13:59:58 +00:00
Alex Beregszaszi 9e9fd6cd6f Introduce .getV3Filename() to return a suggested filename for V3 keystores 2016-03-16 13:44:52 +00:00
Alex Beregszaszi 395f01a809 Have both a strict and non-strict mode in '.fromV3()' 2016-03-16 13:22:51 +00:00
Alex Beregszaszi 2ea77fc006 Be strict in '.fromV3()' and only use lowercase field names 2016-03-16 13:13:12 +00:00
Alex Beregszaszi b4d6073758 Be strict in '.toV3()' and only use lowercase field names 2016-03-16 13:05:47 +00:00
Alex Beregszaszi f97ad5dbe5 Do not fail on an invalid input for EtherWallet 2016-03-16 13:03:11 +00:00
Alex Beregszaszi 06e1c1dfb4 0.3.0 2016-03-08 23:26:15 +00:00
Alex Beregszaszi d98b52b7a3 Document getChecksumAddressString() 2016-03-08 23:24:11 +00:00
Alex Beregszaszi 4162a28ac6 Move third party wallet import code into its own module.
Reason is KryptoKit requires 'aesjs', which adds extra 70k of code when browserified. This change could be reverted once the code can be replaced with 'crypto'.
2016-03-08 21:56:10 +00:00
Alex Beregszaszi 6e1f951637 Support Quorum Wallet seed 2016-03-08 21:44:42 +00:00
Alex Beregszaszi 80f758413b Support encrypted KryptoKit seed 2016-03-08 21:36:41 +00:00
Alex Beregszaszi eacd3c0692 Support EtherWallet, EtherCamp and KryptoKit wallets 2016-03-08 21:35:16 +00:00
Alex Beregszaszi e95b314950 Add tests for .generate() 2016-03-08 21:00:38 +00:00
Alex Beregszaszi 4cf1f60e7f Introduce .generate() for creating new wallets 2016-03-08 20:57:56 +00:00
Alex Beregszaszi fed7bcde9a Use toChecksumAddress from ethereumjs-util 4.1.0 2016-03-08 20:51:47 +00:00
Alex Beregszaszi 2c08bf5aa4 Add test for .getChecksumAddressString() 2016-03-08 20:13:49 +00:00
Alex Beregszaszi de11ded5df Introduce '.getChecksumAddressString()' 2016-03-08 19:47:55 +00:00
Alex Beregszaszi 3c09bc2527 0.2.1 2016-03-07 22:35:46 +00:00
Alex Beregszaszi c9a1d31c98 Fix typo in tests 2016-03-07 22:35:27 +00:00
Alex Beregszaszi 6dfeb2d818 0.2.0 2016-03-07 22:30:38 +00:00
Alex Beregszaszi 84ebf9d6ff Add tests for PublicKey/PrivateKey/Address 2016-03-07 22:28:34 +00:00
Alex Beregszaszi 25ccfac7b4 Fix getPublicKeyString() and getPrivateKeyString() 2016-03-07 22:28:16 +00:00
Alex Beregszaszi d7e60df91d Use the wrapper package scrypt.js 2016-02-24 02:05:42 +00:00
Alex Beregszaszi 33e3e08293 Add a comprehensive description in the README 2016-02-24 01:52:12 +00:00
Alex Beregszaszi fe88dd0e0e Default to scrypt in toV3() 2016-02-24 01:51:22 +00:00
Alex Beregszaszi 7abe2dad57 Default to r=8 p=1 in scrypt 2016-02-24 01:50:24 +00:00
Alex Beregszaszi 00e2f6a058 Remove test for fromV1() as it contains an invalid password 2016-02-23 21:41:28 +00:00
Alex Beregszaszi f1f93d6c02 Better fromV1() implementation 2016-02-23 21:41:25 +00:00
Alex Beregszaszi 0f0992cb4c Tiny optimisation in importV3 2016-02-23 20:58:13 +00:00
Alex Beregszaszi fd8d3bbbc7 Sanity check in importV3 2016-02-23 20:56:50 +00:00
Alex Beregszaszi 77425013a5 Add simple tests 2016-02-23 19:39:24 +00:00
Alex Beregszaszi 6ca8778985 First version 2016-02-23 19:39:21 +00:00