Crate duniter

source ·
Expand description

§Duniter v2s Documentation

🆙 A rewriting of Duniter v1 in the Substrate framework.

⚠️ Duniter-v2s is under active development.

🚧 A test network called “ĞDev” is deployed, allowing testing of wallets and indexers.

§Crate Overview

This workspace consists of multiple crates that collaboratively implement the Duniter node, enabling features such as identity management, Web of Trust (WoT) evaluation, universal dividend calculation, and more. Below is a categorized list of crates within this workspace:

§Core Components

  • client/distance: Provides an inherent data provider for distance evaluation in the Web of Trust.
  • distance-oracle: A standalone tool for performing computationally intensive Web of Trust distance calculations.
  • node: The main node implementation for running the Duniter blockchain network.

§Testing Utilities

  • end2end-tests: End-to-end tests for validating the entire Duniter workflow.
  • live-tests: Live test cases for ensuring the integrity of the chain.

§Pallets (Runtime Modules)

§Shared Primitives

§Tooling and Utilities

  • resources/weight_analyzer: Provides tools for analyzing runtime weights.
  • runtime/common: Shared components and utilities used across multiple runtimes.
  • runtime/gdev: The runtime implementation for the GDEV test network.
  • runtime/g1: The runtime implementation for the G1 test network.
  • runtime/gtest: The runtime implementation for the GTEST test network.
  • xtask: A custom xtask runner to automate release and testing.

Modules§

  • A collection of node-specific RPC methods. Substrate provides the sc-rpc crate, which defines the core RPC layer used by Substrate nodes. This file extends those RPC definitions with capabilities that are specific to this project’s runtime configuration.
  • Service and ServiceFactory implementation. Specialized wrapper over substrate service.