lingxue

lingxue

向着遥不可及的梦想,进发!
steam
youtube
keybase
twitter

Idle server VPS hanging Storj to make money.

This tutorial is not suitable for short-term VPS mining. There is no profit in short-term mining

On August 2023, I don't remember which day exactly, my VPS crashed and restarted once, and the VG exploded. There were no follow-ups... It would have taken about two months to make a payment of around $11, but it exploded

Official payment conditions are as follows:

As a storage node operator, you do not need to provide any upfront equity to start earning STORJ tokens. Instead, during the first nine months of storage node operation, a certain percentage of income is deposited into a holding account. These funds will be retained until the storage node operator chooses to leave the network. After the 15th month, a portion of the balance is returned to the storage node operator, while the remaining portion is held indefinitely.
Months 1-3: 75% of storage node income is withheld, and 25% is paid to the storage node operator.
Months 4-6: 50% of storage node income is withheld, and 50% is paid to the storage node operator.
Months 7-9: 25% of storage node income is withheld, and 75% is paid to the storage node operator.
Months 10-15: 100% of storage node income is paid to the storage node operator.
Month 16: 50% of the total amount withheld is returned to the storage node operator, while the remaining 50% is held until the node gracefully exits the network.

There is no minimum payment limit set by the official, but it is stated that payments can only be made for amounts exceeding or reaching $14.68.

This tutorial is not suitable for mainland VPS because it cannot connect to the blockchain API

Whenever it's Black Friday, I always buy some cheap VPS, even though I don't really need them, but I just want to buy them and then leave them unused. It would be a waste not to renew them. I used to use a server to mine storj, and today I found it, so I wrote this tutorial when I had nothing else to do.

Getting Started#

The following links require the use of emmmm, you know, internet access

First, click on the text below to open the official website and create a node link.

Register a Storj Node

Screenshot 2023-07-11 201841

Enter your email and complete the Google verification.

Screenshot 2023-07-11 201734

Then check your email, copy the text highlighted in red, and save it in a secure place.

Creating a Random Identity#

First, download the program and copy it to the bin folder.

curl -L https://github.com/storj/storj/releases/latest/download/identity_linux_amd64.zip -o identity_linux_amd64.zip
unzip -o identity_linux_amd64.zip
chmod +x identity
sudo mv identity /usr/local/bin/identity

Next, the generation process takes a long time, usually more than 1 hour. Create a screen first, run the command, and then do something else.

screen
identity create storagenode

Once the process is complete, find the auth token saved earlier, delete "enter here," and paste it at the end.

identity authorize storagenode enter here

Then check the generation status.

grep -c BEGIN ~/.local/share/storj/identity/storagenode/ca.cert

grep -c BEGIN ~/.local/share/storj/identity/storagenode/identity.cert

The first command should output the number 2, and the second command should output the number 3.

Optional: Backup#

In reality, it is not very useful. If the stored files are lost, only the authentication files are saved, which does not prevent penalties.

The files are saved in this folder:

~/.local/share/storj/identity/storagenode

Installation#

First, use the official Docker script to install Docker.

curl -fsSL https://get.docker.com | bash -s docker

Then pull the image.

docker pull storjlabs/storagenode:latest

Next, start the Docker program.

docker run -d --restart unless-stopped --stop-timeout 300 \
    -p 28967:28967/tcp \
    -p 28967:28967/udp \
    -p 127.0.0.1:14002:14002 \
    -e WALLET="change to ETH wallet address" \
    -e EMAIL="change to the email used to apply for the auth token" \
    -e ADDRESS="change to VPS IP:28967" \
    -e STORAGE="2TB" \
    --user $(id -u):$(id -g) \
    --mount type=bind,source="change to the address of the generated authentication file",destination=/app/identity \
    --mount type=bind,source="change to the address of the mounted large hard drive",destination=/app/config \
    --name storagenode storjlabs/storagenode:latest

Wait for a while, and it will be completed.

View Information#

Since the panel is not accessible on the public network, you need to use a tunnel or similar method to access it.

I recommend a good SSH client called WindTerm.

WindTerm

Download and open it, connect to the server, and then click on the tunnel in the upper right corner, and then tunnel settings.

Screenshot 2023-07-11 204438

Configure it as shown below, and open it when needed.

Then open the browser and go to http://127.0.0.1:14002

You will be able to see it.

Screenshot 2023-07-11 200359

I only mounted a 1TB disk, and the rest is used for h@h and pt. To recover the investment, you probably need at least 4TB or more of hard drive space.

Having a relatively small hard drive doesn't consume much bandwidth.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.