A decentralized bridge implementation that enables secure cross-chain transfers between Base Sepolia and Holesky networks.
This project implements a bridge contract system allowing asset transfers between:
- Base Sepolia Chain
- Holesky Chain (Ethereum testnet)
- Hardhat Development Environment
- TypeScript
- Hardhat Ignition for deployment management
- Environment configuration via dotenv
- Testing framework with Chai assertions
- Secure cross-chain asset transfers
- Owner-controlled bridge deployment
- Automated testing suite
- Configurable deployment parameters
- Install dependencies:
npm install
- Configure environment variables: Create a .env file with:
INFURA_API_KEY=your_infura_key
PRIVATE_KEY=your_private_key
ETHERSCAN_KEY=your_etherscan_key
BASESCAN_KEY=your_basescan_key
Run tests:
npx hardhat test
- Deploy the bridge contract:
npx hardhat run scripts/deploy.ts --network <network>
- Verify the contract on Etherscan:
npx hardhat verify --network <network> <contract_address>
- Owner-controlled deployment
- Comprehensive test coverage
- Network-specific configurations
- Base Sepolia: For Base testnet operations
- Holesky: For Ethereum testnet operations
MIT