Braydon Fuller
a50fccef4d
Changes behavior of `toJSON` to work as expected with `JSON.stringify`
- see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON%28%29_behavior
- Updates CONTRIBUTING with changes to Stardard Methods
- Aliases toJSON for toObject
- Removes all `fromJSON` methods, and many cases replaces with `fromObject`
- Constructors expect an object parsed via `JSON.parse` for JSON input
10 years ago
Braydon Fuller
eb077eb3df
Added support for signing publickey inputs.
10 years ago
Braydon Fuller
458abe069e
Fixed issue with handling invalid output scripts
- Changed toObject serialization to always use a hexa string for a script
- Updated inspect method to handle a null script
- Roundtrip toObject/fromObject with an invalid script
- Additional test coverage for Output
10 years ago
Manuel Araoz
d556a0c33d
fix regressions
10 years ago
Manuel Araoz
b685b5d28a
add inputAmount and outputAmount to docs
10 years ago
Manuel Araoz
b92fd915eb
increase coverage for Input and Output, fix some bugs
10 years ago
Esteban Ordano
cca1e2148c
Improve test coverage on multisig
10 years ago
Esteban Ordano
9a73338c91
Add tests for changes to Transaction interface
10 years ago