🗂️
Module Library
  • Governance Modules Library Overview
    • Projects using the Governance Modules
  • Power Attribution
    • Neural Governance
      • Specification
      • Implementation Instructions
      • Tuning Guidelines
      • Simulations
  • Signalling Forms
    • Quorum Delegation
      • Specification
      • Implementation Instructions
      • Tuning Guidelines
      • Simulations
  • Reputation Metrics
    • Trust Graph Bonus
      • Specification
      • Implementation Instructions
      • Tuning Guidelines
      • Simulations
  • Identity Management
    • Tier-based Role Certifier
      • Specification
      • Implementation Instructions
      • Tuning Guidelines
      • Simulations
Powered by GitBook
On this page
  1. Reputation Metrics
  2. Trust Graph Bonus

Implementation Instructions

PreviousSpecificationNextTuning Guidelines

Last updated 1 year ago

A PoC implementation in Rust for Soroban by Alejo Mendoza, Karol Bisztyga and Mateusz Kowalski is located in the GitHub repository. It implements the Neural Governance, Quorum Delegation and the Trust Graph Bonus governance modules and we'll use it as the basis for providing instructions.

1) Set-up PageRank Parameters

  let num_iterations = 10;
  let damping_factor = DecimalNumberWrapper::from((0, 850)).as_tuple(); // eg. alpha=0.85
  
voting-poc
https://github.com/alejomendoza/voting-poc/blob/84611b625a607bd26d0db5b6f5efe125af769f0d/src/voting_system/src/page_rank/mod.rs#L41