Skip to content
You are reading Hyperledger Besu development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.
Last update: September 2, 2021

Using alternative elliptic curves

Caution

Configuring alternative elliptic curves is an experimental feature.

By default, Besu uses the Ethereum standard secp256k1 elliptic curve (EC). However, when running nodes in a private network, it is possible to configure an alternative elliptic curve.

The configuration for what elliptic curve Besu will use is done in the network configuration section of genesis file, using the ecCurve key:

{
  "genesis": {
    "config": {
      "ecCurve": "secp256k1",
    [...]
  },
  [...]
}

Attention

All nodes in the network MUST use the same elliptic curve. Nodes with different EC configuration from the network won’t be able to send messages to other nodes or verify transactions and blocks.

Besu supports the following elliptic curves:

  • secp256k1 (Ethereum default)
  • secp256r1
Questions or feedback? You can discuss issues and obtain free support on Hyperledger Besu chat channel.
For Hyperledger Besu community support, contact the mailing list besu@lists.hyperledger.org