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
-Checkout the [pnpm package](./packages/nimiq-validator-trustscore/)
105
105
106
106
## Validators API
107
107
@@ -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
@@ -176,18 +172,28 @@ It will also set empty values for `missed`, `rewarded`, `likelihood`, and `domin
176
172
> [!NOTE]
177
173
> Having a `UnelectedUntrackedValidator` should only be when the validator has been selected for the first time in history.
178
174
179
-
### Score calculator
180
-
181
-
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 |
193
+
|`production`|`production-testnet`|[Validators API Testnet](https://validators-api-testnet.pages.dev)| Push to `main` branch |
194
+
|`preview`|`preview-mainnet`|[Validators API Mainnet Preview](https://validators-api-preview.pages.dev)| Push any commit to any branch |
195
+
|`preview`|`preview-testnet`|[Validators API Testnet Preview](https://validators-api-preview.pages.dev)| Push any commit to any branch |
196
+
197
+
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.
198
+
199
+
**Write operations to `main` are restricted**, only via PR.
0 commit comments