
Secure your execution costs.
The first protocol for on-chain gas hedging.
The Risk
Gas volatility kills conversion.
Spikes of 300+ gwei can wipe out margins and freeze protocol activity instantly.
The Solution
Predictable execution.
Lock in your gas costs ahead of time. Execute transactions with confidence, regardless of network conditions.
Infrastructure for Scale
Built for the demands of high-frequency DeFi.
Non-Custodial
Your assets never leave your control until settlement.
Instant Liquidity
Deep pools powered by institutional market makers ensure you can enter and exit positions instantly.
Automated Reserving
Smart contracts automatically reserve gas based on your policy, guaranteeing transaction inclusion.
Global Settlement
Settlement across all major L2s and Mainnet.
Protocol Mechanics
Select Policy
Choose your gas strike price and duration. Customize your coverage based on your transaction needs.
Lock Rate
Secure your coverage. Your execution cost is now capped, regardless of network volatility.
Execute
Transact on the network. If gas prices spike above your strike, the protocol covers the difference.
Drop-in gas protection.
Integrate PetroETH directly into your smart contracts with a single line of code. Shield your users from volatility or subsidize execution costs during spikes.
import { GasInsuranceLibrary } from '@petroeth/contracts';
contract DeFiVault {
using GasInsuranceLibrary for address;
function deposit(uint256 amount) external {
// Protect transaction from gas spikes
insurance.protectRemainingGas(50 gwei, 500000);
// Your logic executes safely...
performComplexOperations();
}
}