This tutorial assumes you are completely new to Alchemy, but that you want to get applications and API keys to use with OP Mainnet or OP Goerli.
The first step is to register for a free Alchemy account.
-
Browse to Alchemy, enter user information, and click Sign up.
-
Go to your e-mail and click VERIFY EMAIL.
-
Fill up the requested information (team, type of project, etc.).
-
When asked for chain select Optimism and click Next.
-
Select the free plan and click Next.
-
Either enter payment details or click Skip for now.
-
Enter where you heard about Alchemy and click Let's Build!.
The next step is to create applications and get their API keys.
-
Browse to the Alchemy dashboard.
-
Click +CREATE APP.
-
Specify a name, select the chain Optimism and the network Optimism Goerli.
-
Click CREATE APP.
-
Click VIEW KEY in the Testnet-L2 line
-
Copy the API Key.
Alternatively, if you need a URL, copy the HTTPS definition.
Follow the same instructions as for OP Goerli, but select the chain Ethereum and the network Goerli.