TezosKit
TezosKit copied to clipboard
Add remote node parsing for increased security
Addresses: https://github.com/keefertaylor/TezosKit/issues/212
- Added another parameter to TezosClient and NetworkClient to take a
remoteNodeParseURLso that a second server can be used to verify the forged transactions. - Changed
forgeSignPreapplyAndInjecttoforgeParseSignPreapplyAndInjectand added a parse flow. - The returned JSON from the parse will be compared to the operations requested to be sent.
- Operation will fail if the comparison fails.
- Change Tez.rpcRepresentation to always return a minimum of "0", as the Node will always replace "" with "0".