# Implementation Instructions

*Authors: BlockScience and SDF, July 2023*

A PoC implementation in Rust for Soroban by Alejo Mendoza, Karol Bisztyga and Mateusz Kowalski is located in the [`voting-poc`](https://github.com/alejomendoza/voting-poc/tree/main) 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.

A technical summary for learnings when implementing an MVP version of Neural Quorum Governance on SCF can be found on a post by [Karol Bisztyga](https://medium.com/@karol.bisztyga?source=post_page-----da746343c6f5--------------------------------): [SCF Voting Mechanism Implementation](https://medium.com/@karol.bisztyga/da746343c6f5).

### 1) Decide on Quorum Delegation Parameters

{% embed url="<https://github.com/alejomendoza/voting-poc/blob/84611b625a607bd26d0db5b6f5efe125af769f0d/src/voting_system/src/types.rs#L7>" %}

```rust
pub const QUORUM_SIZE: u32 = 5;
pub const QUORUM_PARTICIPATION_TRESHOLD: u32 = 3;

pub const MIN_DELEGATEES: u32 = 5;
pub const MAX_DELEGATEES: u32 = 10;
```

### 2) Implement Base Module

An example for instructions to set this up can be found [here](https://github.com/alejomendoza/voting-poc/tree/main#setting-up).&#x20;
