Thanks to visit codestin.com
Credit goes to github.com

Skip to content
ย 
ย 

Latest commit

ย 

History

122 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

D9 Chain Node ๐Ÿ”—โ›“๏ธ

D9 Chain Logo

Release License Build Status Rust Version Substrate

The Future of Decentralized Community Governance

Documentation | Website | Twitter | Discord

Table of Contents

About D9 Chain

D9 Chain is a next-generation blockchain platform built with Substrate that revolutionizes community governance through innovative economic mechanisms and social coordination tools. By combining cutting-edge blockchain technology with human-centric design, D9 Chain enables communities to organize, collaborate, and thrive in the decentralized economy.

Key Features

๐Ÿ›๏ธ Community Governance - Democratic decision-making with the D9 Council system
๐Ÿ’ฐ Treasury Management - Transparent fund allocation for community projects
๐Ÿ”— Referral Network - Built-in social graph tracking and rewards
๐Ÿ—ณ๏ธ Node Voting - Decentralized validator selection and rewards
๐Ÿ” Multi-Signature Support - Secure shared control of assets

D9 Custom Pallets

D9 Chain features several custom pallets that provide unique functionality:

Pallet Description
pallet_d9_balances Enhanced balance management with referral support
pallet_d9_referral Manages referral relationships and social graphs
pallet_d9_treasury Community-controlled treasury with proposal system
pallet_d9_node_voting Validator selection through community voting
pallet_d9_node_rewards Distributes rewards to validators and voters
pallet_d9_council_lock Manages council membership and voting
pallet_d9_multi_sig Multi-signature wallet functionality

Learn more about our pallets โ†’

Installation

Quick Install

For Ubuntu 22.04 users, use our automated installation script:

curl -sSf https://raw.githubusercontent.com/D-Nine-Chain/d9_node/main/scripts/install-d9-node.sh -o install-d9-node.sh && chmod +x install-d9-node.sh && ./install-d9-node.sh

This script will:

  • Check system requirements
  • Download the latest pre-built binary
  • Configure the node as a systemd service
  • Set up validator keys (optional)
  • Start the node automatically

Build from Source

Prerequisites

  • Ubuntu 22.04 (recommended)
  • At least 60GB free disk space
  • 8GB RAM minimum
  • Rust 1.75.0 exactly

Easy Build

Use our build script for automated compilation:

curl -sSf https://raw.githubusercontent.com/D-Nine-Chain/d9_node/main/scripts/build-node.sh | bash

Manual Build

  1. Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup default stable
rustup update
rustup target add wasm32-unknown-unknown
  1. Install Dependencies
sudo apt update
sudo apt install build-essential git clang curl libssl-dev llvm libudev-dev make protobuf-compiler
  1. Clone and Build
git clone https://github.com/D-Nine-Chain/d9_node.git
cd d9_node
cargo build --release

Running a Node

Development Chain

Start a single-node development chain:

./target/release/d9-node --dev

Mainnet Node

Run a full node connected to the D9 mainnet:

./target/release/d9-node \
  --base-path /home/ubuntu/node-data \
  --chain /usr/local/bin/new-main-spec.json \
  --name "MyD9Node" \
  --port 40100 \
  --rpc-port 40200 \

Validator Node

To run a validator node, you'll need to:

  1. Set up your node with validator keys
  2. Bond D9 tokens
  3. Set session keys
  4. Validate

Detailed validator guide โ†’

Architecture

D9 Chain is built using the Substrate framework and consists of:

  • Runtime: Core blockchain logic including custom pallets
  • Node: Network layer handling peer connections and consensus
  • RPC: APIs for interacting with the blockchain

Architecture documentation โ†’

Documentation

Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support


Built with โค๏ธ by the D9 Community

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages