The purpose of the JsonRpcClient presented here is to provide a lightweight and secure JSON RPC client to talk to the JSON RPC service offered by Libra Full Nodes. This is useful for various security-critical components (e.g., the secure key manager), as it allows interaction with the Libra blockchain in a minimal and secure manner.
Note: While a JSON RPC client implementation already exists in the Libra codebase, this provides a simpler and (hopefully) more secure implementation with fewer dependencies.
This module provides all the functionality necessary to test the secure JSON RPC client using fuzzing.
Represents a vector of bytes using hex encoding.
Provides a lightweight JsonRpcClient implementation.
Processes the response from a get_account_state_with_proof() JSON RPC request.
Processes the response from a submit_transaction() JSON RPC request.
Processes the response from a get_transaction_status() JSON RPC request.