Skip to content

Commit 0bd34ca

Browse files
Refresh instructions (#24)
1 parent d11b23a commit 0bd34ca

File tree

1 file changed

+18
-25
lines changed

1 file changed

+18
-25
lines changed

readme.md

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
💽 **Datakeepers** offer their unused storage space to DeNet Storage users, creating a mutually beneficial conditions for all without any intermediaries. \
2424
By utilizing the DeNet Storage Protocol, users pay for the storage they need, while Datakeepers are rewarded for the storage they provide.
2525

26-
# Becoming Datakeeper: node set up instruction
26+
# Becoming Datakeeper: Node Set Up Instructions
2727

2828
This guide walks you through setting up and running a DeNet Node, enabling your device to join the DeNet decentralized storage network
2929

@@ -114,7 +114,7 @@ Launch the node via a terminal.
114114
Or SSH to your remote host.
115115
2. Run the following commands to create folder, copy and run denode
116116
```bash
117-
curl -LO https://github.com/DeNetPRO/Node/releases/download/v4.0.0-rc1/denode-linux-amd64
117+
curl -LO https://github.com/DeNetPRO/Node/releases/download/v4.0.1-rc5/denode-linux-amd64
118118
mkdir ~/denet
119119
cp denode-linux-amd64 ~/denet/denode
120120
cd ~/denet
@@ -127,7 +127,7 @@ chmod +x denode
127127
![](assets/mac-terminal.png)
128128
2. Run the following commands to create folder, copy and run denode
129129
```bash
130-
curl -LO https://github.com/DeNetPRO/Node/releases/download/v4.0.0-rc1/denode-macos-amd64
130+
curl -LO https://github.com/DeNetPRO/Node/releases/download/v4.0.1-rc5/denode-macos-amd64
131131
mkdir ~/denet
132132
cp ~/Downloads/denode-macos-amd64 ~/denet/denode
133133
cd ~/denet
@@ -138,25 +138,27 @@ xattr -d com.apple.quarantine denode
138138

139139
## Step 4: Run DeNet Node
140140
1. **Enter private key**: Paste the copied private key and press Enter.
141-
- The key is stored securely on your device, encrypted with this password.
141+
- The key is stored securely on your device, encrypted with this password.
142142

143143
2. **Set Password**: Enter a strong password
144-
- The private key is encrypted with the password.
144+
- The private key is encrypted with the password.
145145

146146
3. **Choose Port**: Press Enter for the default one
147-
- Or specify another (value from 10000 to 65535)
147+
- Or specify another (value from 10000 to 65535)
148148
4. **Specify Storage Directory**: Enter path to the user files storage
149-
- **e.g.**, /home/user/denet_storage (Linux/macOS) or C:\denet_storage (Windows).
150-
- Ensure the directory exists and has sufficient space.
149+
- **e.g.**, /home/user/denet_storage (Linux/macOS) or C:\denet_storage (Windows).
150+
- Ensure the directory exists and has sufficient space.
151+
- NOTE: use different storage paths for managing different licenses
152+
- **e.g.**, `/home/user/denet_storage_1` for license with id 1, `/home/user/denet_storage_2` for license with id 2, etc.
151153
5. **Set Storage Space**:
152-
- Specify the amount of disk space to allocate for DeNet Storage (e.g., 10). Enter the value (only number, without GiB) when prompted.
154+
- Specify the amount of disk space to allocate for DeNet Storage (e.g., 10). Enter the value (only number, without GiB) when prompted.
153155
7. **Optional Second Drive**: Enter 'N' to skip.
154-
- Or if you want to use another drive, provide its path when prompted.
156+
- Or if you want to use another drive, provide its path when prompted.
155157
8. **Select RPC for peaq Blockchain**: Press Enter to use default one.
156-
- Or choose the RPC endpoint (Select RPC for peaq (ChainID: 3338)).
158+
- Or choose the RPC endpoint (Select RPC for peaq (ChainID: 3338)).
157159
9. **Verify Operation**:
158-
- Watch the terminal output. If no errors appear, your DeNet Node is running correctly.
159-
![](assets/successful-launch.png)
160+
- Watch the terminal output. If no errors appear, your DeNet Node is running correctly.
161+
![](assets/successful-launch.png)
160162

161163
## Step 5: Monitor Transactions
162164

@@ -194,7 +196,7 @@ A graphical user interface (GUI) for seamless node operation coming soon. Stay t
194196
#### Systemd service (Linux)
195197
- It is recommended to run as non-root user.
196198
- Follow [Step 4](#step-4-run-denet-node) first.
197-
You should have config files in the path `/home/denet/.denode/`
199+
You should have config files in the path `/home/denet/.denode/` (could be generated interactively in the console by running ./denode)
198200
- We used **denet** user as an example, replace it with your username.
199201

200202
**/etc/systemd/system/denode.service**
@@ -207,7 +209,7 @@ After=network.target
207209
User=denet
208210
Group=denet
209211
Type=simple
210-
ExecStart=/usr/local/bin/denode
212+
ExecStart=/usr/local/bin/denode --address 'your Datakeeper account ethereum address' --license 'id of the one of the owned licenses'
211213
EnvironmentFile=/home/denet/denode.env
212214
Restart=always
213215
RestartSec=5
@@ -282,16 +284,7 @@ Now your node will be running and start at boot.
282284
## Installation
283285

284286
## Step 0: Prepare environment
285-
1. Remove old credentials and configurations, they should be imported from scratch:
286-
### Linux/macOS
287-
```shell
288-
rm -rf ~/.denode
289-
```
290-
### Windows
291-
Use cmd or graphical user interface to remove the folder.
292-
![](assets/win-rm-denode.png)
293-
294-
2. For **Linux/macOS**: Download installation and management scripts from the [scripts](https://github.com/DeNetPRO/Node) directory
287+
1. For **Linux/macOS**: Download installation and management scripts from the [scripts](https://github.com/DeNetPRO/Node) directory
295288
```shell
296289
install.sh
297290
denode-manager.sh

0 commit comments

Comments
 (0)