Web3Quorum

Web3Quorum

new Web3Quorum(web3, enclaveOptionsopt, isQuorumopt)

Source:

Handles elements

Parameters:
Name Type Attributes Default Description
web3 Object

instance of the web3.js library

enclaveOptions Object <optional>

configs of the transaction manager required for GoQuorum case only

Properties
Name Type Description
ipcPath string

absolute file path to the ipc of the transaction manager

privateUrl string

http url to the transaction manager

tlsSettings Object

TLS configuration for the transaction manager when using HTTPS in privateUrl

Properties
Name Type Description
key Buffer

client key buffer

clcert Buffer

client certificate buffer

cacert Buffer

CA certificate buffer

allowInsecure Boolean
isQuorum Boolean <optional>
false

indicates if the connected to client is quorum or besu