From fb92c432dbd32a0c8e0eb2dd2ae7aea30703da06 Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Thu, 15 Aug 2024 16:38:40 +0100 Subject: [PATCH] Updating instructions about private key --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4b21a01b4..83acbd50c 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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