https://github.com/curvefi/gas-bridger
Library for bridging gas tokens between chains using LayerZero
https://github.com/curvefi/gas-bridger
Last synced: 10 months ago
JSON representation
Library for bridging gas tokens between chains using LayerZero
- Host: GitHub
- URL: https://github.com/curvefi/gas-bridger
- Owner: curvefi
- Created: 2025-03-04T15:41:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-07-18T09:57:06.000Z (11 months ago)
- Last Synced: 2025-07-26T12:48:26.877Z (11 months ago)
- Language: Python
- Size: 232 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-layerzero - Curve
README
# Gas Bridger using LayerZero V2
## Setup
Install dependencies using uv:
```bash
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create virtual environment and install dependencies
uv venv
uv sync
source .venv/bin/activate # On Unix
# or
.venv\Scripts\activate # On Windows
```
## Usage
To bridge gas between chains:
- Send ETH to `GasRelayer.send_gas()` with destination chain ID and receiver address
- The contract will handle the cross-chain messaging through LayerZero
- Funds will be received by the target address on the destination chain
## Requirements
- Python 3.12+
- Vyper 0.4.0+
- LayerZero V2 endpoint contracts deployed on target chains