Skip to content

Commit ca613ee

Browse files
committed
docs: use workers deployment links
1 parent fe429be commit ca613ee

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<h2 align="center">Dashboards</h2>
2020

2121
<p align="center">
22-
<a href="https://validators-api-mainnet.pages.dev" target="_blank">Mainnet</a>&nbsp; &nbsp; &nbsp;
23-
<a href="https://validators-api-testnet.pages.dev" target="_blank">Testnet</a>
22+
<a href="https://validators-api-main.je-cf9.workers.dev" target="_blank">Mainnet</a>&nbsp; &nbsp; &nbsp;
23+
<a href="https://validators-api-test.je-cf9.workers.dev" target="_blank">Testnet</a>
2424
</p>
2525

2626
<br />
@@ -43,7 +43,7 @@ If you operate a staking pool and want to be displayed in the Nimiq Wallet, foll
4343
3. Review the [Description Guidelines](#recommendations-for-your-validator-description).
4444
4. Learn about the [JSON Schema](#validator-json-schema).
4545
5. Submit a PR to this repository. A Nimiq team member will review your submission within 3 days.
46-
6. Once the PR is submitted, check that the [API endpoint](https://validators-api-mainnet.pages.dev/api/v1/validators) returns your information. This process may take a few minutes.
46+
6. Once the PR is submitted, check that the [API endpoint](https://validators-api-main.je-cf9.workers.dev/api/v1/validators) returns your information. This process may take a few minutes.
4747

4848
> [!WARNING]
4949
> Nimiq reserves the right to make minor adjustments to the content submitted by validator owners if necessary.
@@ -113,13 +113,13 @@ The VTS is displayed in the Nimiq Wallet, allowing stakers to compare validators
113113
The Validators API provides endpoints to retrieve validator information for integration with tools, dashboards, and other applications.
114114
| Endpoint | Description |
115115
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
116-
| [/api/v1/validators](https://validators-api-mainnet.pages.dev/api/v1/validators) | Retrieves the validator list. See [query params](./server/utils/schemas.ts#L54) |
117-
| [/api/v1/validators/:validator_address](https://validators-api-mainnet.pages.dev/api/v1/validators/NQ7700000000000000000000000000000001) | Retrieves the validator information |
118-
| [/api/v1/supply](https://validators-api-mainnet.pages.dev/api/v1/supply) | Retrieves supply status |
116+
| [/api/v1/validators](https://validators-api-main.je-cf9.workers.dev/api/v1/validators) | Retrieves the validator list. See [query params](./server/utils/schemas.ts#L54) |
117+
| [/api/v1/validators/:validator_address](https://validators-api-main.je-cf9.workers.dev/api/v1/validators/NQ7700000000000000000000000000000001) | Retrieves the validator information |
118+
| [/api/v1/supply](https://validators-api-main.je-cf9.workers.dev/api/v1/supply) | Retrieves supply status |
119119

120120
## Validators Dashboard
121121

122-
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/
122+
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-main.je-cf9.workers.dev/
123123

124124
> [!TIP]
125125
> Check also the [deployment](#deployment) section to learn how to access to the `testnet` and `preview` environments.
@@ -249,10 +249,10 @@ pnpm db:apply:is-listed:testnet
249249

250250
**Environments** (configured in `wrangler.json`):
251251

252-
- `production`: [Validators API Mainnet](https://validators-api-mainnet.pages.dev) via manual `wrangler deploy`
253-
- `preview`: [Validators API Mainnet Preview](https://validators-api-mainnet.pages.dev) via manual deployment
254-
- `testnet`: [Validators API Testnet](https://validators-api-testnet.pages.dev) via manual `wrangler deploy --env testnet`
255-
- `testnet-preview`: [Validators API Testnet Preview](https://validators-api-testnet.pages.dev) via manual deployment
252+
- `production`: [Validators API Mainnet](https://validators-api-main.je-cf9.workers.dev) via manual `wrangler deploy`
253+
- `preview`: [Validators API Mainnet Preview](https://validators-api-main.je-cf9.workers.dev) via manual deployment
254+
- `testnet`: [Validators API Testnet](https://validators-api-test.je-cf9.workers.dev) via manual `wrangler deploy --env testnet`
255+
- `testnet-preview`: [Validators API Testnet Preview](https://validators-api-test.je-cf9.workers.dev) via manual deployment
256256

257257
Each environment has its own D1 database, KV cache, and R2 blob. Sync runs every 12 hours via Cloudflare cron triggers (see `server/tasks/sync/`).
258258

app/app.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const { gitBranch, nimiqNetwork } = useSafeRuntimeConfig().public
1515
interface EnvItemType { branch: string, network: string, link: string }
1616
1717
const environments: EnvItemType[] = [
18-
{ branch: 'main', network: 'main-albatross', link: 'https://validators-api-mainnet.pages.dev/' },
19-
{ branch: 'main', network: 'test-albatross', link: 'https://validators-api-testnet.pages.dev/' },
18+
{ branch: 'main', network: 'main-albatross', link: 'https://validators-api-main.je-cf9.workers.dev/' },
19+
{ branch: 'main', network: 'test-albatross', link: 'https://validators-api-test.je-cf9.workers.dev/' },
2020
{ branch: 'dev', network: 'main-albatross', link: 'https://dev.validators-api-mainnet.pages.dev/' },
2121
{ branch: 'dev', network: 'test-albatross', link: 'https://dev.validators-api-testnet.pages.dev/' },
2222

0 commit comments

Comments
 (0)