package
3.3.2+incompatible
Repository: https://github.com/hyperledger/firefly-ethconnect.git
Documentation: pkg.go.dev

# Functions

CallMethod performs eth_call to return data from the chain.
CobraInitRPC sets the standard command-line parameters for RPC.
CompileContract uses solc to compile the Solidity source and.
Decode the "input" bytes from a transaction, which are composed of a method ID + encoded arguments.
GetOrionPrivacyGroup resolves privateFrom/privateFor into a privacyGroupID.
GetOrionTXCount uses the special Pantheon/Orion interface to check the next nonce for the privacy group associated with the privateFrom/privateFor combination.
GetSolc returns the appropriate solc command based on the combination of env vars, and message-specific request parameters passed in.
GetSolcArgs get the correct solc args.
GetTransactionCount gets the transaction count for an address.
No description provided by the author
NewContractDeployTxn builds a new ethereum transaction from the supplied SendTranasction message.
NewNilTX returns a transaction without any data from/to the same address.
NewRawSendTxn is used for sending a transaction (cannot use to call), where the input data is already formatted.
NewSendTxn builds a new ethereum transaction from the supplied SendTranasction message.
ProcessCompiled takes solc output and packs it into our CompiledSolidity structure.
ProcessRLPBytes converts binary packed set of bytes into a map.
RPCConnect wraps rpc.Dial with useful logging, avoiding logging username/password.

# Structs

CompiledSolidity wraps solc compilation of solidity and ABI generation.
No description provided by the author
OrionPrivacyGroup is the result of the priv_findPrivacyGroup call.
RPCConf is the standard snippet to include in YAML config for RPC.
RPCConnOpts configuration params.
SendTXArgs is the JSON arguments that can be passed to an eth_sendTransaction call, and also the interface passed to the signer in the case of pre-signing.
No description provided by the author
Txn wraps an ethereum transaction, along with the logic to send it over JSON/RPC to a node.
TxnInfo is the detailed transaction info returned by eth_getTransactionByXXXXX.
TxnReceipt is the receipt obtained over JSON/RPC from the ethereum client.

# Interfaces

RPCClient refers to the functions from the ethereum RPC client that we use.
RPCClientAll has both sync and async interfaces (splitting out helps callers with limiting their mocks).
RPCClientAsync refers to the async functions from the ethereum RPC client that we use.
RPCClientSubscription local alias type for ClientSubscription.
RPCClosable contains the close.
TXSigner is an interface for pre-signing signing using the parameters of eth_sendTransaction.