You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEPLOYMENT_GUIDE.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,15 @@ This guide will walk you through the process of deploying wPOKT Validators on Go
26
26
27
27
4. Update the MintController Smart Contract on the Ethereum network with the Ethereum addresses of the N validators. The MintController Smart Contract will utilize these addresses to validate signatures from the deployed validators during the bridging process.
28
28
29
-
### Step 4: Store Private Keys in Secret Manager
29
+
### Step 4: Store Secrets in Secret Manager
30
30
31
31
1. Add all the Ethereum and Pocket private keys to the Secret Manager on GCP. Ensure you securely store these keys as they are crucial for your validator's operation.
32
32
33
-
2.Note down the names of all the secrets created in Secret Manager. You will use these secret names during the deployment process.
33
+
2.Also add the MongoDB URI with read-and-write permissions to the Secret Manager. This URI will be used to connect to the MongoDB cluster.
34
34
35
-
3. Additionally, consider storing copies of the private keys in other secure places for additional redundancy and security. You might want to use hardware wallets, cold storage devices, or other secure offline storage methods to safeguard your validator's private keys.
35
+
3. Note down the names of all the secrets created in Secret Manager. You will use these secret names during the deployment process.
36
+
37
+
4. Additionally, consider storing copies of the private keys in other secure places for additional redundancy and security. You might want to use hardware wallets, cold storage devices, or other secure offline storage methods to safeguard your validator's private keys.
36
38
37
39
### Step 5: Optional - Create Service Accounts and Separate Key Pairs
38
40
@@ -44,15 +46,13 @@ This guide will walk you through the process of deploying wPOKT Validators on Go
44
46
45
47
1. Create a VM template on GCP's "Compute Engine" that includes the docker image for the wPOKT Validator and valid environment variables.
46
48
47
-
2. Set the following environment variables:
48
-
49
-
- MongoDB URI with read-and-write permissions: Provide the URI to access the MongoDB cluster with read-and-write permissions.
49
+
2. Set the default environment variables for:
50
50
51
-
- Ethereum network configuration: Use the valid Ethereum private key secret name from Secret Manager, Ethereum RPC URL, and chain ID.
51
+
- Ethereum network configuration
52
52
53
-
- Pocket network configuration: Utilize the valid Pocket private key secret name from Secret Manager, Pocket RPC URL, chain ID, and the generated Pocket multisig address.
53
+
- Pocket network configuration
54
54
55
-
- Google Cloud Project ID: Add the project ID for your GCP project to ensure proper authentication and billing.
55
+
- Google secret manager configuration
56
56
57
57
Refer to the sample `config.sample.yml` or `sample.env` files for reference on how to structure the environment variables.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,14 +69,14 @@ The wPOKT Validator can be configured in the following ways:
69
69
ETH_PRIVATE_KEY="your_eth_private_key" ETH_RPC_URL="your_eth_rpc_url" ... go run .
70
70
```
71
71
72
-
If both a config file and an env file are provided, the `config.yml` file will be loaded first, and then the env file will be read. Any falsy values in the config will be updated with corresponding values from the env file.
72
+
If both a config file and an env file are provided, the config file will be loaded first, followed by the env file. Non-empty values from the env file or provided through environment variables will take precedence over the corresponding values from the config file.
73
73
74
74
### Using Docker Compose
75
75
76
-
You can also run the wPOKT Validator using `docker-compose` with the provided `.env` file. Execute the following commandin the project directory:
76
+
You can also run the wPOKT Validator using `docker-compose`. Execute the following commandin the project directory:
77
77
78
78
```bash
79
-
docker-compose --env-file .env up
79
+
docker-compose --env-file .env up --build
80
80
```
81
81
82
82
## Valid Memo
@@ -94,7 +94,7 @@ Transactions with memos not conforming to this format will not be processed by t
94
94
95
95
## Docker Image
96
96
97
-
The wPOKT Validator is also available as a Docker image hosted on Docker Hub. You can run the validator in a Docker container using the following command:
97
+
The wPOKT Validator is also available as a Docker image hosted on [Docker Hub](https://hub.docker.com/r/dan13ram/wpokt-validator). You can run the validator in a Docker container using the following command:
98
98
99
99
```bash
100
100
docker run -d --env-file .env docker.io/dan13ram/wpokt-validator:latest
0 commit comments