Skip to content

Commit 5a5112e

Browse files
committed
chore: update aggregator target in the client-wasm examples
1 parent c3a69b1 commit 5a5112e

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

examples/client-wasm-nodejs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This example shows how to implement a Mithril client and use its features in a Node.js environment.
66

7-
In this example, the client interacts by default with a real aggregator on the network `testing-sanchonet` to:
7+
In this example, the client interacts by default with a real aggregator on the network `release-preprod` to:
88

99
- Mithril Stake Distribution:
1010
- list the available Mithril Stake Distributions

examples/client-wasm-nodejs/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { MithrilClient } from "@mithril-dev/mithril-client-wasm";
22

3-
let aggregator_endpoint = "https://aggregator.testing-sanchonet.api.mithril.network/aggregator";
3+
let aggregator_endpoint = "https://aggregator.release-preprod.api.mithril.network/aggregator";
44
let genesis_verification_key =
55
"5b3132372c37332c3132342c3136312c362c3133372c3133312c3231332c3230372c3131372c3139382c38352c3137362c3139392c3136322c3234312c36382c3132332c3131392c3134352c31332c3233322c3234332c34392c3232392c322c3234392c3230352c3230352c33392c3233352c34345d";
66
let certificate_chain_validated_occurs = false;
@@ -109,8 +109,8 @@ async function main() {
109109

110110
console.log(7, "Getting transaction proof...");
111111
const proof = await client.get_cardano_transaction_proofs([
112-
"eac09f970f47ef3ab378db9232914e146773853397e79b904f1a45123a23c21f",
113-
"81fe7a5dab42867ef309b6d7210158bf99331884ac3c3b6c7188a8c9c18d5974",
112+
"0ea207ab71493f012faab0d1f8151eaf931901141c1482ce6e9a501498076484",
113+
"326b5b67d926937bf19c6113d0957a39f2eae9df94875ce8a96eff5c8521303b",
114114
"320c13f4a3e51f6f4f66fcd9007e02bf658aa4ee9a88a509028d867d3b8a8e9a",
115115
]);
116116
console.log("Certificate hash of the returned proof", proof.certificate_hash);

examples/client-wasm-web/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This example shows how to implement a Mithril client and use its features in a Web browser environment.
66

7-
In this example, the client interacts by default with a real aggregator on the network `testing-sanchonet` to:
7+
In this example, the client interacts by default with a real aggregator on the network `release-preprod` to:
88

99
- Mithril Stake Distribution:
1010
- list the available Mithril Stake Distributions

examples/client-wasm-web/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import initMithrilClient, { MithrilClient } from "@mithril-dev/mithril-client-wasm";
22

3-
// This example uses sanchonet network aggregator as it handles Cardano transactions entity type
4-
let aggregator_endpoint = "https://aggregator.testing-sanchonet.api.mithril.network/aggregator";
3+
// This example uses 'release-preprod' network aggregator as it handles Cardano transactions entity type
4+
let aggregator_endpoint = "https://aggregator.release-preprod.api.mithril.network/aggregator";
55
let genesis_verification_key =
66
"5b3132372c37332c3132342c3136312c362c3133372c3133312c3231332c3230372c3131372c3139382c38352c3137362c3139392c3136322c3234312c36382c3132332c3131392c3134352c31332c3233322c3234332c34392c3232392c322c3234392c3230352c3230352c33392c3233352c34345d";
77
let certificate_chain_validated_occurs = false;
@@ -133,8 +133,8 @@ console.log("valid_stake_distribution_message:", valid_stake_distribution_messag
133133

134134
displayStepInDOM(7, "Getting transaction proof...");
135135
const proof = await client.get_cardano_transaction_proofs([
136-
"eac09f970f47ef3ab378db9232914e146773853397e79b904f1a45123a23c21f",
137-
"81fe7a5dab42867ef309b6d7210158bf99331884ac3c3b6c7188a8c9c18d5974",
136+
"0ea207ab71493f012faab0d1f8151eaf931901141c1482ce6e9a501498076484",
137+
"326b5b67d926937bf19c6113d0957a39f2eae9df94875ce8a96eff5c8521303b",
138138
"320c13f4a3e51f6f4f66fcd9007e02bf658aa4ee9a88a509028d867d3b8a8e9a",
139139
]);
140140
displayMessageInDOM("Certificate hash of the returned proof", proof.certificate_hash);

0 commit comments

Comments
 (0)