Skip to content

Deploy contracts to World Chain mainnet #5

Description

@mollybeach

Summary

World Chain is the primary distribution channel (23M World App users) but none of the four core contracts are deployed there yet.

Blocker

Per docs/DEPLOYMENT_STATUS.md:

HardhatError: Invalid JSON-RPC response received: Must be authenticated!

Contracts to deploy

Contract Status
HedgePodVault ⏳ Pending
AutoYieldToken ⏳ Pending
YieldOracle ⏳ Pending
VolatilityFeeHook ⏳ Pending

Steps

  1. Configure authenticated RPC in .env:
    WORLD_CHAIN_RPC=https://worldchain-mainnet.g.alchemy.com/v2/YOUR_API_KEY
    
  2. Fund deployer wallet with World Chain ETH
  3. Run: npx hardhat run scripts/deploy/deployer.ts --network worldchain
  4. Update frontend/lib/data/contracts_data.json and deployments/
  5. Verify contracts on World Chain explorer
  6. Configure LayerZero peers for cross-chain OFT

Acceptance criteria

  • All 4 contracts deployed and verified on World Chain
  • Deployment JSON saved to deployments/
  • Frontend reads correct World Chain addresses
  • docs/DEPLOYMENT_STATUS.md updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions