Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.

Commit ef00b60

Browse files
committed
feat: production deployment
1 parent 65dfd7c commit ef00b60

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

chart/config/prod/clearnode.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
config:
2-
args: ["sleep", "infinity"]
2+
args: ["clearnode"]
33
logLevel: info
44
database:
55
driver: postgres
6-
url: ""
6+
host: postgresql.core
7+
port: 5432
8+
name: clearnet_prod
9+
user: clearnet_prod_admin
710
envSecret: ""
11+
extraEnvs:
12+
POLYGON_CUSTODY_CONTRACT_ADDRESS: "0x3b21e4a6aB2eb42cE2918B1C7E63BA0c9915B34E"
13+
ETH_SEPOLIA_CUSTODY_CONTRACT_ADDRESS: "0xcFdC977a4b75B77E47a80C0D2b2aB7ade72ABD2b"
814

915
image:
1016
repository: ghcr.io/erc7824/clearnode

chart/config/prod/secrets.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
config:
2+
database:
3+
password: ref+tfstategs://terraform-state-deploy/gke-uat-postgresql-admin/default.tfstate/output.postgresql_user_passwords["clearnet_prod_admin"]
4+
secretEnvs:
5+
BROKER_PRIVATE_KEY: ref+gcpsecrets://ynet-stage/clearnet-prod-broker-private-key?version=latest
6+
POLYGON_INFURA_URL: ref+gcpsecrets://ynet-stage/clearnet-prod-polygon-infura-url?version=latest
7+
WORLD_CHAIN_INFURA_URL: ref+gcpsecrets://ynet-stage/clearnet-prod-worldchain-infura-url?version=latest

config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ var knownNetworks = map[string]uint32{
1818
"ETH_SEPOLIA": 11155111,
1919
"CELO": 42220,
2020
"BASE": 8453,
21+
"WORLD_CHAIN": 480,
2122
}
2223

2324
// NetworkConfig represents configuration for a blockchain network

0 commit comments

Comments
 (0)