Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 592 Bytes

README.md

File metadata and controls

27 lines (26 loc) · 592 Bytes

Deployment

  1. Install dependencies
    yarn install
    
  2. Edit .env
    cp .env.example .env
    
  3. Specify additional price feeds (Optional)
    vim src/constants/index.ts
    
  4. Deploy contracts
    yarn hardhat deploy --network baseSepolia
    
  5. Create Web3Function task
    yarn hardhat run scripts/create-task.ts --network baseSepolia
    
  6. Verify contracts on Etherscan (Optional)
    yarn hardhat etherscan-verify --network baseSepolia
    
  7. Deposit SEP into L1PriceOracle contract for Pyth updateFee payment