Hyperledger Besu customization

Hyperledger Besu customization covers genesis and consensus settings, local permissioning rules and plugins on the Besu plugin API. The main cost is keeping that code working across monthly releases.

On this page

Hyperledger Besu customization: what changes without a fork and what it costs to keep

Most of what a permissioned Besu network needs beyond defaults is configuration and plugins, not a fork. Genesis and consensus settings, node and account permissioning rules, and security module plugins such as the Besu HSM plugin (enabled with the --security-module option) are all changes you can make without modifying Besu's source. The ongoing cost comes from what you build on top: every custom plugin, permissions rule set or patched behavior must keep working as Besu ships roughly monthly calendar releases, and each release is a chance for a plugin to break or an internal assumption to go stale.

Start by listing each requirement and sorting it into one of three groups: settings the genesis file or node configuration already supports, behavior that a permissions file can express, and anything that needs code running inside the node through the plugin API. Check the first two groups against the Besu permissioning documentation before writing any code. Anything left in the third group needs an owner, a test suite that runs against each release candidate, and a documented upgrade path. Confirm plugin API compatibility with the specific Besu release you plan to run, because the plugin interface is not a stable contract you can assume carries across versions without testing.

Plan the recurring cost before you commit to custom code. Your team pays for each upgrade cycle, for regression testing of every plugin and permissions rule, and for the people who understand the custom code when the original author moves on. Ask any partner for a written scope that names each customization, the release versions it was tested against, who maintains it after handover and how retesting is priced. Most organizations with a small number of well-documented customizations run them in-house. Bring in a partner when the customization set is large, touches security controls that need independent review, or when your team lacks the capacity to test each release on a fixed schedule.

What a Besu customization engagement includes and delivers

A customization engagement turns a requirements list into a set of supported changes: configuration files, permissioning rules and, where Besu's own options fall short, plugins. Each component below ends with a named deliverable the client keeps, so the work can be reviewed, tested and carried into later releases.

Requirements mapping to Besu options

Each stated requirement is checked against what Besu already configures through command-line options, configuration files and the plugin API. The output is a traceable table showing which requirement is met by a standard setting, which needs a local rule and which needs custom code. Requirements that touch removed features, such as onchain permissioning or Tessera privacy, are flagged for a separate decision before any build starts. The deliverable is a requirements-to-configuration map signed off by the client.

Besu private networks docs

Genesis and consensus settings

Genesis file contents, chain ID, initial validator set and QBFT parameters are set and reviewed together, because several of them are hard to change once blocks exist. The review checks each value against the intended network design, not against defaults copied from examples. Confirm with your own engineers which values are fixed at launch and which can change through validator voting. The deliverable is a reviewed genesis and consensus configuration with a change log of every non-default value.

Node and account permissioning files

Local permissioning restricts which nodes a node will connect to and which accounts may act on the network. Node permissioning lists allowed peers, and account permissioning controls onboarding, suspension and restricted actions. Because these files live on each node, every change must be applied consistently across operators. The deliverable is versioned permissions configuration files for every node role, with a procedure for distributing and auditing updates.

Permissioning docs

Plugin design and build

When a requirement cannot be met by configuration, a plugin built on the Besu plugin API is the supported extension point. Scope covers the interface chosen, the data it reads or writes, its failure behavior and its dependency on specific Besu versions. Plugins that need features the maintainers removed should be designed with that history in mind. The deliverable is the plugin source, build instructions and a design note explaining each hook it uses.

Test evidence

Test evidence shows what the customization does on a test network that mirrors production topology, including node restarts, peer disconnections and rejected accounts. Results are recorded against the specific Besu release and JDK in use. Ask for failing cases as well as passing ones, since they show where the boundaries of the change lie. The deliverable is a test report with reproducible steps and recorded results for each requirement.

Handover and upgrade runbook

Handover transfers the custom code, configuration, and the knowledge needed to keep it working. The upgrade runbook explains how each customization is checked against a new Besu release, including the irreversible database upgrade and the need for a backup before upgrading. Confirm who on your team will own the plugin after handover. The deliverable is the source repository, configuration inventory and an upgrade runbook with a per-release checklist.

How configuration, permissioning and plugins fit around a Besu node

The diagram starts with the genesis file and consensus settings, which are configuration only and set the chain's rules. Those feed the Besu node, which reads its node and account permissions files and serves JSON-RPC behind authentication. Optional plugins, including a security module plugin for the node key, attach through the Besu plugin API and are the only parts that are code your team must maintain. Every plugin must be rebuilt and retested against each upstream release line, so check plugin compatibility before any upgrade.

Configuration files sit beside plugin code that must track each upstream release.

Which Besu changes need no code and which need a plugin

Most Besu customization stays within configuration, but the boundary is narrower than many teams expect. Genesis settings, such as the chain ID, the initial validator set and the QBFT parameters, are fixed when the network starts and become part of the chain's history, so changing them later means a new network or a coordinated chain change rather than an edit to a file. Node configuration (ports, peer settings, JSON-RPC exposure, metrics and the --security-module option) can be changed per node and tested in isolation. Local node permissioning sits in the same category: each node reads a permissions configuration file that limits which peers it connects to, and account permissioning in that file can govern onboarding, suspend accounts and restrict actions. Before finalizing the design, confirm with your own team which rules must be enforced on every node and whether the file format supports them, since these rules are local and each operator maintains its own copy.

The harder requirements are the ones the maintainers have removed. Besu's 25.6.0 release removed the Tessera privacy feature and onchain permissioning, and 25.7.0 removed the EEA and PRIV privacy RPC API groups. Proof of work consensus, fast sync and Clique (removed in 26.4.0) are gone as well. If a network needs transaction privacy, governance of permissions stored in a contract, or a Clique chain, no setting restores it. Those needs must be met by a plugin built on the Besu plugin API, by an application layer outside the node, or by a community fork. Plugins can add behavior such as custom RPC methods, transaction validation or a security module, but they only reach the points the API exposes, so confirm the specific hook you need exists in the release line you plan to run before committing to a design.

The maintainers suggest plugins or community forks for teams that still need removed features, and each path carries a different maintenance burden. A plugin stays separate from Besu's source, but it must be rebuilt and retested against every monthly release, and a change to the plugin API can break it without warning. A fork gives full control but makes your team responsible for merging upstream security fixes, tracking the JDK requirement (JDK 25 for 26.6.0) and carrying the database format changes that Besu's 26.10.0 release notes describe as irreversible on first start. Ask any integrator for the list of plugin API calls the design depends on, the release versions tested, the owner of each merge and the expected cost of retesting each release, and budget that recurring work alongside the one-time build.

What drives customization cost and duration

This table compares the main factors that move the cost and schedule of a Besu customization, and what each one means for your budget. Read each row as a lever: the more a factor grows, the more testing, rework and upkeep it adds. The main takeaway is that keeping custom code small and inside configuration or plugin boundaries does more to control cost than any single build decision.

DriverWhy it moves cost or effortHow to keep it down
Number of custom requirementsEach requirement adds design, build, test and documentation work, and requirements often interact with each other in permissioning and genesis settings.Write each requirement as an outcome, then remove those already met by configuration or existing Besu options before scoping code.
Configuration versus plugin codeSettings in the genesis file, node configuration and local permissions files are cheaper to change and review than code. Plugin work needs compiled code, dependency management and its own test suite.Map every requirement to a configuration option first and confirm the option exists in your target release before approving plugin work.
Validators and nodes running the custom buildA custom build must be installed, verified and kept in step on every validator, RPC node and backup node, so cost grows with the fleet size and the number of operators.Limit the custom build to the nodes that need it, and separate validators from RPC nodes so that only necessary roles carry extra code.
Test scope across environmentsEach environment (development, test, staging, production) needs regression runs for the custom code, plus consensus and failover tests on multi-node networks.Automate the regression suite for custom code and agree which environments must match production in topology and configuration.
Compliance evidence neededAssessors and internal control owners may ask for change records, test results, access settings and key handling evidence for custom code. Producing this evidence is work on top of the build.Agree the evidence list at scoping, and generate it from the build and test pipeline rather than assembling it by hand after go-live.
Besu releases the custom code must followBesu ships roughly monthly, and each release may change APIs, default settings or database format. Custom code must be rebuilt, retested and sometimes reworked for each release you adopt.Pin to a supported release on a planned cadence, minimize dependencies on internal Besu classes, and confirm which upgrade path your support arrangement covers.
Removed features carried forwardFeatures the maintainers removed, such as Tessera privacy and onchain permissioning, must be rebuilt as plugins or forks, and those forks diverge further with every release.Confirm which removed behavior is required, then decide whether a plugin, a configuration change or a process change meets the need.

How a customization project moves from requirements to handover

The sequence turns a list of business needs into a Besu change that has been checked against configuration options, tested on a private network, reviewed for security and rolled out to validators with a runbook the client's team can operate.

  1. Assess requirements against configuration and plugin options

    The team lists each requirement (genesis parameters, consensus settings, node or account permissioning rules, custom RPC behavior, key storage) and checks whether current Besu configuration options already meet it. Anything left over is a candidate for a plugin, and anything that would need changes to Besu source is flagged as a fork decision. The client confirms the target Besu version and JDK requirement, since the 26.6.0 release notes state Besu requires JDK 25. The output is a written fit assessment that marks each requirement as configuration, plugin, or fork, with the reasons. Ask the partner to show which requirements were ruled out by configuration alone.

  2. Design permissioning and plugin interfaces

    For each requirement that needs a plugin, the design defines the plugin's inputs, the Besu extension points it uses, its configuration keys, and its failure behavior. Local permissioning is designed in the same pass: node permissioning files that restrict connections to known participants, and account permissioning rules for onboarding, suspension and restricted actions. Because onchain permissioning has been removed from current Besu, these rules live in node-side files that every validator must keep in agreement. The output is a design record with interface specifications, a permissions file per node, and an owner for each rule. Confirm with your own team who approves changes to those files.

  3. Build and test on a private network

    Engineers implement the plugin and the configuration changes against a private test network that mirrors the production validator count and consensus setup, with QBFT as the consensus mechanism for permissioned networks. Tests cover normal block production, rejection of unauthorized peers and accounts, behavior on restart, and the effect of the change on sync. Each test is recorded with its input, expected result and actual result. The output is a passing test report and a tagged build that the team can reproduce from source. Ask for the test cases in writing before build begins so acceptance is not decided after the fact.

  4. Review plugin code and key handling

    A security review examines the plugin code for dependency risk, input handling, logging of sensitive values, and access to the node's private key. The local node private key file is not encrypted by default, so the review confirms whether the design needs a security module plugin, such as the Besu HSM plugin used through the --security-module option, and whether key file permissions and backups meet the client's policy. JSON-RPC exposure added by the customization is checked against the authentication options Besu documents. The output is a findings report with each issue closed, accepted with a named owner, or scheduled for a fix before rollout. Confirm that the reviewer is independent of the build team.

  5. Stage the rollout across validators

    The change is applied first to a non-production network, then to a subset of validators, with each node's configuration and version recorded before and after the change. Operators watch peer counts, block production and sync status during each stage, and a rollback path is confirmed before every step. Where the target release upgrades the database on first start, as the 26.10.0 release notes describe for the Bonsai database, a backup must be taken first because older versions cannot open the upgraded database. The output is a rollout log showing each node's version, configuration hash and health check results, plus a signed-off go or no-go decision at each stage.

  6. Hand over with the upgrade runbook

    The final step transfers operation of the customization to the client's team. The runbook covers how to apply the custom plugin on each new Besu release, how to run the test suite against that release before upgrading validators, how to restore from backup, and who approves permissioning changes. Operators are trained on the monitoring signals for the change, including metrics exposed for Prometheus when enabled with --metrics-enabled. Handover is complete when the client's team has performed one upgrade rehearsal on the test network without partner help. The output is the runbook, the test suite, the design record and a list of open risks with owners. Ask whether support after handover is covered by a retainer or a separate written scope.

What goes wrong with custom Besu code and how to prevent it

Custom code on Besu fails in predictable ways: plugins drift from the release they were built for, builds diverge across validators, and upgrades or removed features expose assumptions nobody wrote down. Each risk below names the check that prevents it before it reaches a production network.

Plugin breaks on the next release

Besu ships a new calendar release roughly monthly, and a plugin compiled against one release can fail against the next when plugin API classes or behavior change. Pin the Besu version each plugin was built and tested against, and make the plugin build part of the upgrade test run. Before any validator is upgraded, run the plugin against the target release on a non-production network and confirm it starts, syncs and produces blocks.

Besu release notes

Mismatched builds across validators

A validator set where some nodes run the custom build and others run the stock release, or where two nodes carry different plugin versions, can diverge in behavior that is hard to see from logs alone. Maintain one artifact per release, record its checksum, and deploy it through the same pipeline to every validator. Compare the running version and loaded plugins on each node as part of every change window.

Plugin touching node key handling

The local node private key file is not encrypted, so any plugin that reads, copies, logs or rewrites it widens the exposure of the node identity. A custom plugin that handles keys can also bypass the hardware-backed path the security module plugin provides. Review every plugin for key file access, keep key material out of logs and config dumps, and route signing through a supported security module such as the HSM plugin where custody requires it.

Node keys docs

Requirement met by a removed feature

Some networks were built around onchain permissioning, Tessera privacy or Clique, and those features are gone from current Besu. A custom plugin that recreated the old behavior may depend on a removed component or on an RPC group that no longer exists. Inventory every control the network relies on, map each one to its current equivalent (local permissioning or a plugin), and confirm the mapping with a test before the removed feature is switched off.

Database upgrade with no rollback

The Bonsai database upgrades automatically on first start, and older Besu versions cannot open the upgraded database. A custom build that bundles its own Besu version inherits this one-way change, so a failed upgrade can leave a node without a path back. Take and verify a backup of the data directory before every upgrade, and rehearse restoring it on a spare node so the rollback is tested, not assumed.

Custom build requires JDK 25

Besu 26.6.0 requires JDK 25 to build and run, so a custom build pinned to an older toolchain may fail to compile or start after an upgrade. Teams often discover this only when the build server or a validator image is refreshed. Confirm the JDK version in the build pipeline and in each runtime image, and include a build step on the target JDK in the upgrade checklist before any node is changed.

Besu releases

What carrying custom Besu code costs after go-live

This table lists the cost items that appear once a custom plugin or local change is running on Besu, and marks which ones happen once and which recur with each release line. Read it as a checklist for what to ask a partner to quote, and for what your own team must be able to absorb after handover. Edition and hosting costs are covered separately in the cost of ownership topic.

Cost itemOne-time or recurringWhat drives it, and what to ask a partner to quote
Plugin rebase or rebuild per releaseRecurringEach monthly calendar release can change the plugin API. Ask for the number of release lines covered per year, who triages breaking changes, and whether rebase work is fixed or billed per release.
Regression testing against new Besu versionsRecurringCovers consensus, permissioning rules and any custom RPC behavior on a private network. Ask what test suite exists, who owns it, and how long a validator-side test cycle takes in your environment.
JDK and dependency updatesRecurringBesu 26.6.0 requires JDK 25 to build and run, so custom builds must track the same JDK and library versions. Ask who patches the build toolchain and how transitive dependency updates are reviewed.
Security review of plugin changesRecurringEach change to plugin code or permissioning logic needs review before it reaches validators. Ask whether reviews are included per release, what evidence is delivered, and how emergency fixes are handled.
Validator rollout for each custom buildRecurringEvery custom build must be rolled out validator by validator, and database upgrades can be irreversible. Ask for the rollout runbook, the backup step before upgrade, and who performs and signs off each cutover.
Initial plugin design and buildOne-timeCovers the first build, the plugin API integration and the initial test harness. Ask for the written scope, the deliverables and whether the design is reviewed against the current plugin framework.
Internal skills to own the codeOne-time to build, recurring to keepYour team needs Java, Besu plugin API knowledge and validator operations experience. Ask the partner what knowledge transfer, documentation and pairing is included, and what your staff must be able to run alone.
Removed-feature workaroundsRecurring while in useFeatures such as Tessera privacy, onchain permissioning and Clique were removed upstream, so workarounds stay on your code path. Ask how each workaround will be retired or re-tested at each release.

How customization differs by starting point

When the network has not gone live yet, customization is a design decision made before genesis is written. Most of the configurable surface sits in the genesis file (chain ID, consensus parameters, initial validator set and pre-funded accounts), in each node's configuration and in the local permissions files. Because these choices shape every later node, the client's architecture and governance team should settle them before any validator is provisioned.

  • Genesis and consensus settings: Define the chain ID, the QBFT validator set and block timing before the first node starts, since changing them later is a network-wide coordination exercise.
  • Local permissioning rules: Decide which nodes may connect to which peers (node permissioning) and which accounts may transact or be suspended (account permissioning), and record who approves each change.
  • Plugin scope: Identify any behavior the standard client does not provide and decide whether a plugin is the right route before writing code.
  • Build pipeline: Plan how Besu is built, versioned and promoted across environments, including the JDK version the release requires.

What the client must provide: the consortium's governance rules, the list of validator operators, the intended business logic for permissions, and a named owner for the plugin backlog. Confirm the exact genesis and permissions keys against the Besu documentation for the version you will deploy.

What your team needs to provide before customization starts

Customization starts only when your team hands over a written list of requirements, and each requirement needs a stated business reason. A line such as "node permissioning must restrict connections to the consortium's known participants" tells us what to build and what to leave alone. Without the reason, we cannot tell whether a requested change is a real control or an old habit, and we cannot choose between a configuration setting, a local permissioning rule and a plugin. Also provide the exact Besu versions and JDK in use across validators and RPC nodes. Besu requires JDK 25 to build and run, according to the 26.6.0 release notes, so confirm which JDK your nodes run today and whether your build pipeline can produce artifacts for the release line you plan to target.

Next, give us access to a non-production network that mirrors your validator set, node permissions file, genesis configuration and database format. Custom code and permissioning rules that pass on a single test node often fail when a real validator set, peer list or existing chain state is involved, so the mirror has to be close to production. Name one owner for plugin code and one owner for key custody. The plugin owner approves design and merges changes, and the custody owner decides how the unencrypted node private key file is protected, including whether a security module plugin such as an HSM integration is in scope. Confirm your internal security review path for custom code, including who signs off, which tests are required and whether that review must finish before a release candidate reaches the mirror.

Finally, decide whether plugins will be open or closed source. An open plugin can be reviewed by the Besu community and reused, but it carries disclosure and licensing questions under the Apache 2.0 terms your legal team must accept. A closed plugin keeps proprietary logic private but adds internal review and maintenance obligations that your team must fund. Missing decisions extend the schedule because each open item stops a design step: an unanswered requirement blocks plugin design, an unnamed owner blocks code review, and an unsettled licensing choice blocks release. Agree these items in writing before work begins, since a single open decision on custody or review commonly delays the first deployment to the mirror.

Questions buyers ask about Besu customization

Can Hyperledger Besu be customized without forking it?

Yes, for several common needs. Besu's local permissioning is configured per node through a permissions configuration file, which controls node permissioning (restricting connections to known participants) and account permissioning (onboarding rules, suspending accounts, restricting actions). Genesis and consensus settings are also part of normal configuration. Behavior that Besu does not offer, such as a custom integration or an added security module, is typically handled through the Besu plugin framework. The maintainers point teams that still need removed features toward plugins or community forks. Confirm with the Besu maintainers or documentation which specific settings your network needs before assuming they are supported as configuration.

What drives the cost of a Besu plugin?

The cost comes mostly from the design, testing and upkeep of the code, not from the plugin's line count. The main drivers are the number of features the plugin must hook into, how much it depends on internal Besu behavior, the security review it needs before going near validator keys or transaction processing, and the test environments required to prove it on your network. Ask any partner for a quote that separates one-time build work from recurring work such as testing against each new release, patch review and on-call support. A quote without that split is hard to compare with an in-house estimate.

Can our own engineers build Besu plugins in-house?

Often yes, if the team already runs Java services and can own a node in production. Besu is written in Java and requires JDK 25 to build and run, according to the 26.6.0 release notes, so the team needs that toolchain, the plugin API documentation and a test network to exercise changes. The harder part is ongoing ownership: someone must read each monthly release, rerun tests and decide whether the plugin still fits. Weigh that recurring commitment against your team's capacity before deciding to build internally.

How long does customization work usually take?

Duration depends on scope, and no fixed figure applies to every network. A configuration-only change to permissioning or genesis settings is usually short, while a plugin that adds a new integration, signs with a hardware security module or changes how transactions are handled takes longer because it needs design, testing on a multi-node network and a security review. Other drivers include how many environments you run, how quickly your change board approves changes and whether you must align with a Besu upgrade already in progress. Ask for a written scope with deliverables and milestones before agreeing to a timeline.

What happens to custom code at each Besu release?

Each release can affect custom code, so every plugin needs a regression plan. Besu uses calendar version numbers and ships roughly monthly, with 26.7.0, 26.8.0, 26.9.0 and 26.10.0 listed on its releases page for mid-2026 to October 2026. Read the release notes for changes to the plugin API, removed features and database changes. Note that the 26.10.0 release notes say the Bonsai database upgrades automatically on first start and older versions cannot open it, so take a backup before upgrading. Plan to rebuild, retest and redeploy the plugin against each version you adopt, and confirm plugin API compatibility guarantees with the Besu project.

Will DeployOpen maintain the plugin after handover?

That depends on the written scope. DeployOpen's engagements are typically fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing support, upgrades and continuous testing are available as retainers, so maintaining a plugin across monthly Besu releases would usually sit in a retainer rather than the original build. Ask the partner to state which release versions the plugin is tested against, who signs off on upgrades, how security fixes are handled and who holds source code and documentation at handover.

Do plugins create security risks for validator keys?

They can. Besu's documentation says the local node private key file is not encrypted, and deployments needing hardware-backed key storage can use a security module plugin, such as the Besu HSM plugin, with the --security-module option. Any custom plugin that touches keys, transactions or RPC endpoints should go through code review, access control review and penetration testing in a non-production network first. Confirm with your security team which plugin code paths can reach key material before deployment.

How DeployOpen scopes, builds and hands over Besu customizations

DeployOpen treats Hyperledger Besu customization as a written, fixed-scope engagement inside the client's own infrastructure. We start by separating what can be configured from what would require carrying code, then build and document only the changes the scope names.

How we scope

  • Inventory every genesis, consensus, permissioning and API setting the network needs before choosing a change path
  • Classify each requirement as configuration, plugin work or a fork candidate, with the release it depends on
  • Name the Besu versions, JDK version and target environments the written scope covers
  • Agree acceptance tests and deliverables in writing before any build work starts

How we build

  • Apply genesis and consensus settings through reviewed configuration files kept under version control
  • Implement local node and account permissioning rules from the agreed policy, not from ad hoc edits on individual nodes
  • Build plugins against the Besu plugin API, with tests that run against each Besu release under evaluation
  • Test changes for security impact, including key handling and JSON-RPC exposure, before they reach shared networks

How we hand over

  • Deliver a change register listing every customization, its purpose, its owner and the Besu release it was tested on
  • Document the upgrade and rollback steps, including the backup required before any irreversible database upgrade
  • Provide runbooks for your own engineers to deploy, verify and roll back each plugin and configuration change
  • Walk your platform and security teams through the code, tests and operational controls before sign-off

How we support

  • Review each new Besu release for changes that affect your customizations before you plan an upgrade
  • Offer ongoing support, upgrades and continuous testing as a retainer after go-live
  • Retest customizations on each planned upgrade and report any plugin or permissioning regressions with fixes
  • Confirm with DeployOpen during scoping which support terms, response expectations and included releases apply

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.