Skip to main content
In the LayerZero V2 protocol, Workers serve as the umbrella term for two key types of service providers: Decentralized Verifier Networks (DVNs) and Executors. Both play crucial roles in facilitating crosschain messaging and execution by providing verification and execution services. By abstracting these roles under the common interface known as a worker, LayerZero ensures a consistent and secure method to interact with both service types.

What Are Workers?

Workers are specialized entities that interact with the protocol to perform essential functions:
  • Verification as a Service: Decentralized Verifier Networks (DVNs) verify the authenticity and correctness of messages across chains.
  • Execution as a Service: Executors carry out transactions on behalf of applications once verification is complete.
These roles are unified under the Worker interface, meaning that whether a service provider is a DVN or an Executor, it interacts with the protocol using a standardized set of methods.

For DVN Operators

If you’re looking to operate a DVN, these resources will help you understand the architecture and implementation options.

Build Custom Workers

For developers building their own DVN or Executor from scratch, these guides cover the technical implementation details.

Resources

Technical Reference

Guides


This architecture allows LayerZero V2 to provide robust, decentralized crosschain communication while giving application developers the tools needed to fine-tune their security and operational parameters.