Commit Graph

32 Commits

Author SHA1 Message Date
holgerd77 5ac5e9b20f Add safe-buffer dependency, replace deprecated Buffer usages with Buffer.from() (also fixes linting) 2018-02-03 22:45:51 +00:00
Alex Beregszaszi f5de70eb31 Accept the true range of addresses for ICAP direct (slower at the same time) 2018-02-03 22:29:08 +00:00
Alex Beregszaszi 21e7127c15 Merge pull request #5 from ethereumjs/feature/vanitygen
Include vanity address generation
2016-06-09 20:29:36 +01:00
Alex Beregszaszi fc34f08181 Use importPublic and isValidPublic from ethereumjs-util 4.4.0 2016-04-26 15:14:37 +01:00
Alex Beregszaszi e55656b01e Include vanity address generation 2016-03-26 18:33:05 +00:00
Alex Beregszaszi fc5452ceb9 Clarify PKCS7 2016-03-23 16:23:48 +00:00
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 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 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 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 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 de11ded5df Introduce '.getChecksumAddressString()' 2016-03-08 19:47:55 +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 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 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 6ca8778985 First version 2016-02-23 19:39:21 +00:00