# README
This package is analogous to the ethclient package in go-ethereum.
It provides a higher level, standard way to interact with an TEN network programmatically.
It aims to provide all the same methods that the geth ethclient provides for compatibility/familiarity, as well as TEN-specific methods.
There are two clients, ObsClient
and AuthObsClient
ObsClient
just requires a Client and provides access to general TEN functionality that doesn't require viewing keys.
AuthObsClient
requires a EncRPCClient, which is an RPC client with an account and a signed Viewing Key for authentication.
It provides full TEN functionality, authenticating with the node and encrypting/decrypting sensitive requests.
# Packages
No description provided by the author
# Functions
No description provided by the author
DialWithAuth will generate and sign a viewing key for given wallet, then initiate a connection with the RPC node and register the viewing key.
NewAuthObsClient constructs an AuthObsClient for sensitive communication with an enclave.
No description provided by the author
No description provided by the author
# Structs
AuthObsClient extends the functionality of the ObsClient for all methods that require encryption when communicating with the enclave It is created with an EncRPCClient rather than basic RPC client so encryption/decryption is supported
The methods in this client are analogous to the methods in geth's EthClient and should behave the same unless noted otherwise.
ObsClient provides access to general Obscuro functionality that doesn't require viewing keys.