Skip to content
/ Node Public

DeNet Storage is a decentralized cloud storage powered by users and Datakeepers who rent out their disk space. Datakeepers can earn rewards by providing storage capacity and sending proofs of stored data. This repository provides instructions on how to set up a DeNet node, become an online Datakeeper, and start earning rewards for your contribution

Notifications You must be signed in to change notification settings

DeNetPRO/Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 

Repository files navigation

Monetize your computer's storage now!

website.png tg.png discord.png youtube.png

πŸ’½ 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.

Becoming Datakeeper: node set up instruction

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

Table of contents:

Requirements

  • 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.

Step 0: Verify your account has license

Step 1: Copy Your Private Key

You need the private key from a wallet with a Datakeeper Node License.

From DeNet App

  1. Open the DeNet app.
  2. Go to "Profile" -> "Settings"-> β€œSecurity”.
  3. Copy the 64-character HEX private key (e.g., a1b2c3d4...).
  4. Save it securely. Never share your private key!

From other wallet (we take Metamask as an example)

  1. Open Metamask in your browser or app.
  2. Select the account with the Datakeeper Node License.
  3. Go to "Account Details" > "Export Private Key."
  4. Enter your Metamask password and copy the private key.
  5. 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.

Step 2: Download Datakeeper Node

  1. Visit https://github.com/DeNetPRO/Node/releases

  2. Download the latest application executable for your OS (Linux, macOS, or Windows) macOS: use amd64 for Intel hardware, arm64 for Apple Silicon.

  3. Copy application to another directory. Example:

    • macOS/Linux: copy denode executable to ~/denet/ directory
    • Windows: copy to C:\denet\ directory

Step 3: Start DeNet Node

Launch the node via a terminal.

Windows

  1. Open Terminal: Press Win + R, type cmd or powershell, and press Enter.
  2. Start the Application:
  • Navigate to the Application Folder
  • Run application executable

Linux

  1. Open Terminal: Use Ctrl + Alt + T or your terminal shortcut. Or SSH to your remote host.
  2. 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

macOS

  1. Open "Terminal" via Spotlight or Applications
  2. 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

Step 4: Run DeNet Node

  1. Enter private key: Paste the copied private key and press Enter.
  • The key is stored securely on your device, encrypted with this password.
  1. Set Password: Enter a strong password
  • The private key is encrypted with the password.
  1. Choose Port: Press Enter for the default one
  • Or specify another (value from 10000 to 65535)
  1. 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.
  1. 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.
  1. Optional Second Drive: Enter 'N' to skip.
  • Or if you want to use another drive, provide its path when prompted.
  1. Select RPC for peaq Blockchain: Press Enter to use default one.
  • Or choose the RPC endpoint (Select RPC for peaq (ChainID: 3338)).
  1. Verify Operation:
  • Watch the terminal output. If no errors appear, your DeNet Node is running correctly.

Step 5: Monitor Transactions

Track your node’s activity using the peaq Subscan web interface.

  1. Visit the peaq Subscan website (e.g., https://peaq.subscan.io/account/YOUR_ADDRESS).
  • Search for your node’s transactions using your Datakeeper address.
  1. Check transaction statuses. Green check marks indicate successful transactions, confirming your node is working correctly.

Troubleshooting

  • 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:
    • Run the following command to allow denode executable:
    • xattr -d com.apple.quarantine denode
  • Permission denied
    user@desktop:~/denet$ ./denode
    -bash: ./denode: Permission denied
    • Allow execution by running chmod +x denode

Notes

  • 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!

Advanced Settings:

Running in Docker

Before running denode in Docker, you need to generate config and keystore files.

  1. Create a directory for a compose project.
  2. Initial account and config setup docker run -it --rm -v ./config:/root/.denode denetpro/denode:v4.0.0-rc1
  3. Follow Step 4 to setup account and config
  4. Verify you have config.yaml and UTC-- files in config folder Folder structure
denode
β”œβ”€β”€ config/
β”‚Β Β  β”œβ”€β”€ config.yaml
β”‚Β Β  └── UTC--2025-06-09T12-57-10.067117344Z-6d09eb24
β”œβ”€β”€ data/
β”œβ”€β”€ denode.env
└── docker-compose.yml

denode.env

DENODE_PASSWORD="your_password"

docker-compose.yml

services:
  denode:
    image: denetpro/denode:v4.0.0-rc1
    command: ["--config", "/denode/config/config.json", "--keystore", "/denode/config"]
    env_file: denode.env
    volumes:
      - ./config:/denode/config
      - ./data:/denode/storage/data
    restart: always
    ports:
      - 55050:55050

In this example we mount data directory from the same partition or hard drive where docker-compose.yaml located.

You need to specify your own paths.

Systemd service (Linux)

  • It is recommended to run as non-root user.
  • Follow Step 4 first. You should have config files in the path 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

Ask your questions here and get help:

discord.png

About

DeNet Storage is a decentralized cloud storage powered by users and Datakeepers who rent out their disk space. Datakeepers can earn rewards by providing storage capacity and sending proofs of stored data. This repository provides instructions on how to set up a DeNet node, become an online Datakeeper, and start earning rewards for your contribution

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published