35 Commits (6dd38c160e844e5864a3bce221a2c2daca59c472)

Author SHA1 Message Date
Braydon Fuller a50fccef4d Changes behavior of `toJSON` to work as expected with `JSON.stringify` 9 years ago
Brandon Roberts 3518843f98 stylistic change and unnecessary test code removal 9 years ago
Brandon Roberts a53bd10f42 test explicitly passed invalid network 9 years ago
Brandon Robertz a38c0c2d93 modularize network version check/tests issues/1265 10 years ago
mpolci 0d2784eb1e created test to verify correct network initialization in PrivateKey.fromJSON() 10 years ago
eordano 9409698e06 Fix validation error 10 years ago
Manuel Araoz c4666044e9 fix #1096: PrivateKey#toAddress(network) 10 years ago
Trevin Hofmann 374e43bed2 Properly capitalize Base58Check and Base58 10 years ago
Esteban Ordano 73a973359b Fix invocations to binary operations called on numbers 10 years ago
Esteban Ordano 6b05f20397 Add the new operator when BN was used without it 10 years ago
Esteban Ordano 0bae82fdf4 Add fromBuffer and toBuffer to PrivateKey 10 years ago
Braydon Fuller 8b505f0cfa Fixed tests to handle a `defaultNetwork` change 10 years ago
Braydon Fuller c20a0eabed Check type of parsed JSON to determine it's an object and not a number. 10 years ago
Braydon Fuller 5449ad7bff Add test case that incorrectly handles hexa string as json 10 years ago
Yemel Jardi 5e292490e8 update tests 10 years ago
Yemel Jardi dfc32e6712 Fix typo and remove unnecessary test 10 years ago
Yemel Jardi d5f76e8517 Fix creation of a randomn testnet private key 10 years ago
Esteban Ordano 36e87d8822 PrivateKey, PublicKey, Network linted 10 years ago
Braydon Fuller 7d15b2bf0f Private Key: Fix bug with tests and missing "new" 10 years ago
Esteban Ordano fcc3a1c961 Add tests for importing from WIF 10 years ago
Yemel Jardi 428bcaf4c9 Remove compressed argument from private key and public key constructors 10 years ago
Braydon Fuller 96c7812ed1 PrivateKey: Lodash to check if undefined, and made tests not random (T2) 10 years ago
Braydon Fuller 920f25b58e Tests: Added bitcoind base58 key data and tests 10 years ago
Braydon Fuller c0bbf96dc1 Keys: Added toObject method and changed toJSON to return a string 10 years ago
Braydon Fuller 4ddf3d117c Keys: Modified and added standardized toJSON/fromJSON prototypes 10 years ago
Braydon Fuller d4d3d4ab4a PrivateKey: Add documentation and refactor to use network object as a parameter. 10 years ago
Esteban Ordano f8397a617e Add option to create private key from hex 10 years ago
Esteban Ordano baf6a24d23 Add ".publicKey" property to PrivateKey 10 years ago
Braydon Fuller 4ba53fcb92 Tests: Check that PrivateKey is using the defaultNetwork 10 years ago
Braydon Fuller 4adf1fcb14 Network: Replaced all instances of mainnet with livenet for consistency 10 years ago
Braydon Fuller 3298a01498 Immutable Address, PublicKey and PrivateKey 10 years ago
Braydon Fuller 85ce140aeb Keys: Renamed Privkey to PrivateKey and Pubkey to PublicKey 10 years ago
Braydon Fuller 35d0cbc5a6 Keys: Modified interface of Pubkey and Privkey so that an instance can be relied upon as valid. 10 years ago
Braydon Fuller 23c1ed3599 Keys: Refactored to use Pubkey and Privkey and removed Keypair 10 years ago
Manuel Araoz a45dee3a4b 'hide' encoding and crypto 10 years ago
Manuel Araoz 3ac26759e4 fix tests for privkey 10 years ago
Ryan X. Charles d6e3266179 toJSON/fromJSON for privkey, pubkey, keypair 10 years ago
Ryan X. Charles 6f56c8d1fc convenience: new Privkey(bn) 10 years ago
Ryan X. Charles bdb8daaf07 remove redundant "test." from test names 10 years ago
Ryan X. Charles 40e8dfec06 compressed by default with fromRandom 10 years ago
Ryan X. Charles c39acbcca3 Privkey().fromRandom() 10 years ago
Ryan X. Charles 280578d641 network -> networkstr 10 years ago
Ryan X. Charles 109f31cfdb Privkey.prototype.set 10 years ago
Ryan X. Charles 9cc214cf06 capitalize classes in tests 10 years ago
Ryan X. Charles a2e471ae9e more consistency: n -> bn, p -> point 10 years ago
Ryan X. Charles c00f1ebeea standardize capitalization in test describes 10 years ago
Ryan X. Charles 3df3d41434 privkey 10 years ago