Monetize your computer's storage now!
💽 Datakeepers offer their unused storage space to DeNet Storage users, creating a mutually beneficial conditions for all without any intermediaries.
By utilizing the DeNet Storage Protocol, users pay for the storage they need, while Datakeepers are rewarded for the storage they provide.
This guide walks you through setting up and running a DeNet Node, enabling your device to join the DeNet decentralized storage network
- A wallet address (DeNet app/Metamask/any other wallet) holding a Datakeeper Node License.
- Device with free disk space for storing DeNet user data.
- Terminal access (Command Prompt/PowerShell on Windows, Terminal on macOS/Linux).
- DeNet Node application downloaded.
- PEAQ balance: tokens will be distributed to Datakeepers automatically and will be regularly credited for successfully completed transactions, if the node is running and does not disconnect from the network, no deposits will be required.
- Open https://peaq.subscan.io/account/YOUR_ADDRESS
- Replace YOUR_ADDRESS with your wallet address.
- The license(s) should be seen as a sNL ERC-721 token.
You need the private key from a wallet with a Datakeeper Node License.
- Open the DeNet app.
- Go to "Profile" -> "Settings"-> “Security”.
- Copy the 64-character HEX private key (e.g., a1b2c3d4...).
- Save it securely. Never share your private key!
- Open Metamask in your browser or app.
- Select the account with the Datakeeper Node License.
- Go to "Account Details" > "Export Private Key."
- Enter your Metamask password and copy the private key.
- Store it securely! Do not share it anywhere!
If you use any other wallet, the steps may differ but should be similar to the list above.
-
Download the latest application executable for your OS (Linux, macOS, or Windows)
macOS: use amd64 for Intel hardware, arm64 for Apple Silicon.
-
Copy application to another directory. Example:
- macOS/Linux: copy denode executable to
~/denet/
directory - Windows: copy to
C:\denet\
directory
- macOS/Linux: copy denode executable to
Launch the node via a terminal.
- Open Terminal: Use Ctrl + Alt + T or your terminal shortcut. Or SSH to your remote host.
- Run the following commands to create folder, copy and run denode
curl -LO https://github.com/DeNetPRO/Node/releases/download/v4.0.0-rc1/denode-linux-amd64
mkdir ~/denet
cp denode-linux-amd64 ~/denet/denode
cd ~/denet
chmod +x denode
- Open "Terminal" via Spotlight or Applications
- Run the following commands to create folder, copy and run denode
curl -LO https://github.com/DeNetPRO/Node/releases/download/v4.0.0-rc1/denode-macos-amd64
mkdir ~/denet
cp ~/Downloads/denode-macos-amd64 ~/denet/denode
cd ~/denet
chmod +x denode
xattr -d com.apple.quarantine denode
- Enter private key: Paste the copied private key and press Enter.
- The key is stored securely on your device, encrypted with this password.
- Set Password: Enter a strong password
- The private key is encrypted with the password.
- Choose Port: Press Enter for the default one
- Or specify another (value from 10000 to 65535)
- Specify Storage Directory: Enter path to the user files storage
- e.g., /home/user/denet_storage (Linux/macOS) or C:\denet_storage (Windows).
- Ensure the directory exists and has sufficient space.
- Set Storage Space:
- Specify the amount of disk space to allocate for DeNet Storage (e.g., 10). Enter the value (only number, without GiB) when prompted.
- Optional Second Drive: Enter 'N' to skip.
- Or if you want to use another drive, provide its path when prompted.
- Select RPC for peaq Blockchain: Press Enter to use default one.
- Or choose the RPC endpoint (Select RPC for peaq (ChainID: 3338)).
- Verify Operation:
Track your node’s activity using the peaq Subscan web interface.
- Visit the peaq Subscan website (e.g., https://peaq.subscan.io/account/YOUR_ADDRESS).
- Search for your node’s transactions using your Datakeeper address.
- Check transaction statuses. Green check marks indicate successful transactions, confirming your node is working correctly.
- Errors in Terminal: Carefully check error message. Most of the errors are related to the lack of Internet, insufficient balance of gas tokens, or the result of manually changing the data generated by the node. Ask for help from community members or contact support in Discord.
- Failed Transactions in Subscan: There may be some unusual situations where transactions fail. If you encounter such cases, please open a support ticket.
- Port Conflicts: If port 55050 is in use, try another port (e.g., 55051)
- Subscan Issues: If transactions don’t appear, confirm your node is running and has enough gas tokens (> 0.03 $PEAQ).
- Not Opened macOS:
- Permission denied
user@desktop:~/denet$ ./denode -bash: ./denode: Permission denied
- Allow execution by running
chmod +x denode
- Allow execution by running
- Keep your terminal open to maintain the node’s operation. Closing it stops the node. Otherwise, set up the node as a background service (see Advanced Settings: Systemd Service).
- Additional steps (e.g., advanced settings) will be added as needed — check for updates from DeNet.
Congratulations, Datakeeper! Your DeNet Node is now contributing to the decentralized storage network.
A graphical user interface (GUI) for seamless node operation coming soon. Stay tuned!
- It is recommended to run as non-root user.
- Follow Step 4 first.
You should have config files in the path
/home/denet/.denode/
- We used denet user as an example, replace it with your username.
/etc/systemd/system/denode.service
[Unit]
Description=DeNode Service
After=network.target
[Service]
User=denet
Group=denet
Type=simple
ExecStart=/usr/local/bin/denode
EnvironmentFile=/home/denet/denode.env
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
/home/denet/denode.env
DENODE_PASSWORD='your password'
Run the following commands to enable startup and run node
sudo systemctl daemon-reload
sudo systemctl enable denode.service
sudo systemctl start denode.service
Now your node will be running and start at boot.
View latest logs
journalctl -u denode -r
-
Remove old credentials and configurations, they should be imported from scratch:
rm -rf ~/.denode
-
For Linux/macOS: Download installation and management scripts from the scripts directory
install.sh denode-manager.sh
- Download archive for your system from https://github.com/DeNetPRO/Node/releases as well as for denode
denode-manager-win-amd64.msi
denode-manager-linux-amd64.zip denode-manager-linux-arm64.zip
denode-manager-darwin-amd64.zip denode-manager-darwin-arm64.zip
- Open terminal as for denode installation
- Allow scripts execution on this device
cd ~/Downloads chmod +x install.sh denode-manager.sh
- Run installation script that will install the application in ~/.denode-manager by default
sudo bash install.sh
- Then start the application and check its state using denode-manager.sh script
sudo bash denode-manager.sh
Use .msi installer
- Open browser and go to http://localhost:1111
- Application should always be running in the background, otherwise the application will not work, check the status using denode-manager.sh script (Mac/Linux)
- You shouldn't use both CLI and GUI at the same time, otherwise you will get an undefined applications behaviour.
- We recommend to change rpc to the private one exactly after the node launch. It will allow to avoid problems with the default version limitations.