Skip to content

Commit

Permalink
Add infura endpoint steps
Browse files Browse the repository at this point in the history
  • Loading branch information
habsul-rignyr committed Feb 2, 2024
1 parent cb7fbc4 commit 9379cfa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
Binary file added src/assets/active_endpoints_infura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/create_endpoint_infura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/my_first_key_infura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 16 additions & 1 deletion src/login.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,32 @@ Copy the WebSocket API key from the API Key button:

![Alchemy API Key](./assets/alchemy-api-key.png)

### Alternative to Alchemy

As an alternative to using Alchemy's RPC API key, [Infura's](https://app.infura.io) endpoints may be used. Upon creating an Infura account, the first key is already created and titled 'My First Key'. Click on the title to edit the key.

![Infura My First Key](./assets/my_first_key_infura.png)

Next, check the box next to Ethereum "SEPOLIA" or Optimism "MAINNET" according to whichever is needed. After one is chosen, click "SAVE CHANGES". Then, at the top, click "Active Endpoints".

![Create Endpoint Infura](./assets/create_endpoint_infura.png)

On the "Active Endpoints" tab, there are tabs for "HTTPS" and "WebSockets". Select the WebSockets tab. Copy this endpoint and use it in place of the Alchemy endpoint in the following step, "Running the Binary".

![Active Endpoints Infura](./assets/active_endpoints_infura.png)

### Running the Binary

Replace the `--rpc` field below with the WebSocket API key link copied from [the previous step](#acquiring-an-rpc-api-key), and start the node with:

```bash
# For Optimism mainnet
./kinode home --rpc wss://opt-mainnet.g.alchemy.com/v2/<your-api-key>

# For Sepolia testnet
./kinode home --rpc wss://eth-sepolia.g.alchemy.com/v2/<your-api-key>
```

(See runtime README if you wish to boot on Optimism mainnet)

A new browser tab should open, but if not, look in the terminal for a line like
Expand Down Expand Up @@ -145,7 +161,6 @@ After clicking `Register .os name`, click through the wallet prompts to send the

![Register wallet prompt](./assets/register-wallet-prompt.png)


### What Does the Password Do?

The password encrypts the node's networking key.
Expand Down

0 comments on commit 9379cfa

Please sign in to comment.