Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 3.2 KB

File metadata and controls

28 lines (21 loc) · 3.2 KB

Contributing to Aegis RWA Contracts

We welcome open-source contributions to make the Aegis Protocol more robust!

Start here: Before contributing, read the Evaluation-Readiness Index Page — one central page covering what makes a contribution evaluation-ready: testing standards, CI workflow, PR evidence, acceptance criteria mapping, self-review, communication policy, and conduct guidance.

Conduct & Payment Policy

If you are contributing during a paid period (e.g., a GrantFox campaign), you must strictly adhere to the Payment-Period Conduct Note.

Key expectations:

  • No Spam: Repeated complaints or harassment in community channels regarding payment are unacceptable and will not be tolerated.
  • Mandatory Self-Review: Before raising any concerns about your reward, you must rigorously self-review your PR against the acceptance criteria, tests, and CI requirements.
  • GrantFox Evaluation: Remember that issue tags are not guarantees of payment. Final approval follows the GrantFox evaluation process (Maintainer review -> Program approval -> Payout) against campaign budgets and per-contributor caps.

Violations of this communication policy may result in suspension from campaigns or permanent disqualification.

Development Workflow

  1. Fork & Clone: Fork the repo and clone it locally.
  2. Setup: Run rustup target add wasm32v1-none and cp .env.example .env. See the Local Deployment Guide for the full environment setup, including running a local Stellar network.
  3. Branching: Use feat/, fix/, or chore/ prefixes.
  4. Testing: You MUST write unit tests in src/test.rs for any new logic added. PRs without test coverage will be rejected. Run them with make test — no network or Docker required.
  5. Formatting: Ensure cargo fmt and cargo clippy pass before opening a PR. make ci runs the complete gate (fmt-check + clippy + test + build) in one command.
  6. PR Evidence Checklist: Before requesting review, complete the PR Evidence Checklist in your PR description. This covers issue reference, implementation summary, tests, commands run, CI status, and acceptance criteria coverage — making review more objective.
  7. Self-Review: Before requesting review, fill out the Contributor Self-Review Form and include it in your PR. This covers requirements, implementation completeness, testing evidence, CI status, documentation updates, and known limitations.
  8. Completion Table: You MUST include a Completion Table in your PR description, mapping every acceptance criterion to its status (Complete/Partial/Not Met), implementation evidence, test evidence, and documentation impact (or an explicit N/A with a reason). For complex PRs, also include the Detailed Traceability Mapping Table.

Discussion

Join our ecosystem discussion before undertaking large architectural changes. Find the // TODO: comments in the source code for good places to start contributing.