• Stars
    star
    296
  • Rank 140,464 (Top 3 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created about 3 years ago
  • Updated 27 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An implementation of the distributed storage network supported by CESS LAB.

CESS

Substrate version GitHub license build-and-test

web3f_grants_badge.png     

cess.cloud is to provide the capabilities of a new global decentralized cloud data storage network by building with the infrastructure of decentralized cloud data network of the substrate while maintaining the data security and reliability guarantees inherent to blockchain technology. Learn more at white-paper.

Getting Started

Install Guide

Follow Setup to guide you install the CESS development.

Build Node

The cargo run command will perform an initial build. Use the following commands to build the node without launching it:

# Fetch the code
git clone https://github.com/CESSProject/cess.git
cd cess

# Build the node (The first build will be long (~30min))
cargo build --release

Run The CESS Node

After the node has finished compiling, you can follow these steps below to run it.

Generate Keys

If you already have keys for Substrate using the SS58 address encoding format, please see the next section.

Begin by compiling and installing the utility (instructions and more info here).

Generate a mnemonic (Secret phrase) and see the sr25519 key and address associated with it.

# subkey command
subkey generate --scheme sr25519

Now see the ed25519 key and address associated with the same mnemonic (secret phrase).

# subkey command
subkey inspect --scheme ed25519 "SECRET PHRASE YOU JUST GENERATED"

We recommend that you record the above outputs and keep mnemonic in safe.

Run Testnet

Launch node on the cess-testnet with:

# start
./target/release/cess-node --base-path /tmp/cess --chain cess-testnet

Then you can add an account with:

# create key file
vim secretKey.txt

# add secret phrase for the node in the file
YOUR ACCOUNT'S SECRET PHRASE
# add key to 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 node again:

# start
./target/release/cess-node --base-path /tmp/cess --chain cess-testnet

Storage Mining

CESS supports to obtain incentives by contributing idle storage with storage mining tool, and click here to learn more.

Run Tests

CESS has Rust unit tests, and can be run locally.

# Run all the Rust unit tests
cargo test --release

Module Documentation

Contribute

Please follow the contributions guidelines as outlined in docs/CONTRIBUTING.adoc. In all communications and contributions, this project follows the Contributor Covenant Code of Conduct.

cess-bootstrap

Please download the code of the current latest release

cd cess
#Under the /cess root directory
cargo build --release

Go to the /cess/target/release directory to obtain the cess node file

More Repositories

1

cess-miner

A mining program based on cess storage system.
Go
72
star
2

fmd-cess

Project for Polkadot Hackathon
47
star
3

cess-portal

CESS storage Linux client
Go
46
star
4

cess-nodeadm

Official cess node service for running cess protocol.
Shell
15
star
5

CIPs

The CESS Improvement Proposal repository
12
star
6

DeOSS

Implementation of object storage service based on cess platform
Go
12
star
7

Whitepaper

Through the white paper, we can learn more about the cess project and development plan.
7
star
8

cess-gateway

Rest API service implementation for accessing cess storage system.
Go
6
star
9

cess-scheduler

An implementation of the CESS scheduler for consensus nodes.
Go
6
star
10

data-store-pallet

Rust
6
star
11

cess-go-sdk-archive

SDK for cess client
Go
6
star
12

Kaleido

Rust
6
star
13

cess-bootstrap

One-click startup script for scheduler service and consensus service
Shell
6
star
14

doc-v2

CESS Doc v2
6
star
15

cess-go-sdk

Go sdk for CESS network.
Go
4
star
16

cess-pallet-proposal

Proposal for offering storage pallet to substrate FRAME
4
star
17

p2p-go

Go p2p library for cess distributed storage system.
Go
4
star
18

cess-js-sdk-frontend

cess-js-sdk for frontend
JavaScript
4
star
19

config-gen

JavaScript
4
star
20

cess-js-sdk-nodejs

cess-js-sdk for node.js
JavaScript
4
star
21

cess-ui-js

Polkadot/Substrate UI for interacting with CESS node for Polkadot Hackathon
TypeScript
3
star
22

cess-explorer

Basic Polkadot/Substrate UI for interacting with a CESS node. This is the main user-facing application, allowing access to all features available on CESS network.
TypeScript
3
star
23

cess-rust-sdk

cess-rust-sdk
Rust
3
star
24

cess-go-tools

Go
3
star
25

cess_pois

CESS proof of idle space
Go
3
star
26

web-app

Web Application for Polkadot Hackathon
Vue
2
star
27

W3F-illustration

2
star
28

go-keyring

Implement go utilities compatible with Substrate sr25519 keys.
Go
2
star
29

substats

Substats (blockchain browser)
JavaScript
2
star
30

mining-client

This is the mining tool of CESS network.
2
star
31

storage-monitor

A monitoring tool for storage node clusters that can be used to monitor all storage nodes started by users with Docker containers.
Go
2
star
32

cess-js-sdk

js-sdk for cess storage
JavaScript
2
star
33

cess-multiminer-admin

multi-buckets container installation
Shell
2
star
34

cess-examples

Rust
2
star
35

cess_pois_rust

Implementation of Verifier in rust
Rust
2
star
36

cess-toolset

Used to store a series of cess-related tool programs
TypeScript
2
star
37

cess-cacher

Go
1
star
38

cess-node

CESS Network for Polkadot Hackathon
Rust
1
star
39

data-store-sidecar

TypeScript
1
star
40

TestCrossChain

TypeScript
1
star
41

cess-ffi

Rust
1
star
42

cess-indexer

Go
1
star
43

cess-substats

CESS blockchain browser
JavaScript
1
star
44

cess-proving-system

CESS Proving System Written on Rust
Rust
1
star
45

CumulusSystem

Implementation of the CESS protocol, written in Go
1
star
46

cess-hardfork

JavaScript
1
star
47

ss58-control-evm-tools

Go
1
star
48

substrate-frontend-template

JavaScript
1
star
49

sbp-code-docs

related documents of SBP review
1
star
50

go-merkletree

The mht implemented for the podr2 algorithm can find the auxiliary nodes through several leaf nodes. mht root can be restored using leaf nodes and auxiliary nodes
Go
1
star
51

.github

1
star
52

erc20-example

Solidity
1
star
53

cess-dcdn-components

CESS dcdn components for building a decentralized content distribution network
Go
1
star
54

cess_podr2_rust

Podr2 library implemented using rust
Rust
1
star