Skip to content

Latest commit

 

History

History
126 lines (81 loc) · 2.95 KB

getting-started.md

File metadata and controls

126 lines (81 loc) · 2.95 KB

Getting Started with Decent Cloud

This guide will help you get up and running with Decent Cloud quickly.

Prerequisites

  • Decent Cloud CLI installed (see Installation Guide)
  • Basic understanding of cloud resources and command-line interfaces

Quick Start Steps

1. Generate Your Identity

First, you'll need to create your identity on the platform:

dc keygen --generate --identity <id-slug>

Example:

dc keygen --generate --identity my-id

Important: Save the generated mnemonic in a secure location. It can be used to recreate your identity if needed.

Alternative: Using OpenSSL

You can also generate your identity using OpenSSL:

mkdir -p $HOME/.dcc/identity/my-id
openssl genpkey -algorithm ED25519 -out $HOME/.dcc/identity/my-id/private.pem

2. Get Initial Tokens

Before registering, you'll need some DC tokens:

  1. Visit kongswap or icpswap
  2. Exchange for DC tokens and send them to the Principal Id that you get from dc account --identity <my-id>
  3. Check the current registration fee in DCT:
dc ledger-remote get-registration-fee

3. Register Your Account

Choose your account type:

For Users

dc user register --identity my-user

For Providers

dc np register --identity my-provider

Next Steps

After completing the basic setup, you can:

For Users

For Providers

Common Operations

Check Ledger Status

dc ledger-remote fetch

View Available Offerings

dc offering list

Search Specific Offerings

dc offering query 'memory >= 512MB AND storage.size > 1gb'

Getting Help

Best Practices

  1. Security

    • Always backup your mnemonic phrase
    • Keep your private keys secure
    • Use strong passwords and secure communication channels
  2. Resource Management

    • Regularly check your token balance
    • Monitor your active contracts
    • Keep your local ledger synchronized
  3. Community Participation

    • Engage in discussions
    • Report issues and bugs
    • Share your experience and feedback

Remember: The platform is community-driven, and your participation helps make it better for everyone!