Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 2.29 KB

File metadata and controls

72 lines (52 loc) · 2.29 KB

ChainWard Deployment Summary

✅ Deployment Complete

Successfully deployed ChainWard smart contracts to Arbitrum Sepolia Testnet (Chain ID: 421614)

Deployed Contracts

Contract Address
OrbitChainRegistry 0x5dF982674c638D38d16cB9D1d6d07fC3d93BfBe4
SecureIncidentManager 0x926e9c2885B7a75BDe8baeBa8d9738Aa28aA4DdB
HealthMonitor 0xcd04f7675B556Bd060bd465fC690d67568cAc6bb
HealthReporter 0x2dB1352bc197A93330198175e69338Cf4B5fF115

Network Details

  • Chain: Arbitrum Sepolia Testnet
  • Chain ID: 421614
  • RPC URL: https://sepolia-rollup.arbitrum.io/rpc
  • Block Explorer: https://sepolia.arbiscan.io

Frontend Integration

All contract addresses have been automatically updated in:

  • frontend/.env.local - Environment variables for the Next.js frontend
  • frontend/src/config/contracts.ts - Contract configuration file
  • deployments.json - Permanent record of deployment addresses

Environment Variables

The following variables are now available for the frontend:

NEXT_PUBLIC_REGISTRY_ADDRESS=0x5dF982674c638D38d16cB9D1d6d07fC3d93BfBe4
NEXT_PUBLIC_INCIDENT_MANAGER_ADDRESS=0x926e9c2885B7a75BDe8baeBa8d9738Aa28aA4DdB
NEXT_PUBLIC_HEALTH_MONITOR_ADDRESS=0xcd04f7675B556Bd060bd465fC690d67568cAc6bb
NEXT_PUBLIC_HEALTH_REPORTER_ADDRESS=0x2dB1352bc197A93330198175e69338Cf4B5fF115
NEXT_PUBLIC_RPC_URL=https://sepolia-rollup.arbitrum.io/rpc

Deployment Process

  1. ✅ Fixed all Solidity compilation errors (operator typos, duplicate files)
  2. ✅ Built contracts with Foundry (forge build)
  3. ✅ Deployed using ethers.js (scripts/deploy-ethers.js)
  4. ✅ Verified contracts on blockchain
  5. ✅ Updated frontend configuration

Next Steps

  1. Start the frontend development server:

    cd frontend
    npm run dev
  2. The dashboard will automatically connect to the deployed contracts using the addresses in .env.local

  3. Test contract interactions through the web interface

Deployment Records

  • Deployment Script: scripts/deploy-ethers.js
  • Deployment Addresses: deployments.json
  • Solidity Contracts: src/**/*.sol
  • Frontend Config: frontend/src/config/contracts.ts

Date: 2026-02-14 Network: Arbitrum Sepolia Status: ✅ Live & Verified