Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #2

Merged
merged 4 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Contribution Guidelines

Thank you for taking time to improve NQG implementation.
To make the contribution process convenient for both you and us, please follow the outlined guildines.

## Opening an Issue

[//]: # (TODO add link to issues)

Before starting any work on a feature or a bugfix, please [open an issue]().
Opening an issue gives an opportunity to discuss if a feature is relevant to the project and if the proposed bugfix is a
preferred solution which saves time in the Pull Request review phase.

## Opening a Pull Request

After you have implemented your changes, feel free to open a Pull Request.
We encourage you to fill out the necessary details in the pull request description.

Make sure that your changes are:

1. Well documented
2. Thoroughly tested with relevant automatic tests
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
# stellar-community-fund-contracts
# Neural Quorum Governance Contracts

> ⚠️ Code in this repository has not been audited and is under development.
[Neural Quorum Governance](https://stellarcommunityfund.gitbook.io/module-library/power-attribution/neural-governance)
> is a governance framework implemented on the Stellar blockchain.
> This repository contains smart contract used to conduct voting on-chain and rust modules we are using to calculate
> neurons voting powers.

## `/neurons`

Contains source code of neurons. [See neurons docs for more details](neurons/README.md).

## `/contract`

Contains the source code of the governance contract. [See contract docs for more details](contracts/offchain/README.md).

## Reporting Bugs and Issues

Found a bug or an issue and want to report it? Please [open an issue](https://github.com/stellar/stellar-community-fund-contracts/issues).

## Contributing

This repository is under active development. Read the [contributing guidelines](./CONTRIBUTING.md) for more
information.
22 changes: 22 additions & 0 deletions neurons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,25 @@ Assigns voting power based on rounds voter previously participated in.

Assigns voting power based on trust assigned to voter by other voters.
It uses min-max normalized PageRank algorithm to compute the score.

## Development

### Running Tests

```shell
cargo test
```

### Running Lint

```shell
cargo lint
```

This is an alias to `cargo clippy` with special config. See `.cargo/config.toml` for more details.

### Formatting

```shell
cargo fmt
```