How to Get Started with CESS: A Guide to Decentralized Cloud Data Storage

Aug 16, 2023 | Blockchain

Are you ready to explore the fascinating world of decentralized cloud data storage? With CESS, you’re not only stepping into the future of data management but also contributing to a network that prioritizes security and reliability through blockchain technology. This step-by-step guide will walk you through the process of installing, building, and running a CESS node seamlessly.

Getting Started with CESS

Before diving into the installation, let’s define what CESS is all about. CESS aims to build a global decentralized cloud data storage network using the robust infrastructure of the Substrate. It promises to deliver data security and reliability guarantees that you come to expect with blockchain. If you’re eager to learn more, check out the white-paper.

Installation Guide

Follow the instructions below to get CESS up and running:

  • Clone the Repository:
    git clone https://github.com/CESSProject/cess.git
  • Change Directory:
    cd cess
  • Build the Node: The first build might take around 30 minutes.
    cargo build --release

Running the CESS Node

Now that your node is built, it’s time to get it running. Here’s how:

Generate Keys

To generate your keys, follow these steps:

  • Compile and install the utility (find details here).
  • Generate a mnemonic (Secret phrase) using:
    subkey generate --scheme sr25519
  • Inspect for the ed25519 key:
    subkey inspect --scheme ed25519 SECRET_PHRASE_YOU_JUST_GENERATED

Launch the Testnet

Once keys are generated, here’s how to launch the testnet:

target/release/cess-node --base-path tmp/cess --chain cess-testnet

Then, add an account with:

vim secretKey.txt

Insert your secret phrase for the node in the file. Next, add the key to the node:

target/release/cess-node key insert --base-path tmp/cess --chain cess-testnet --scheme Sr25519 --key-type babe --suri root/secretKey.txt
target/release/cess-node key insert --base-path tmp/cess --chain cess-testnet --scheme Ed25519 --key-type gran --suri root/secretKey.txt

Now you can launch the node again:

target/release/cess-node --base-path tmp/cess --chain cess-testnet

Storage Mining

CESS supports incentives through storage mining tools. For more information on this, visit here.

Run Tests

To ensure everything is functioning well in CESS, run the Rust unit tests:

cargo test --release

Troubleshooting Tips

If you encounter any issues during installation or while running your node, here are some troubleshooting ideas:

  • Make sure you have the required Rust and Cargo versions installed.
  • Check for any syntax errors in the commands you have entered.
  • If the node fails to start, verify your directory paths and key insertions.
  • Refer to the documentation for potential known issues.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Contributing to CESS

If you’re excited about contributing to this amazing project, follow the contribution guidelines outlined in the CONTRIBUTING.adoc. Remember to respect the project’s code of conduct as well.

Conclusion

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox