diff --git a/examples/contracts/examples/interact_with_abi.rs b/examples/contracts/examples/interact_with_abi.rs index f0e4cc12..a9de7221 100644 --- a/examples/contracts/examples/interact_with_abi.rs +++ b/examples/contracts/examples/interact_with_abi.rs @@ -15,7 +15,7 @@ sol!( async fn main() -> Result<()> { // Spin up a forked Anvil node. // Ensure `anvil` is available in $PATH. - let rpc_url = "https://eth.merkle.io"; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc"; let provider = ProviderBuilder::new().on_anvil_with_wallet_and_config(|anvil| anvil.fork(rpc_url))?; diff --git a/examples/layers/examples/fallback_layer.rs b/examples/layers/examples/fallback_layer.rs index f19a65f7..06f78ccb 100644 --- a/examples/layers/examples/fallback_layer.rs +++ b/examples/layers/examples/fallback_layer.rs @@ -23,7 +23,7 @@ async fn main() -> Result<()> { // Define your list of transports to use let transports = vec![ - Http::new(Url::parse("https://eth.merkle.io")?), + Http::new(Url::parse("https://reth-ethereum.ithaca.xyz/rpc")?), Http::new(Url::parse("https://eth.llamarpc.com")?), Http::new(Url::parse("https://ethereum-rpc.publicnode.com")?), ]; diff --git a/examples/node-bindings/examples/anvil_fork_instance.rs b/examples/node-bindings/examples/anvil_fork_instance.rs index fded9801..72b4dc02 100644 --- a/examples/node-bindings/examples/anvil_fork_instance.rs +++ b/examples/node-bindings/examples/anvil_fork_instance.rs @@ -10,7 +10,7 @@ use eyre::Result; async fn main() -> Result<()> { // Spin up a forked Anvil node. // Ensure `anvil` is available in $PATH. - let rpc_url = "https://eth.merkle.io"; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc"; let anvil = Anvil::new().fork(rpc_url).try_spawn()?; let provider = ProviderBuilder::new().on_http(anvil.endpoint_url()); diff --git a/examples/node-bindings/examples/anvil_fork_provider.rs b/examples/node-bindings/examples/anvil_fork_provider.rs index 113c5588..82c250be 100644 --- a/examples/node-bindings/examples/anvil_fork_provider.rs +++ b/examples/node-bindings/examples/anvil_fork_provider.rs @@ -7,7 +7,7 @@ use eyre::Result; async fn main() -> Result<()> { // Spin up a forked Anvil node. // Ensure `anvil` is available in $PATH. - let rpc_url = "https://eth.merkle.io"; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc"; let provider = ProviderBuilder::new().on_anvil_with_config(|anvil| anvil.fork(rpc_url)); // Get node info using the Anvil API. diff --git a/examples/node-bindings/examples/anvil_set_storage_at.rs b/examples/node-bindings/examples/anvil_set_storage_at.rs index 1a913638..81fe3543 100644 --- a/examples/node-bindings/examples/anvil_set_storage_at.rs +++ b/examples/node-bindings/examples/anvil_set_storage_at.rs @@ -22,7 +22,7 @@ static WETH_ADDR: Address = address!("C02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2") async fn main() -> Result<()> { // Spin up a forked Anvil node. // Ensure `anvil` is available in $PATH. - let rpc_url = "https://eth.merkle.io"; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc"; let provider = ProviderBuilder::new().on_anvil_with_config(|anvil| anvil.fork(rpc_url)); // Create an instance of the WETH contract. diff --git a/examples/providers/examples/batch_rpc.rs b/examples/providers/examples/batch_rpc.rs index e405888a..fb5ca4fb 100644 --- a/examples/providers/examples/batch_rpc.rs +++ b/examples/providers/examples/batch_rpc.rs @@ -13,7 +13,7 @@ async fn main() -> Result<()> { // Ensure `anvil` is available in $PATH. let anvil = Anvil::new().spawn(); - // Swap this out with a RPC_URL provider that supports JSON-RPC batch requests. e.g. https://eth.merkle.io + // Swap this out with a RPC_URL provider that supports JSON-RPC batch requests. e.g. https://reth-ethereum.ithaca.xyz/rpc let rpc_url = anvil.endpoint_url(); // Create a HTTP transport. diff --git a/examples/providers/examples/http.rs b/examples/providers/examples/http.rs index d5c18b84..d632fba1 100644 --- a/examples/providers/examples/http.rs +++ b/examples/providers/examples/http.rs @@ -6,7 +6,7 @@ use eyre::Result; #[tokio::main] async fn main() -> Result<()> { // Create a provider with the HTTP transport using the `reqwest` crate. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let provider = ProviderBuilder::new().on_http(rpc_url); // Get latest block number. diff --git a/examples/providers/examples/http_with_auth.rs b/examples/providers/examples/http_with_auth.rs index 7df65ff6..30f066d3 100644 --- a/examples/providers/examples/http_with_auth.rs +++ b/examples/providers/examples/http_with_auth.rs @@ -24,7 +24,7 @@ async fn main() -> Result<()> { let client_with_auth = Client::builder().default_headers(headers).build()?; // Create the HTTP transport. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let http = Http::with_client(client_with_auth, rpc_url); let rpc_client = RpcClient::new(http, false); diff --git a/examples/providers/examples/multicall.rs b/examples/providers/examples/multicall.rs index 9c306a0f..99c62283 100644 --- a/examples/providers/examples/multicall.rs +++ b/examples/providers/examples/multicall.rs @@ -20,7 +20,7 @@ sol!( async fn main() -> eyre::Result<()> { // Create a new provider let provider = ProviderBuilder::new() - .on_anvil_with_wallet_and_config(|a| a.fork("https://eth.merkle.io"))?; + .on_anvil_with_wallet_and_config(|a| a.fork("https://reth-ethereum.ithaca.xyz/rpc"))?; // Create a new instance of the IWETH9 contract. let weth = IWETH9Instance::new(address!("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"), &provider); diff --git a/examples/providers/examples/multicall_batching.rs b/examples/providers/examples/multicall_batching.rs index 5e16bd32..f36d7f9a 100644 --- a/examples/providers/examples/multicall_batching.rs +++ b/examples/providers/examples/multicall_batching.rs @@ -31,7 +31,7 @@ async fn main() -> Result<()> { .layer(CallBatchLayer::new().wait(Duration::from_secs(10))) // Can also use the shorthand `with_call_batching` on the build which set the delay to 1ms. // .with_call_batching() - .on_anvil_with_wallet_and_config(|a| a.fork("https://eth.merkle.io"))?; + .on_anvil_with_wallet_and_config(|a| a.fork("https://reth-ethereum.ithaca.xyz/rpc"))?; // Create a new instance of the IWETH9 contract. let weth = diff --git a/examples/queries/examples/query_contract_storage.rs b/examples/queries/examples/query_contract_storage.rs index 2ab0f379..580a05a2 100644 --- a/examples/queries/examples/query_contract_storage.rs +++ b/examples/queries/examples/query_contract_storage.rs @@ -9,7 +9,7 @@ use eyre::Result; #[tokio::main] async fn main() -> Result<()> { // Create a provider. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let provider = ProviderBuilder::new().on_http(rpc_url); // Get storage slot 0 from the Uniswap V3 USDC-ETH pool on Ethereum mainnet. diff --git a/examples/queries/examples/query_deployed_bytecode.rs b/examples/queries/examples/query_deployed_bytecode.rs index 6ad302e2..d35af32a 100644 --- a/examples/queries/examples/query_deployed_bytecode.rs +++ b/examples/queries/examples/query_deployed_bytecode.rs @@ -9,7 +9,7 @@ use eyre::Result; #[tokio::main] async fn main() -> Result<()> { // Create a provider. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let provider = ProviderBuilder::new().on_http(rpc_url); // Get the bytecode of the Uniswap V3 USDC-ETH pool on Ethereum mainnet. diff --git a/examples/queries/examples/query_logs.rs b/examples/queries/examples/query_logs.rs index 6e39ba45..e3076d45 100644 --- a/examples/queries/examples/query_logs.rs +++ b/examples/queries/examples/query_logs.rs @@ -10,7 +10,7 @@ use eyre::Result; #[tokio::main] async fn main() -> Result<()> { // Create a provider. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let provider = ProviderBuilder::new().on_http(rpc_url); // Get logs from the latest block diff --git a/examples/transactions/examples/gas_price_usd.rs b/examples/transactions/examples/gas_price_usd.rs index 1501c68a..b95d552e 100644 --- a/examples/transactions/examples/gas_price_usd.rs +++ b/examples/transactions/examples/gas_price_usd.rs @@ -26,7 +26,7 @@ sol!( async fn main() -> Result<()> { // Spin up a forked Anvil node. // Ensure `anvil` is available in $PATH. - let rpc_url = "https://eth.merkle.io"; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc"; let provider = ProviderBuilder::new().on_anvil_with_config(|anvil| anvil.fork(rpc_url)); // Create a call to get the latest answer from the Chainlink ETH/USD feed. diff --git a/examples/transactions/examples/permit2_signature_transfer.rs b/examples/transactions/examples/permit2_signature_transfer.rs index 6d714fa4..363f97eb 100644 --- a/examples/transactions/examples/permit2_signature_transfer.rs +++ b/examples/transactions/examples/permit2_signature_transfer.rs @@ -63,7 +63,7 @@ impl From for ISignatureTransfer::PermitTransferFrom { async fn main() -> Result<()> { // Spin up a local Anvil node. // Ensure `anvil` is available in $PATH. - let rpc_url = "https://eth.merkle.io"; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc"; let anvil = Anvil::new().fork(rpc_url).try_spawn()?; // Set up signers from the first two default Anvil accounts (Alice, Bob). diff --git a/examples/transactions/examples/trace_call.rs b/examples/transactions/examples/trace_call.rs index 219264c3..72d09b7a 100644 --- a/examples/transactions/examples/trace_call.rs +++ b/examples/transactions/examples/trace_call.rs @@ -11,7 +11,7 @@ use eyre::Result; #[tokio::main] async fn main() -> Result<()> { // Create a provider. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let provider = ProviderBuilder::new().on_http(rpc_url); // Build a transaction to send 100 wei from Alice to Vitalik. diff --git a/examples/transactions/examples/trace_transaction.rs b/examples/transactions/examples/trace_transaction.rs index a897a574..5a102a60 100644 --- a/examples/transactions/examples/trace_transaction.rs +++ b/examples/transactions/examples/trace_transaction.rs @@ -14,7 +14,7 @@ use eyre::Result; async fn main() -> Result<()> { // Spin up a forked Anvil node. // Ensure `anvil` is available in $PATH. - let rpc_url = "https://eth.merkle.io"; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc"; let provider = ProviderBuilder::new().on_anvil_with_config(|anvil| anvil.fork(rpc_url)); // Hash of the tx we want to trace. diff --git a/examples/transactions/examples/transfer_erc20.rs b/examples/transactions/examples/transfer_erc20.rs index bb49b34a..49793c87 100644 --- a/examples/transactions/examples/transfer_erc20.rs +++ b/examples/transactions/examples/transfer_erc20.rs @@ -19,7 +19,7 @@ sol!( async fn main() -> Result<()> { // Spin up a forked Anvil node. // Ensure `anvil` is available in $PATH. - let rpc_url = "https://eth.merkle.io"; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc"; let provider = ProviderBuilder::new().on_anvil_with_wallet_and_config(|anvil| anvil.fork(rpc_url))?; diff --git a/examples/wallets/examples/ledger_signer.rs b/examples/wallets/examples/ledger_signer.rs index a03da059..d323f4c8 100644 --- a/examples/wallets/examples/ledger_signer.rs +++ b/examples/wallets/examples/ledger_signer.rs @@ -15,7 +15,7 @@ async fn main() -> Result<()> { let signer = LedgerSigner::new(HDPath::LedgerLive(0), Some(1)).await?; // Create a provider with the wallet. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let provider = ProviderBuilder::new().wallet(signer).on_http(rpc_url); // Build a transaction to send 100 wei from Alice to Vitalik. diff --git a/examples/wallets/examples/trezor_signer.rs b/examples/wallets/examples/trezor_signer.rs index 40e08a12..506ce137 100644 --- a/examples/wallets/examples/trezor_signer.rs +++ b/examples/wallets/examples/trezor_signer.rs @@ -15,7 +15,7 @@ async fn main() -> Result<()> { let signer = TrezorSigner::new(HDPath::TrezorLive(0), Some(1)).await?; // Create a provider with the wallet. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let provider = ProviderBuilder::new().wallet(signer).on_http(rpc_url); // Build a transaction to send 100 wei from Alice to Vitalik. diff --git a/examples/wallets/examples/yubi_signer.rs b/examples/wallets/examples/yubi_signer.rs index 687a5d90..3d0fa583 100644 --- a/examples/wallets/examples/yubi_signer.rs +++ b/examples/wallets/examples/yubi_signer.rs @@ -24,7 +24,7 @@ async fn main() -> Result<()> { let signer = YubiSigner::connect(connector, Credentials::default(), 0); // Create a provider with the wallet. - let rpc_url = "https://eth.merkle.io".parse()?; + let rpc_url = "https://reth-ethereum.ithaca.xyz/rpc".parse()?; let provider = ProviderBuilder::new().wallet(signer).on_http(rpc_url); // Build a transaction to send 100 wei from Alice to Vitalik.