xnova
933474a973
added ability to specify child key derivation method to the Wallet constructor
11 years ago
xnova
49c2fc06b5
allow Wallet to work with testnet
11 years ago
Wei Lu
102e2b3d48
Wallet.generateAddress uses the new HD wallet method
11 years ago
Michael Gooden
b8215dea60
Add testnet support to Address and ECKey, more tests.
Signed-off-by: Michael Gooden <me@michaelgooden.net>
11 years ago
Michael Gooden
b3e3f806cb
Fix parsing of base58 compressed private keys. Add base64 parse support.
Signed-off-by: Michael Gooden <me@michaelgooden.net>
11 years ago
Vitalik Buterin
c8732e5d38
Fixed ECKey constructor
11 years ago
Andreas Brekken
a68b0910af
Fix wrong bitcoin address from priv key.
11 years ago
Andreas Brekken
4edbaee96a
Fix wallet.js so it does not crash with HDWallet.
11 years ago
Andreas Brekken
e3cf19343d
Replace BIP32key with HDWallet in index.js
11 years ago
Andreas Brekken
966d2ee90d
Remove obsolete bip32.js
11 years ago
Andreas Brekken
5f9e2624f8
Rewrite HD Wallet (BIP0032) with all test vectors
11 years ago
Andreas Brekken
8ccb8ad70a
Add toBase58, toWif to ECPubKey
11 years ago
Andreas Brekken
ecbb6f81ee
Allow specifying whether to compress key in ECKey.toBytes
11 years ago
Andreas Brekken
1cb41fdaba
Add BIP32_PRIME constant, 0x80000000
11 years ago
Andreas Brekken
56bb0a0c6d
Improve naming of ECKey/ECPubKey formatters. close vbuterin/bitcoinjs-lib#13
11 years ago
Andreas Brekken
e08533ff7a
Document serialization of BIP32key
11 years ago
Andreas Brekken
29ebd4edc5
Fix ECKey.verify
11 years ago
Andreas Brekken
61992462e3
Rewrite util.js for readability
11 years ago
Andreas Brekken
3ef468ec8b
Remove call to non-existant method ECPubKey.setCompressed
11 years ago
Andreas Brekken
bc3136802c
Minor formatting
11 years ago
Andreas Brekken
20aa4a0e8a
Fix compressed check to avoid setting it to undefined
11 years ago
Andreas Brekken
bf6254d3e2
Trailing whitespace
11 years ago
Vitalik Buterin
7919c8cfc5
Added auto-instantiators to classes
11 years ago
Andreas Brekken
4ffabf05af
Fix bitcoinAddress to use getPub().key.export('bytes')
11 years ago
Andreas Brekken
c3fbd63c84
Fix bad Bitcoin.Crypto reference in ecdsa.js
11 years ago
Andreas Brekken
be7406d9a9
Add bitcoinAddress convenience func to BIP32key
11 years ago
Andreas Brekken
3e6796a660
Fix references to Bitcoin.BigInteger
11 years ago
Andreas Brekken
26ac76d42c
Fix bad references to Bitcoin.Crypto
11 years ago
Andreas Brekken
d39567c589
Clean up formatting of BIP32key (jshint)
11 years ago
Andreas Brekken
49513684a2
Remove unused imports from BIP32key
11 years ago
Andreas Brekken
4b59827135
Declare statics on BIP32key, not its prototype
11 years ago
Andreas Brekken
9cfeb1abcd
Trailing whitespace
11 years ago
Vitalik Buterin
ff3679a3fe
Added 'wif' as an export format
11 years ago
Vitalik Buterin
1f33b7a291
fixed getBitcoinAddress
11 years ago
Vitalik Buterin
f58543b81a
Made return work
11 years ago
Vitalik Buterin
7b19ba5811
Added pubkey import and bin export
11 years ago
Vitalik Buterin
30e8b572d6
Added deterministic signing and added a public key class. Note that getPub should now be replaced with getPub().export('bytes')
11 years ago
Vitalik Buterin
02a8db111b
Added version to getBitcoinAddress
11 years ago
Pablo Martin
14803d0538
fix check for public key when making a private derivation.
11 years ago
Pablo Martin
26e5914be2
fix in pubkey deserialization code.
11 years ago
Pablo Martin
9fd46c22fe
missing modulo operation.
11 years ago
vub
4abcdbd7af
Created mkSendToOutputs method
11 years ago
vub
b3e7caada7
Removed useless functions from util
11 years ago
vub
1780f4a98f
Updated deterministic wallet; theoretically works now if properly combined with server
11 years ago
Nadav Ivgi
0a075573ed
Fix signing with compressed keys
calcPubkeyRecoveryParam always assumed a non-compressed key, and was comparing
the address generated from a non-compressed public key against the original
address generated from the compressed public key.
This commit fixes it by passing the entire pubkey object, and configuring the
generated address to use the same compressed setting as the original one.
11 years ago
Nadav Ivgi
df88e93849
Support Numbers in formatValue
11 years ago
vub
397de49089
Made it process multisig addresses correctly
11 years ago
vub
93e50e9433
Started work on wallet, and added hex serialization
11 years ago
vub
5e2a9f0c26
Added BIP32 support
11 years ago
vub
aa22b9d89e
Added a new way of adding an output to a transaction
11 years ago