Back

Blog details

AIOZ dCDN CLI Node Update

AIOZ Network
4 min readDecember 05, 2023
aioz-depinaioz-storage

Run an AIOZ Node directly from your command line interface and be rewarded for powering AIOZ Network

We are excited to announce that after ongoing requests from the AIOZ community, we have today released the AIOZ dCDN CLI Node implementation.

The AIOZ dCDN CLI Node is software to become an AIOZ Node in AIOZ dCDN. Your Node contributes storage capacity, network bandwidth and computing power to the AIOZ dCDN and in return receives rewards in AIOZ tokens.

If you're looking to run an GUI-less AIOZ Node on your computer, read more below!

What is AIOZ dCDN CLI Node?

AIOZ dCDN CLI Node is the software to become an AIOZ Node in AIOZ dCDN. AIOZ Node contributes storage capacity, network bandwidth and computing power to the AIOZ dCDN and gets rewards in AIOZ Tokens.

Requirements

  • Windows 10 version 22H2 64-bit or above
  • Ubuntu 14.04 64-bit or above
  • macOS Catalina version 10.15 or above

Getting started

Windows

Download and extract the latest AIOZ dCDN CLI Node. The scripts below are written for Windows PowerShell.

curl.exe -LO https://github.com/AIOZNetwork/aioz-depin-cli/files/13561213/aioznode-windows-amd64-1.1.0.zip
Expand-Archive -Path aioznode-windows-amd64-1.1.0.zip -DestinationPath .
ren aioznode-windows-amd64-1.1.0.exe aioznode.exe

Verify the node is runnable

.\aioznode.exe version

The output should be the version of AIOZ dCDN Node.

Generate new mnemonic phrase and private key

.\aioznode.exe keytool new --save-priv-key privkey.json

--save-priv-key write the private key to file

Response

{
        "address": "aioz1k28nzwgrwgzrwfuwsfcqjyvd0r4lfprql2c4uf",
        "address_hex": "0xB28F313903720437278E827009118d78eBf48460",
        "pub_key": "{\"@type\":\"/ethermint.crypto.v1.ethsecp256k1.PubKey\",\"key\":\"AxSwg94OuvFInQXiZtHevsw7gFKvbZXCqFunK3pMjV0I\"}",
        "priv_key": "{\"@type\":\"/ethermint.crypto.v1.ethsecp256k1.PrivKey\",\"key\":\"rdWGOtJ/Uio4SDtubqMUGKn+7doBCCOfegAI9OGMIbE=\"}",
        "mnemonic": "rain wing olive skate effort present long myself combine giant vote stay sweet bundle agree lock connect glide absent spider effort attitude enemy mouse"
}

IMPORTANT NOTE: Make sure to backup and secure your mnemonic phrase as it will be used in case of migration or recovering your node.

Run the node

.\aioznode.exe start --home nodedata --priv-key-file privkey.json

--home data folder of the node

--priv-key-file the private key file which the node starts with. If you do not specify the private key file, the node will ask for it from the standard input stream.

Note:
Because AIOZ dCDN CLI Node automatically updates itself by downloading and replacing the executable file, make sure to set file permission to writable.
AIOZ dCDN CLI Node has to stop to perform auto update, it should be run as Windows Service to start again after update and at system boot.

macOS and Linux

Download the latest AIOZ dCDN CLI Node

For macOS

curl -LO https://github.com/AIOZNetwork/aioz-depin-cli/files/13561206/aioznode-darwin-amd64-1.1.0.tar.gz
tar xzf aioznode-darwin-amd64-1.1.0.tar.gz
mv aioznode-darwin-amd64-1.1.0 aioznode

For Linux

curl -LO https://github.com/AIOZNetwork/aioz-depin-cli/files/13561211/aioznode-linux-amd64-1.1.0.tar.gz
tar xzf aioznode-linux-amd64-1.1.0.tar.gz
mv aioznode-linux-amd64-1.1.0 aioznode

Verify the node is runnable

./aioznode version

The output should be the version of AIOZ dCDN Node.

Generate new mnemonic phrase and private key

./aioznode keytool new --save-priv-key privkey.json

--save-priv-key write the private key to file

Response

{
        "address": "aioz1k28nzwgrwgzrwfuwsfcqjyvd0r4lfprql2c4uf",
        "address_hex": "0xB28F313903720437278E827009118d78eBf48460",
        "pub_key": "{\"@type\":\"/ethermint.crypto.v1.ethsecp256k1.PubKey\",\"key\":\"AxSwg94OuvFInQXiZtHevsw7gFKvbZXCqFunK3pMjV0I\"}",
        "priv_key": "{\"@type\":\"/ethermint.crypto.v1.ethsecp256k1.PrivKey\",\"key\":\"rdWGOtJ/Uio4SDtubqMUGKn+7doBCCOfegAI9OGMIbE=\"}",
        "mnemonic": "rain wing olive skate effort present long myself combine giant vote stay sweet bundle agree lock connect glide absent spider effort attitude enemy mouse"
}

IMPORTANT NOTE: Make sure to backup and secure your mnemonic phrase as it will be used in case of migration or recovering your node.

Run the node

./aioznode start --home nodedata --priv-key-file privkey.json

--home data folder of the node

--priv-key-file the private key file which the node starts with. If you do not specify the private key file, the node will ask for it from the standard input stream.

Note:
Because AIOZ dCDN CLI Node automatically updates itself by downloading and replacing the executable file, make sure to set file permission to writable.
AIOZ dCDN CLI Node has to stop to perform auto update, it should be run with launchctl(macOS) or systemctl(Linux) to start it again after update and at system boot.

Usage

View node status

./aioznode.exe stats

Note: This command requires a running node, if your node is not on default port 1317, you need to specify it with the flag --endpoint

Response

{
        "storage": {
                "total_count": 4864,
                "total_size": 149967615893
        },
        "delivery": {
                "upstream_speed": 0
        }
}

View reward

./aioznode.exe reward balance

Note: This command requires a running node, if your node is not on default port 1317, you need to specify it with the flag --endpoint

Response

{
        "balance": [
                {
                        "denom": "attoaioz",
                        "amount": "7218886258271998637"
                }
        ],
        "storage_earned": [
                {
                        "denom": "attoaioz",
                        "amount": "810423534750216148"
                }
        ],
        "delivery_earned": [
                {
                        "denom": "attoaioz",
                        "amount": "7525653191257749557"
                }
        ],
        "withdraw": [
                {
                        "denom": "attoaioz",
                        "amount": "1100000000000000000"
                }
        ],
        "delivery_counter": 16521
}

Withdraw reward

./aioznode.exe reward withdraw --address 0x9A20600a143745404f1AA1C69Bd280f4bD5B4408 --amount 1aioz --priv-key-file privkey.json

This command requires a running node. If your node is not on default port 1317, you need to specify it with the flag --endpoint.

--address the address to withdraw the reward to. The rewards is transferred in AIOZ Chain.

--amount the amount of reward to withdraw. The unit can be aioz or attoaioz. 1 AIOZ equal 10^18 attoaioz. Minimum withdraw is 1 AIOZ. Example values: 1aioz, 1.1aioz, 1100000000000000000attoaioz.

--priv-key-file the private key file which the node started with. If you do not specify the private key file, the node will ask for it from the standard input stream.

Response

{
        "txid": "2604F553B62B70136967811B14BA8DB5706A2FA86EF7FD1A6899ECB3EF944D59"
}

Recover private key from mnemonic phrase

.\aioznode.exe keytool recover "rain wing olive skate effort present long myself combine giant vote stay sweet bundle agree lock connect glide absent spider effort attitude enemy mouse" --save-pri-key privkey.json

--save-pri-key write the private key to file.

Response

{
        "address": "aioz1k28nzwgrwgzrwfuwsfcqjyvd0r4lfprql2c4uf",
        "address_hex": "0xB28F313903720437278E827009118d78eBf48460",
        "pub_key": "{\"@type\":\"/ethermint.crypto.v1.ethsecp256k1.PubKey\",\"key\":\"AxSwg94OuvFInQXiZtHevsw7gFKvbZXCqFunK3pMjV0I\"}",
        "priv_key": "{\"@type\":\"/ethermint.crypto.v1.ethsecp256k1.PrivKey\",\"key\":\"rdWGOtJ/Uio4SDtubqMUGKn+7doBCCOfegAI9OGMIbE=\"}"
}


Conclusion

The release of the AIOZ dCDN CLI Node implementation enables those with server-specification computers to run AIOZ Nodes at increased levels of productivity.

With the launch of AIOZ W3S imminent, these servers-specs AIOZ dCDN CLI Nodes will contribute even more computing power to the AIOZ Network, resulting in a smooth experience for W3S users and a healthier ecosystem overall.

About the AIOZ Network

AIOZ Network is Web3 Infrastructure for AI, Storage and Streaming.

AIOZ empowers a faster, secure and decentralized future. Powered by a decentralized Content Delivery Network (dCDN), AI computation and thousands of individual nodes run globally, AIOZ rewards you for sharing your computational resources for use in storing, transcoding, and streaming digital media content and powering decentralized AI computation.

Find Us

Website | AIOZ Block Explorer | Twitter | Telegram

We only send updates when meaningful changes ship, and you can unsubscribe anytime

Related Content

blog thumbnail

Why Storage Reliability Is More Than File Availability

Keeping files online is only one part of storage reliability. This post looks at durability, redundancy, and infrastructure design in modern storage systems.

aioz-storageexplainerdata-durability
5 min readMay 28, 2026
blog thumbnail

S3-Compatible Storage for Modern Workflows

S3 compatibility is more than an API label. This explainer looks at how familiar object storage patterns reduce adoption friction in modern and decentralized storage workflows.

aioz-storageexplainers3-compatibility
5 min readMay 12, 2026
blog thumbnail

VERTU Partners with AIOZ Network to Leverage DePIN

We are excited to enter into a collaboration with the world's leading luxury phone brand VERTU, in a partnership that will enable this innovative company to leverage various solutions within the AIOZ Network to enhance the experience of its end-users. The METAVERTU 2, VERTU's luxury web3-focused phone that leverages blockchain technology and AI, will utilize the 80,000+ AIOZ DePIN nodes to power its storage, content delivery, and in the near future, its AI computation. AIOZ Network will also s

aioz-storageaioz-pinaioz-depin
3 min readMarch 26, 2024
blog thumbnail

dTransfer: Web3 File Transfer Powered by DePIN

What is dTransfer? In today's fast-paced digital landscape, the ability to share large files quickly and securely is crucial for both individuals and businesses. Traditional file transfer applications have become indispensable tools in our daily digital interactions, facilitating everything from the exchange of critical business documents to the sharing of personal multimedia files. These applications have grown to be essential in various sectors including media, education, healthcare, and te

aioz-storageaioz-depin
3 min readMarch 13, 2024
blog thumbnail

AIOZ Network & Aptos: Supporting Tomorrow's DePIN Builders

As 2024 becomes the "year of DePIN", we are excited to announce another collaboration that will see AIOZ Network infrastructure and tooling support budding developers and project teams in the industry. We're making access to DePIN tooling easy for Aptos developers, with the addition of AIOZ Network into the Aptos ecosystem. With AIOZ W3S (S3 compatible object storage), IPFS, VOD/streaming and web3 AI infrastructure all being unveiled this year, the budding Aptos developer community can now disc

aioz-storageaioz-streamaioz-depin
2 min readMarch 05, 2024
blog thumbnail

From Hard Drives to DePIN: The Evolution of Digital Storage

Ever since the era of early digital computers like the UNIVAC, data storage has continuously evolved while serving as the irrefutable cornerstone of modern technology. To provide context, the total amount of data created, captured, copied, and consumed globally reached 64.2 zettabytes in 2020 and is estimated to reach 180 zettabytes by 2025. Source: https://www.statista.com/statistics/871513/worldwide-data-created/ In this article, we’ll explore the history of digital storage from physical h

aioz-storageaioz-streamaioz-depin
9 min readJanuary 29, 2024