Skip to content

Commit e8b9ef5

Browse files
fix(docs): update web2json verifier links
1 parent 836d1ed commit e8b9ef5

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

docs/fdc/guides/foundry/04-web2-json.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ In the case of `Web2Json`, `requestBody` is a JSON containing the fields:
8585
### Reference Documentation
8686

8787
- [Web2Json Specification](/fdc/attestation-types/json-api)
88-
- [Verifier Interactive Docs](https://jq-verifier-test.flare.rocks/api-doc#/)
88+
- [Verifier Interactive Docs](https://fdc-verifiers-testnet.flare.network/verifier/web2/api-doc#/)
8989

9090
### Example Values
9191

@@ -325,7 +325,7 @@ contract PrepareAttestationRequest is Script {
325325
The code above differs slightly from the [starter example](https://github.com/flare-foundation/flare-foundry-starter).
326326
But, if we remove the ellipses `...` signifying missing code, we can still run the script.
327327

328-
Because of the `console.log` commands it will produce JSON strings that represent valid requests; we can then pass this to the [interactive verifier](https://jq-verifier-test.flare.rocks/api-doc#) to check the response.
328+
Because of the `console.log` commands it will produce JSON strings that represent valid requests; we can then pass this to the [interactive verifier](https://fdc-verifiers-testnet.flare.network/verifier/web2/api-doc#) to check the response.
329329

330330
We can run the script by calling the following commands in the console.
331331

@@ -349,11 +349,11 @@ We place `using Surl for *;` at the start of our `PostRequest` contract, and the
349349
(, bytes memory data) = url.post(headers, body);
350350
```
351351

352-
We construct the URL by appending to the verifier address `https://jq-verifier-test.flare.rocks` the path `/JsonApi/prepareRequest`.
352+
We construct the URL by appending to the verifier address `https://fdc-verifiers-testnet.flare.network/verifier/web2` the path `/JsonApi/prepareRequest`.
353353
We can do so dynamically with the following code.
354354

355355
```solidity title="scrip/fdcExample/Web2Json.s.sol"
356-
string memory baseUrl = "https://jq-verifier-test.flare.rocks/";
356+
string memory baseUrl = "https://fdc-verifiers-testnet.flare.network/verifier/web2/";
357357
string memory url = string.concat(
358358
baseUrl,
359359
"verifier/",

docs/fdc/guides/foundry/json-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ In the case of `JsonApi`, `requestBody` is a JSON containing the fields:
8181
### Reference Documentation
8282

8383
- [JsonApi Specification](/fdc/attestation-types/json-api)
84-
- [Verifier Interactive Docs](https://jq-verifier-test.flare.rocks/api-doc#/)
84+
- [Verifier Interactive Docs](https://fdc-verifiers-testnet.flare.network/verifier/web2/api-doc#/)
8585

8686
### Example Values
8787

docs/fdc/guides/hardhat/04-web2-json.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ In the case of `Web2Json`, `requestBody` is a JSON containing the fields:
9191
### Reference Documentation
9292

9393
- [Web2Json Specification](/fdc/attestation-types/web2-json)
94-
- [Verifier Interactive Docs](https://jq-verifier-test.flare.rocks/api-doc#/)
94+
- [Verifier Interactive Docs](https://fdc-verifiers-testnet.flare.network/verifier/web2/api-doc#/)
9595

9696
### Example Values
9797

@@ -155,7 +155,7 @@ function toUtf8HexString(data: string) {
155155
}
156156
```
157157

158-
Because of the `console.log` commands it will produce JSON strings that represent valid requests; we can then pass this to the [interactive verifier](https://jq-verifier-test.flare.rocks/api-doc/) to check the response.
158+
Because of the `console.log` commands it will produce JSON strings that represent valid requests; we can then pass this to the [interactive verifier](https://fdc-verifiers-testnet.flare.network/verifier/web2/api-doc/) to check the response.
159159

160160
The process of posting a request to a verifier server is identical for all attestation types.
161161
It differs only in values used.

docs/fdc/guides/hardhat/json-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ In the case of `JsonApi`, `requestBody` is a JSON containing the fields:
9191
### Reference Documentation
9292

9393
- [JsonApi Specification](/fdc/attestation-types/json-api)
94-
- [Verifier Interactive Docs](https://jq-verifier-test.flare.rocks/api-doc#/)
94+
- [Verifier Interactive Docs](https://fdc-verifiers-testnet.flare.network/verifier/web2/api-doc#/)
9595

9696
### Example Values
9797

docs/network/0-overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Resources for interacting with Flare's DA Layer and FDC verifiers.
294294
| **FDC Verifier (BTC)** | [`https://fdc-verifiers-testnet.flare.network/verifier/btc_testnet4/api-doc`](https://fdc-verifiers-testnet.flare.network/verifier/btc_testnet4/api-doc) |
295295
| **FDC Verifier (XRP)** | [`https://fdc-verifiers-testnet.flare.network/verifier/xrp/api-doc`](https://fdc-verifiers-testnet.flare.network/verifier/xrp/api-doc) |
296296
| **FDC Verifier (DOGE)** | [`https://fdc-verifiers-testnet.flare.network/verifier/doge/api-doc`](https://fdc-verifiers-testnet.flare.network/verifier/doge/api-doc) |
297-
| **FDC Verifier (Web2Json)** | [`https://jq-verifier-test.flare.rocks/`](https://jq-verifier-test.flare.rocks/) |
297+
| **FDC Verifier (Web2Json)** | [`https://fdc-verifiers-testnet.flare.network/verifier/web2/`](https://fdc-verifiers-testnet.flare.network/verifier/web2/) |
298298

299299
</TabItem>
300300
<TabItem value="songbird" label="Songbird Canary-Network">
@@ -316,7 +316,7 @@ Resources for interacting with Flare's DA Layer and FDC verifiers.
316316
| **FDC Verifier (BTC)** | [`https://fdc-verifiers-testnet.flare.network/verifier/btc_testnet4/api-doc`](https://fdc-verifiers-testnet.flare.network/verifier/btc_testnet4/api-doc) |
317317
| **FDC Verifier (XRP)** | [`https://fdc-verifiers-testnet.flare.network/verifier/xrp/api-doc`](https://fdc-verifiers-testnet.flare.network/verifier/xrp/api-doc) |
318318
| **FDC Verifier (DOGE)** | [`https://fdc-verifiers-testnet.flare.network/verifier/doge/api-doc`](https://fdc-verifiers-testnet.flare.network/verifier/doge/api-doc) |
319-
| **FDC Verifier (Web2Json)** | [`https://jq-verifier-test.flare.rocks/`](https://jq-verifier-test.flare.rocks/) |
319+
| **FDC Verifier (Web2Json)** | [`https://fdc-verifiers-testnet.flare.network/verifier/web2/`](https://fdc-verifiers-testnet.flare.network/verifier/web2/) |
320320

321321
</TabItem>
322322
</Tabs>

0 commit comments

Comments
 (0)