diff --git a/fortuna/src/config/setup_provider.rs b/fortuna/src/config/setup_provider.rs index ec1555f82..1bee7fb9f 100644 --- a/fortuna/src/config/setup_provider.rs +++ b/fortuna/src/config/setup_provider.rs @@ -30,7 +30,7 @@ pub struct SetupProviderOptions { pub fee: u128, /// The base URI for fortuna. - /// e.g., https://fortuna-staging.pyth.network + /// e.g., https://fortuna-staging.dourolabs.app #[arg(long = "uri")] pub base_uri: String, } diff --git a/target_chains/ethereum/entropy_sdk/solidity/README.md b/target_chains/ethereum/entropy_sdk/solidity/README.md index ddbe57310..bea1db8ee 100644 --- a/target_chains/ethereum/entropy_sdk/solidity/README.md +++ b/target_chains/ethereum/entropy_sdk/solidity/README.md @@ -75,11 +75,11 @@ If you are invoking this off-chain, the method also emits a `PythRandomEvents.Re ### 3. Fetch the provider's number Fetch the provider's random number from them. -For the provider `0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344` you can query the webservice at https://fortuna-staging.pyth.network : +For the provider `0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344` you can query the webservice at https://fortuna-staging.dourolabs.app : ```typescript await axios.get( - `https://fortuna-staging.pyth.network/v1/chains/${chainName}/revelations/${sequenceNumber}` + `https://fortuna-staging.dourolabs.app/v1/chains/${chainName}/revelations/${sequenceNumber}` ); ``` diff --git a/target_chains/ethereum/examples/coin_flip/README.md b/target_chains/ethereum/examples/coin_flip/README.md index 8864677a1..51f9240ca 100644 --- a/target_chains/ethereum/examples/coin_flip/README.md +++ b/target_chains/ethereum/examples/coin_flip/README.md @@ -48,7 +48,7 @@ Running coin flip prototcol. tx : 0x3a59bb8c1aaa8c6ff97147bb3197e9b89c0d87174b0b6c32374fc62de6d8db94 sequence : 50 3. Retrieving provider's random number... - fetch url : https://fortuna-staging.pyth.network/v1/chains/optimism-goerli/revelations/50 + fetch url : https://fortuna-staging.dourolabs.app/v1/chains/optimism-goerli/revelations/50 number : 0x760e53a19a4677ef671fde63db59462dfb3e09e94418e9962e2fa764026b8400 4. Revealing the result of the coin flip... tx : 0x0549b93b12684187f73ddcaf8351ca4049867882c1b138989e15363a4d103220 diff --git a/target_chains/ethereum/examples/coin_flip/app/src/flip_coin.ts b/target_chains/ethereum/examples/coin_flip/app/src/flip_coin.ts index 320f4488a..1d07e0c17 100644 --- a/target_chains/ethereum/examples/coin_flip/app/src/flip_coin.ts +++ b/target_chains/ethereum/examples/coin_flip/app/src/flip_coin.ts @@ -14,7 +14,7 @@ const argv = yargs(hideBin(process.argv)) .option("fortuna-url", { description: "URL of the fortuna server for your chosen provider", type: "string", - default: "https://fortuna-staging.pyth.network", + default: "https://fortuna-staging.dourolabs.app", }) .option("chain-name", { description: diff --git a/target_chains/ethereum/examples/coin_flip/contract/src/CoinFlip.sol b/target_chains/ethereum/examples/coin_flip/contract/src/CoinFlip.sol index 6c023ee0e..fcbe7e990 100644 --- a/target_chains/ethereum/examples/coin_flip/contract/src/CoinFlip.sol +++ b/target_chains/ethereum/examples/coin_flip/contract/src/CoinFlip.sol @@ -85,11 +85,11 @@ contract CoinFlip { // from them in a provider-dependent manner. // // For the moment, the provider 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 hosts a webservice at - // https://fortuna-staging.pyth.network/ that allows anyone to retrieve their random values. + // https://fortuna-staging.dourolabs.app/ that allows anyone to retrieve their random values. // Fetch the following url: - // https://fortuna-staging.pyth.network/v1/chains//revelations/ + // https://fortuna-staging.dourolabs.app/v1/chains//revelations/ // - // The list of supported chain ids is available here https://fortuna-staging.pyth.network/v1/chains + // The list of supported chain ids is available here https://fortuna-staging.dourolabs.app/v1/chains // // **Warning** users of this protocol can stall the protocol by choosing not to reveal their generated random number. // Developers using Pyth Entropy should ensure that users are always incentivized (or at least, not disincentivized)