Skip to content

Commit

Permalink
chore: update aggregator target in the `client-cardano-stake-distribu…
Browse files Browse the repository at this point in the history
…tion` example
  • Loading branch information
dlachaume committed Nov 28, 2024
1 parent 871b837 commit 395e2f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/client-cardano-stake-distribution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ cargo run
# Run with your custom network configuration
AGGREGATOR_ENDPOINT=YOUR_AGGREGATOR_ENDPOINT GENESIS_VERIFICATION_KEY=YOUR_GENESIS_VERIFICATION_KEY cargo run

# Example with 'pre-release-preview' network
AGGREGATOR_ENDPOINT=https://aggregator.pre-release-preview.api.mithril.network/aggregator GENESIS_VERIFICATION_KEY=$(curl -s https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/pre-release-preview/genesis.vkey) cargo run
# Example with 'release-preprod' network
AGGREGATOR_ENDPOINT=https://aggregator.release-preprod.api.mithril.network/aggregator GENESIS_VERIFICATION_KEY=$(curl -s https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/genesis.vkey) cargo run
```

## Links
Expand Down
4 changes: 2 additions & 2 deletions examples/client-cardano-stake-distribution/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! This example shows how to implement a Mithril client and use its features.
//!
//! In this example, the client interacts by default with a real aggregator (`testing-preview`) to get the data.
//! In this example, the client interacts by default with a real aggregator (`release-preprod`) to get the data.
use anyhow::anyhow;
use clap::Parser;
Expand All @@ -24,7 +24,7 @@ pub struct Args {
#[clap(
long,
env = "AGGREGATOR_ENDPOINT",
default_value = "https://aggregator.testing-preview.api.mithril.network/aggregator"
default_value = "https://aggregator.release-preprod.api.mithril.network/aggregator"
)]
aggregator_endpoint: String,
}
Expand Down

0 comments on commit 395e2f5

Please sign in to comment.