Introduction
There are many different Web3 networks, each with its own advantages and disadvantages. In this article, we will help you choose the right Web3 network for you. Alchemy currently supports Ethereum, Polygon, Arbitrum, Optimism, Astar and Solana networks.
Layer 1 vs. Layer 2
Layer 1 blockchain networks are the foundation of the blockchain ecosystem. They are the most secure and decentralized form of blockchain technology. Layer 2 blockchain networks are built on top of layer 1 blockchain networks and provide additional features and functionality often at the cost of security.
Layer 1 Networks supported by Alchemy
- Ethereum: Ethereum is a decentralized platform that runs smart contract applications that run exactly as programmed without any possibility of fraud or third-party interference.
- Solana: Solana is a high-performance blockchain network designed to support large-scale decentralized applications. The Solana protocol is optimized for performance, security, and scalability, and can process tens of thousands of transactions per second.
Layer 2 Networks supported by Alchemy
- Polygon: Polygon is a decentralized network that enables fast and secure transactions of Ethereum-based assets. The network is composed of a group of Ethereum smart contracts that work together to provide a scalable, low-cost solution for transactions.
- Arbitrum: Arbitrum is a separate chain built on top of Ethereum as a smart contract that supports faster transaction times, higher throughput, lower gas costs, and many more benefits. Activity and transactions are ultimately relayed to the Layer 1 chain from Arbitrum through optimistic rollups.
- Optimism: Optimism is an Optimistic Rollup built on top of Ethereum, so it is compatible with all existing Ethereum dapps. In addition, Optimism is designed to be scalable, so it can handle a large number of transactions without compromising security or performance.
- Astar: Astar is a parachain that connects the Polkadot blockchain to all major Layer-1 chains, including Ethereum.
Mainnet vs. Testnet
Every blockchain (including both Layer 1s and Layer 2s) has a mainnet. The mainnet is the blockchain that actually carries out real-world transactions and events for the public. This is different from a testnet, which is used to test out those transactions and events before putting them into production. You can add a network to a self-custody wallet like Metamask if you know its Chain ID & RPC URL. Now, let's take a look at some of the mainnets & testnets that you can add to your self-custody wallet.
Networks & their details
📘Note on Public RPC Endpoints
Public RPC Endpoints are good for testing purposes but not good for development or production environments. They are publicly known and often go down, so it's better to sign up for a free Alchemy developer account and get your own API keys to interact with the blockchains.
Ethereum
Ethereum Mainnet
- Chain ID: 1
- Currency: ETH
- Block Explorer: https://etherscan.io/
- RPC URL: https://eth-mainnet.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://eth-mainnet.g.alchemy.com/v2/demo
Sepolia Testnet
- Chain ID: 11155111
- Currency: ETH
- Block Explorer: https://sepolia.etherscan.io
- RPC URL: https://eth-sepolia.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://eth-sepolia.g.alchemy.com/v2/demo
- Faucet: https://sepoliafaucet.com/
Goerli Testnet
🚧Choosing a testnet
Please note that the Ethereum Foundation has announced that Goerli will soon be deprecated. Please refer to the last section of this page on which testnet to best use.
- Chain ID: 5
- Currency: ETH
- Block Explorer: https://goerli.etherscan.io/
- RPC URL: https://eth-goerli.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://eth-goerli.g.alchemy.com/v2/demo
- Faucet: https://goerlifaucet.com/
Polygon
Polygon Mainnet
- Chain ID: 137
- Currency: MATIC
- Block Explorer: https://polygonscan.com/
- RPC URL: https://polygon-mainnet.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://rpc-mainnet.matic.network
Polygon Mumbai Testnet
- Chain ID: 80001
- Currency: MATIC
- Block Explorer: https://mumbai.polygonscan.com/
- RPC URL: https://polygon-mumbai.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://polygon-mumbai.g.alchemy.com/v2/demo
- Faucet: https://mumbaifaucet.com/
Optimism
Optimism Mainnet
- Chain ID: 10
- Currency: ETH
- Block Explorer: https://optimistic.etherscan.io/
- RPC URL: https://opt-mainnet.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://mainnet.optimism.io/
Optimism Goerli Testnet
- Chain ID: 420
- Currency: ETH
- Block Explorer: https://blockscout.com/optimism/goerli/
- RPC URL: https://opt-goerli.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://goerli.optimism.io
Arbitrum
Arbitrum Mainnet
- Chain ID: 42161
- Currency: ETH
- Block Explorer: https://arbiscan.io/
- RPC URL: https://arb-mainnet.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://arb1.arbitrum.io/rpc
Arbitrum Nova
- Chain ID: 42170
- Currency: ETH
- Block Explorer: https://nova.arbiscan.io/
- Public RPC Endpoint: https://nova.arbitrum.io/rpc
- Faucet: https://novafaucet.com/
Arbitrum Goerli
- Chain ID: 421613
- Currency: AGOR
- Block Explorer: https://testnet.arbiscan.io/
- RPC URL: https://goerli-rollup.arbitrum.io/rpc
- Public RPC Endpoint: https://goerli-rollup.arbitrum.io/rpc
Astar
Astar Mainnet
- Chain ID: 592
- Currency: ETH
- Block Explorer: https://blockscout.com/astar
- RPC URL: https://astar-mainnet.g.alchemy.com/v2/your-alchemy-api-key
- Public RPC Endpoint: https://evm.astar.network
Solana
Solana Mainnet
In order to configure and use Solana, you will require a Solana wallet like Phantom. Once you set-up your wallet you will be ready to use the Solana Mainnet.
Solana Devnet
In order to configure and use Solana Devnet, you will require a Solana wallet like Phantom.
To configure the Solana Devnet, create a new Alchemy app and set the chain to Solana and network to Devnet. On the app's dashboard page, click on Add to Wallet to add Devnet to your Phantom wallet. The faucet for Solana devnet is Solfaucet.
Which Ethereum Testnet Should I use?
We recommend using the Sepolia Testnet as all other testnets on Ethereum are deprecated. While you can use the Goerli Testnet, we caution against it as the Ethereum Foundation has announced that Goerli will soon be deprecated.
Should you need to test ETH, here is our free faucets for Sepolia (recommended).