All Projects → CESSProject → cess

CESSProject / cess

Licence: Apache-2.0 license
An implementation of the distributed storage network supported by CESS LAB.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to cess

substrate-tcr-ui
A react.js frontend for Substrate TCR runtime.
Stars: ✭ 14 (-88.03%)
Mutual labels:  substrate
polkawallet-flutter
Replace to: https://github.com/polkawallet-io/app
Stars: ✭ 107 (-8.55%)
Mutual labels:  substrate
jupiter
Wasm smart contract networks powered by Substrate FRAME Contracts pallet in Polkadot ecosystem.
Stars: ✭ 49 (-58.12%)
Mutual labels:  substrate
bellman-substrate
A library for supporting zk-SNARKs to Substrate
Stars: ✭ 26 (-77.78%)
Mutual labels:  substrate
Polkadex
An Orderbook-based Decentralized Exchange using the Substrate Blockchain Framework.
Stars: ✭ 223 (+90.6%)
Mutual labels:  substrate
polkaswap-web
Polkaswap is a non-custodial, cross-chain AMM DEX protocol for swapping tokens based on Polkadot and Kusama relay chains, Polkadot and Kusama parachains, and blockchains directly connected via bridges. Polkaswap removes trusted intermediaries and provides the opportunity for faster trading.
Stars: ✭ 43 (-63.25%)
Mutual labels:  substrate
subspace
Subspace Network reference implementation
Stars: ✭ 164 (+40.17%)
Mutual labels:  substrate
crunch
Crunch is a command-line interface (CLI) and Matrix Bot to claim staking rewards every Era for Substrate-based chains
Stars: ✭ 34 (-70.94%)
Mutual labels:  substrate
polkadot-apps
Fork of Polkadot.js Apps with Subsocial types.
Stars: ✭ 17 (-85.47%)
Mutual labels:  substrate
crossbow
Cross-Platform Rust Toolkit for Games 🏹
Stars: ✭ 80 (-31.62%)
Mutual labels:  substrate
Starlog
Starlog: Metadata Blockchain based on Substrate
Stars: ✭ 32 (-72.65%)
Mutual labels:  substrate
common
Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers. Full documentation & examples available.
Stars: ✭ 221 (+88.89%)
Mutual labels:  substrate
rmrk-substrate
Nested, conditional & Multi-resourced NFTs.
Stars: ✭ 44 (-62.39%)
Mutual labels:  substrate
cap9
Capability-based security protocol for smart contracts
Stars: ✭ 22 (-81.2%)
Mutual labels:  substrate
pallet-did
A Substrate pallet for decentralized identifiers' (DIDs) management.
Stars: ✭ 66 (-43.59%)
Mutual labels:  substrate
felix-atomos
Apache Felix Atomos
Stars: ✭ 32 (-72.65%)
Mutual labels:  substrate
hydra
A Substrate query node framework
Stars: ✭ 43 (-63.25%)
Mutual labels:  substrate
Astar
The dApp hub for blockchains of the future
Stars: ✭ 533 (+355.56%)
Mutual labels:  substrate
bittensor
Internet-scale Neural Networks
Stars: ✭ 97 (-17.09%)
Mutual labels:  substrate
nft-gallery
NFT Explorer 🗺 🧭 running on Kusama and Polkadot
Stars: ✭ 281 (+140.17%)
Mutual labels:  substrate

CESS

Substrate version GitHub license

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 command 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

Run in Docker

Install Docker first, and run the following command to start a node on the cess-testnet:

docker pull cesslab/cess-testnet:0.3.0
docker run -itd --name=cess --network=host cesslab/cess_testnet:0.3.0 && docker logs -f cess

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

Run Tests with Benchmarks

CESS has Rust unit tests with benckmarks also. Currently, testing this feature in docker is not supported. Please execute belows after clone this repo.

# Run unit tests with benchmarks
cargo test -p pallet-sminer --features runtime-benchmarks
cargo test -p pallet-segment-book --features runtime-benchmarks
cargo test -p pallet-file-bank --features runtime-benchmarks

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].