Skip to content

feat: Create deployment scripts for Polygon Amoy #25

Description

@rafamiziara

Description

Create automated deployment scripts for deploying PoolFactory and LendingPool contracts to Polygon Amoy testnet with proper configuration and verification.

Acceptance Criteria

  • Create deployment script for PoolFactory
  • Create deployment script for LendingPool implementation
  • Add network configuration for Polygon Amoy
  • Implement deployment verification and logging
  • Add deployment artifacts management
  • Create upgrade scripts for future use
  • Add deployment documentation

Technical Requirements

  • Use Hardhat deployment scripts
  • Support for multiple network environments
  • Proper gas estimation and optimization
  • Deployment transaction tracking
  • Environment variable configuration
  • Error handling and rollback capabilities

Script Functions

  • Deploy PoolFactory with proper initialization
  • Deploy LendingPool implementation contract
  • Verify deployment success
  • Save deployment addresses and ABIs
  • Generate deployment report

Environment Configuration

  • Polygon Amoy RPC configuration
  • Gas price optimization
  • Private key management (secure)
  • Etherscan API for verification

Definition of Done

  • Deployment scripts execute successfully on Amoy
  • All contracts deployed and verified
  • Deployment artifacts properly saved
  • Documentation for deployment process
  • Tested deployment process end-to-end

Metadata

Metadata

Assignees

Labels

comp: contractsIssues related to the smart contracts in packages/contractscomp: infraIssues related to infrastructure, deployment, or CI/CD

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions