Configure Hyperledger Besu support
Tessera provides out-of-the-box support for Hyperledger Besu. However, additional configuration is required if you are not running Besu in GoQuorum privacy mode.
If GoQuorum privacy mode is not enabled in Besu, set mode
in the
Tessera configuration file to orion
.
Orion mode configuration
"mode": "orion",
The configuration can also be enabled using command line overrides:
tessera --configfile config.json -o mode="orion"
If you enable orion
mode, Tessera:
- Attempts to retrieve the privacy group and its associated members for transactions
sent with
privacyGroupId
. - Creates a legacy privacy group for transactions sent with
privateFor
containing a list of recipient keys. - Uses SHA-512/256 to generate 32-byte hashes of encrypted payloads to be returned to Besu.
- Adds support for
/receive
POST
requests using theapplication/json
media type. - Includes the
senderKey
(for Besu sender authentication) and the transaction’s associatedprivacyGroupId
in responses to/receive
requests.