Skip to main content

Contract Deployment

Deploy the Shield contract to Base network.

Prerequisites

  • Hardhat installed
  • Base network configured
  • Deployer wallet with ETH

Configuration

Update hardhat.config.ts:

Deployment Script

Create scripts/deploy.ts:

Deploy to Testnet

Deploy to Mainnet

Verification

After deployment, verify on BaseScan:

Deployment Checklist

  • Contract tested locally
  • Testnet deployment successful
  • Contract verified on BaseScan
  • Frontend updated with new address
  • Documentation updated
  • Monitored for first transactions

Post-Deployment

Update frontend .env: