Skip to content

Conversation

@Huygon764
Copy link
Contributor

@Huygon764 Huygon764 commented Jan 21, 2026

Add config for horizenMainnet and CI/CD for prod and staging

Types of change

  • Feature
  • Bug
  • Enhancement

1. Horizen Mainnet Config

TODO (Mainnet not working yet)

  • Set DOMAIN_ID_HORIZEN_MAINNET
  • Set zkVerifyAddress for mainnet

2. CI/CD for Staging and Production

2.1 Workflow Files

File Branch Environment Deploy Target
backend-prod.yml main prod polypay-backend
backend-staging.yml develop staging polypay-backend-staging
frontend-prod.yml main prod polypay-frontend
frontend-staging.yml develop staging polypay-frontend-staging

2.2 Added Environment Variables

Staging Environment

Variable Value
NEXT_PUBLIC_NETWORK testnet
NETWORK testnet

Production Environment

Variable Value
NEXT_PUBLIC_NETWORK mainnet
NETWORK mainnet

2.4 Flow

develop branch → Build → Push Image → Deploy to Staging (testnet) 
        ↓
main branch → Build → Push Image → Deploy to Production (mainnet)


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants