Commit Graph

20 Commits

Author SHA1 Message Date
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 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 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 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 2c08bf5aa4 Add test for .getChecksumAddressString() 2016-03-08 20:13:49 +00:00
Alex Beregszaszi c9a1d31c98 Fix typo in tests 2016-03-07 22:35:27 +00:00
Alex Beregszaszi 84ebf9d6ff Add tests for PublicKey/PrivateKey/Address 2016-03-07 22:28:34 +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 77425013a5 Add simple tests 2016-02-23 19:39:24 +00:00