Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deleted deprecated testnets, added Alchemy Goerli #3423

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions docs.wrm/api/providers/api-providers.wrm
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ It is highly recommended for production, you register with
_definition: **Supported Networks**

- ``homestead`` - Homestead (Mainnet)
- ``ropsten`` - Ropsten (proof-of-work testnet)
- ``rinkeby`` - Rinkeby (proof-of-authority testnet)
- ``goerli`` - Görli (clique testnet)
- ``kovan`` - Kovan (proof-of-authority testnet)

_code: Etherscan Examples @lang<javascript>

Expand All @@ -54,10 +51,10 @@ _code: Etherscan Examples @lang<javascript>
provider = new EtherscanProvider();

// Connect to rinkeby testnet (these are equivalent)
provider = new EtherscanProvider("rinkeby");
provider = new EtherscanProvider("goerli");
provider = new EtherscanProvider(4);

network = ethers.providers.getNetwork("rinkeby");
network = ethers.providers.getNetwork("goerli");
//_hide: delete network._defaultProvider;
//_log: network

Expand Down Expand Up @@ -107,16 +104,12 @@ It is highly recommended for production, you register with
_definition: **Supported Networks**

- ``homestead`` - Homestead (Mainnet)
- ``ropsten`` - Ropsten (proof-of-work testnet)
- ``rinkeby`` - Rinkeby (proof-of-authority testnet)
- ``goerli`` - G&ouml;rli (clique testnet)
- ``kovan`` - Kovan (proof-of-authority testnet)
- ``matic`` - Polygon
- ``maticmum`` - Polygon Mumbai Testnet
- ``optimism`` - Optimism (L2; optimistic roll-up)
- ``optimism-kovan`` - Optimism Testnet (L2; optimistic roll-up testnet)
- ``arbitrum`` - Arbitrum (L2; optimistic roll-up)
- ``arbitrum-rinkeby`` - Arbitrum Testnet (L2; optimistic roll-up testnet)

_code: INFURA Examples @lang<javascript>

Expand Down Expand Up @@ -168,16 +161,11 @@ It is highly recommended for production, you register with
_definition: **Supported Networks**

- ``homestead`` - Homestead (Mainnet)
- ``ropsten`` - Ropsten (proof-of-work testnet)
- ``rinkeby`` - Rinkeby (proof-of-authority testnet)
- ``goerli`` - G&ouml;rli (clique testnet)
- ``kovan`` - Kovan (proof-of-authority testnet)
- ``matic`` - Polygon
- ``maticmum`` - Polygon Mumbai Testnet
- ``optimism`` - Optimism (L2; optimistic roll-up)
- ``optimism-kovan`` - Optimism Testnet (L2; optimistic roll-up testnet)
- ``arbitrum`` - Arbitrum (L2; optimistic roll-up)
- ``arbitrum-rinkeby`` - Arbitrum Testnet (L2; optimistic roll-up testnet)

_code: Alchemy Examples @lang<javascript>

Expand All @@ -189,7 +177,7 @@ provider = new AlchemyProvider();

// Connect to the ropsten testnet
// (see EtherscanProvider above for other network examples)
provider = new AlchemyProvider("ropsten");
provider = new AlchemyProvider("goerli");

// Connect to mainnet with an API key (these are equivalent)
provider = new AlchemyProvider(null, apiKey);
Expand Down Expand Up @@ -241,8 +229,6 @@ It is highly recommended for production, you register with
_definition: **Supported Networks**

- ``homestead`` - Homestead (Mainnet)
- ``ropsten`` - Ropsten (proof-of-work testnet)
- ``rinkeby`` - Rinkeby (proof-of-authority testnet)
- ``goerli`` - G&ouml;rli (clique testnet)

_code: Pocket Examples @lang<javascript>
Expand Down
2 changes: 1 addition & 1 deletion docs.wrm/api/providers/index.wrm
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ There are several official common Ethereum networks as well as custom
networks and other compatible projects.

Any API that accept a [[providers-Networkish]] can be passed a common
name (such as ``"mainnet"`` or ``"ropsten"``) or chain ID to use that
name (such as ``"mainnet"`` or ``"goerli"``) or chain ID to use that
network definition or may specify custom parameters.

_property: ethers.providers.getNetwork(aNetworkish) => [[providers-Network]]
Expand Down