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: README.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,12 +116,8 @@ The Validators API provides endpoints to retrieve validator information for inte
116
116
117
117
The Validators Dashboard is a simple Nuxt application that displays all validators along with their scores. You can access the dashboard here: https://validators-api-mainnet.pages.dev/
118
118
119
-
## Development
120
-
121
-
```bash
122
-
pnpm install
123
-
pnpm dev
124
-
```
119
+
> [!TIP]
120
+
> Check also the [deployment](#deployment) section to learn how to access to the `testnet` and `preview` environments.
125
121
126
122
## How the API works
127
123
@@ -183,11 +179,28 @@ To learn more about the algorithm the calculation of the score, check:
|`production`|`production-mainnet`|[Validators API Mainnet](https://validators-api-mainnet.pages.dev)| Push to `main` branch |
200
+
|`production`|`production-testnet`|[Validators API Testnet](https://validators-api-testnet.pages.dev)| Push to `main` branch |
201
+
|`preview`|`preview-mainnet`|[Validators API Mainnet Preview](https://validators-api-preview.pages.dev)| Push any commit to any branch |
202
+
|`preview`|`preview-testnet`|[Validators API Testnet Preview](https://validators-api-preview.pages.dev)| Push any commit to any branch |
203
+
204
+
Each Nuxt Hub environment has its own database, so effectively we have 4 different databases and there 4 tasks in the [`sync.yml`](./.github/workflows/sync.yml) workflow that are responsible for syncing the data from the Nimiq network to the database.
205
+
206
+
**Write operations to `main` are restricted**, only via PR.
0 commit comments