Skip to content

Commit

Permalink
Updating instructions about private key
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehewitt15 committed Aug 15, 2024
1 parent 632995c commit fb92c43
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Build and run the node using Docker:

```bash
docker build -t ocean-node:mybuild . # Build the Docker image
docker run -e PRIVATE_KEY=your_private_key_here ocean-node:mybuild # Start container
# Make sure you include 0x at the start of the private key
docker run -e PRIVATE_KEY=0x_your_private_key_here ocean-node:mybuild # Start container
```

## Option 2: Running Ocean Nodes with PM2
Expand Down Expand Up @@ -91,10 +92,10 @@ source .env
Manually set the required environment variables:

```bash
export PRIVATE_KEY="your_private_key_here"
export PRIVATE_KEY="0x_your_private_key_here"
```

The `PRIVATE_KEY` is the only mandatory environmental variable. Additional configurations can be set as needed. For all available configurations, refer to the [Environment Variables](docs/env.md) documentation.
The `PRIVATE_KEY` is the only mandatory environmental variable, you must include the `0x` at the front of your private key. Additional configurations can be set as needed. For all available configurations, refer to the [Environment Variables](docs/env.md) documentation.

### 5. Start the Node

Expand Down

0 comments on commit fb92c43

Please sign in to comment.