The Challenge
Traditional DVN operation requires significant infrastructure:- Maintaining funded wallets on every supported chain
- Acquiring and managing native tokens across diverse blockchains
- Building and maintaining reliable transaction submission systems
- 24/7 monitoring of gas balances, transaction failures, and chain-specific issues
The Gasolina Solution
Gasolina introduces a separation of concerns:| Responsibility | Traditional DVN | Gasolina DVN |
|---|---|---|
| Message verification | DVN Operator | DVN Operator |
| Signature generation | DVN Operator | DVN Operator |
| Gas management | DVN Operator | LayerZero (Essence) |
| Transaction submission | DVN Operator | LayerZero (Essence) |
| Signer key security | DVN Operator | DVN Operator |
| Contract control | DVN Operator | DVN Operator |
Architecture
The Gasolina system consists of three components working together:1. DVN Contract (Onchain)
The smart contract deployed on each supported blockchain:- Maintains the list of authorized signer addresses
- Enforces multisig quorum requirements
- Validates signatures before accepting verifications
- Grants ultimate control to the signer quorum
2. Gasolina Service (Offchain)
A lightweight REST API that operators deploy:- Connects to RPC providers for each supported chain
- Verifies source chain events independently
- Waits for required block confirmations
- Signs verification payloads with secure keys
- Returns signatures to requesting parties
- AWS: gasolina-aws
- Google Cloud: gasolina-gcp
3. Essence Service (Gas Abstraction)
LayerZero’s infrastructure that:- Monitors for cross-chain messages requiring verification
- Requests signatures from Gasolina nodes
- Aggregates signatures to meet quorum requirements
- Submits verified transactions onchain
- Handles all gas payments across chains
Message Flow
When a message is sent through LayerZero with a Gasolina DVN configured: Key steps:- OApp emits
PacketSentevent on source chain - Essence monitors for messages requiring Gasolina DVN verification
- Essence waits for required block confirmations
- Essence calls Gasolina API with message details
- Gasolina verifies the event via its own RPC providers
- Gasolina signs the payload after confirming finality
- Essence submits signatures to DVN contract on destination
- DVN contract validates signatures against registered signers
Signer Sovereignty
A key design principle of Gasolina is that signers maintain ultimate control over the DVN. This is enforced through the contract architecture:| Entity | Control Level | Capabilities |
|---|---|---|
| Signer Quorum | Ultimate | Change admins, modify signers, adjust quorum |
| DVN Contract | Enforcement | Validates signatures, executes instructions |
| Gasolina | Verification | Produces signatures (requires valid keys) |
| Essence | Operational | Submits transactions (delegated privilege) |
Key Guarantees
- Signer set is sovereign: The signer quorum has complete control over the DVN, including the ability to change admins, modify the signer set, and adjust quorum thresholds.
-
Admin role is delegated authority: While Essence typically holds the admin role for gas-efficient operations, this is a revocable privilege. Signers can use
quorumChangeAdminto reassign this role at any time. - No external dependencies for control: The DVN cannot be held hostage by any party, including LayerZero. If Essence becomes unavailable, signers can immediately take over transaction submission.
- Quorum prevents single-key compromise: An attacker would need to compromise more than the configured threshold of signer keys to control the DVN.
Emergency Takeover
If signers need to take direct control:- Generate a signed
quorumChangeAdmininstruction - Submit directly to the DVN contract (no Essence required)
- Assign admin role to an operator-controlled address
- Resume operations with full control
Security Model
The Gasolina architecture ensures security through separation of concerns:Gasolina Operator Responsibilities
| Area | Controls | Does NOT Control |
|---|---|---|
| Signer keys | Private keys that produce verification signatures | |
| RPC providers | Which providers verify source chain events | |
| Confirmations | How many blocks to wait before signing | |
| Verification logic | Optional additional verification rules | |
| Gas costs | Handled by Essence | |
| Transaction timing | Determined by Essence | |
| Contract deployment | Coordinated with LayerZero |
Essence Responsibilities
| Area | Controls | Does NOT Control |
|---|---|---|
| Transaction submission | When and how to submit verifications | |
| Gas optimization | Efficient batching and gas pricing | |
| Retry logic | Handling failed transactions | |
| Signature generation | Cannot forge signatures | |
| Signer modifications | Cannot add/remove signers | |
| Quorum changes | Cannot adjust thresholds | |
| Admin role | Delegated and revocable |
Benefits
For Security Providers
| Benefit | Description |
|---|---|
| Simplified operations | No need to manage gas wallets across chains |
| Lower barrier to entry | Start with just RPC access and signing keys |
| Enhanced key security | Signing keys never need to hold value |
| Predictable costs | No variable gas expenses to manage |
| Focus on security | Concentrate on verification, not operations |
For OApp Developers
| Benefit | Description |
|---|---|
| More DVN options | Lower barriers mean more security providers |
| Reliable verification | Professional gas management ensures timely delivery |
| Diverse security | Combine multiple Gasolina DVNs easily |
When to Choose Gasolina
Ideal Use Cases
- Professional security providers entering the DVN space
- Organizations without existing multi-chain infrastructure
- Teams wanting to focus on verification quality over operations
- Multi-signature security models requiring distributed trust
- Rapid deployment and proof-of-concept scenarios
Consider Traditional DVN When
- You need complete control over every operational aspect
- Custom gas optimization strategies are required
- Regulatory requirements mandate full infrastructure control
Getting Started
Prerequisites
- Cloud provider account: AWS or Google Cloud
- RPC providers: Reliable endpoints for each chain you’ll support (2+ per chain recommended)
- Development tools: Node.js, Git, cloud CLI tools
Quick Setup Overview
- Clone the infrastructure repository (AWS or GCP)
- Configure your signer type (mnemonic or HSM-backed)
- Add RPC providers for supported chains
- Deploy using CDK (AWS) or Terraform (GCP)
- Share your Gasolina URL with LayerZero for contract deployment
- Receive DVN contract addresses for OApp configuration
Repository Links
Next Steps
- Implementation Guide - Step-by-step deployment instructions
- DVN Technical Reference - Contract methods, events, and errors
- DVN Overview - General DVN concepts
- Security Stack DVNs - How OApps configure DVNs