From 5005a3621aa82d360c293a61a8fb94f889b5392c Mon Sep 17 00:00:00 2001 From: MistApproach <98988043+MistApproach@users.noreply.github.com> Date: Fri, 4 Feb 2022 15:58:53 +0100 Subject: [PATCH] Hide Infura API key from docs (#863) --- ethers-providers/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-providers/README.md b/ethers-providers/README.md index ca1f7f77..39393314 100644 --- a/ethers-providers/README.md +++ b/ethers-providers/README.md @@ -15,7 +15,7 @@ use std::convert::TryFrom; # async fn foo() -> Result<(), Box> { let provider = Provider::::try_from( - "https://mainnet.infura.io/v3/c60b0bb42f8a4c6481ecd229eddaca27" + "https://mainnet.infura.io/v3/YOUR_API_KEY" )?; let block = provider.get_block(100u64).await?; @@ -53,7 +53,7 @@ method on the provider. # use std::convert::TryFrom; # async fn foo() -> Result<(), Box> { # let provider = Provider::::try_from( -# "https://mainnet.infura.io/v3/c60b0bb42f8a4c6481ecd229eddaca27" +# "https://mainnet.infura.io/v3/YOUR_API_KEY" # )?; // Resolve ENS name to Address let name = "vitalik.eth";