|
10 | 10 | - [Tutorials \& examples](#tutorials--examples)
|
11 | 11 | - [Quickstart](#quickstart)
|
12 | 12 | - [Requirements](#requirements)
|
13 |
| - - [Steps on live testnet](#steps-on-live-testnet) |
| 13 | + - [Steps on Live (Public) Testnets](#steps-on-live-public-testnets) |
14 | 14 | - [Steps on local testnet](#steps-on-local-testnet)
|
15 | 15 | - [Environment Variable Management](#environment-variable-management)
|
16 | 16 | - [Using Remote Secrets (e.g. Github Gists)](#using-remote-secrets-eg-github-gists)
|
@@ -49,22 +49,26 @@ In order to set up your own project which uses Chainlink Functions, please refer
|
49 | 49 | ## Supported Networks
|
50 | 50 |
|
51 | 51 | > ⚠️⚠️⚠️
|
52 |
| -> As at 13 April 2024, Mumbai (anchored to Goerli) stopped producing blocks. Mumbai's deprecation had been announced in favour of a new Amoy testnet, anchored to Sepolia. |
53 |
| -> Amoy support is coming soon, and in the meanwhile we recommend you use the Ethereum Sepolia testnet or the Avalanche Fuji testnet for Functions related projects. Please refer to docs.chain.link to find the latest information on networks that support Chainlink services. |
| 52 | +> As at 13 April 2024, Mumbai (anchored to Goerli) stopped producing blocks. Mumbai's deprecation had been announced in favour of a new Amoy testnet, anchored to Sepolia. |
54 | 53 |
|
55 | 54 | ### Mainnets
|
56 | 55 |
|
57 |
| -- Ethereum : `ETHEREUM_RPC_URL`, `--network ethereum` |
58 |
| -- Polygon : `POLYGON_RPC_URL`, `--network polygon` |
59 |
| -- Avalanche : `AVALANCHE_RPC_URL`, `--network avalanche` |
60 |
| -- Arbitrum : `ARBITRUM_RPC_URL`, `--network arbitrum` |
| 56 | +- Ethereum : `ETHEREUM_RPC_URL`, `--network ethereum`, `ETHERSCAN_API_KEY` |
| 57 | +- Polygon : `POLYGON_RPC_URL`, `--network polygon`, `POLYGONSCAN_API_KEY` |
| 58 | +- Avalanche : `AVALANCHE_RPC_URL`, `--network avalanche`, `SNOWTRACE_API_KEY` |
| 59 | +- Arbitrum : `ARBITRUM_RPC_URL`, `--network arbitrum`, `ARBISCAN_API_KEY` |
| 60 | +- Base : `BASE_RPC_URL`, `--network base`, `BASESCAN_API_KEY` |
| 61 | +- Celo : `CELO_RPC_URL`, `--network celo`, `CELOSCAN_API_KEY` |
61 | 62 |
|
62 | 63 | ### Testnets
|
63 | 64 |
|
64 |
| -- Ethereum Sepolia: `ETHEREUM_SEPOLIA_RPC_URL`, `--network ethereumSepolia` |
65 |
| -- Polygon Mumbai: `POLYGON_MUMBAI_RPC_URL`, `--network polygonMumbai` |
66 |
| -- Avalanche Fuji: `AVALANCHE_FUJI_RPC_URL`, `--network avalancheFuji` |
67 |
| -- Arbitrum Sepolia: `ARBITRUM_SEPOLIA_RPC_URL`, `--network arbitrumSepolia` |
| 65 | +- Ethereum Sepolia: `ETHEREUM_SEPOLIA_RPC_URL`, `--network ethereumSepolia`, `ETHERSCAN_API_KEY` |
| 66 | +- Polygon Amoy: `POLYGON_AMOY_RPC_URL`, `--network polygonAmoy`, `POLYGONSCAN_API_KEY` |
| 67 | +- Avalanche Fuji: `AVALANCHE_FUJI_RPC_URL`, `--network avalancheFuji`, `SNOWTRACE_API_KEY` |
| 68 | +- Arbitrum Sepolia: `ARBITRUM_SEPOLIA_RPC_URL`, `--network arbitrumSepolia`, `ARBISCAN_API_KEY` |
| 69 | +- Base Sepolia: `BASE_SEPOLIA_RPC_URL`, `--network baseSepolia`, `BASESCAN_API_KEY` |
| 70 | +- Optimism Sepolia: `OPTIMISM_SEPOLIA_RPC_URL`, `--network optimismSepolia`, `OP_ETHERSCAN_API_KEY` |
| 71 | +- Celo Alfajores: `CELO_ALFAJORES_RPC_URL`, `--network celoAlfajores`, `CELOSCAN_API_KEY` |
68 | 72 |
|
69 | 73 | ## For Beginners
|
70 | 74 |
|
@@ -94,7 +98,7 @@ Install **both** of the following:
|
94 | 98 | 1. Clone this repository to your local machine<br><br>. Also ensure that the testnet your wanting to deploy on is [supported](https://docs.chain.link/chainlink-functions/supported-networks) by Chainlink Functions.
|
95 | 99 | 2. Open this directory in your command line/terminal app, then run `npm install` to install all dependencies.<br><br>
|
96 | 100 | 3. Obtain the values for following environment variables (examples only - please see `./env.enc.example` for env vars you may need):
|
97 |
| - - `PRIVATE_KEY` for your development wallet - `POLYGON_MUMBAI_RPC_URL`, `ETHEREUM_SEPOLIA_RPC_URL`, or `AVALANCHE_FUJI_RPC_URL` |
| 101 | + - `PRIVATE_KEY` for your development wallet - `POLYGON_AMOY_RPC_URL`, `ETHEREUM_SEPOLIA_RPC_URL`, or `AVALANCHE_FUJI_RPC_URL` |
98 | 102 | - `POLYGONSCAN_API_KEY`, `ETHERSCAN_API_KEY`, or `FUJI_SNOWTRACE_API_KEY` blockchain explore API keys depending on which network you're using
|
99 | 103 | - `COINMARKETCAP_API_KEY` (from [here](https://pro.coinmarketcap.com/))
|
100 | 104 | <br><br>
|
|
0 commit comments