Skip to content

feat(microservices): add badge-verification, clans, sponsorship skeletons#346

Merged
Mkalbani merged 1 commit into
MindFlowInteractive:mainfrom
dDevAhmed:feature/issue-344-345-340-microservices
May 30, 2026
Merged

feat(microservices): add badge-verification, clans, sponsorship skeletons#346
Mkalbani merged 1 commit into
MindFlowInteractive:mainfrom
dDevAhmed:feature/issue-344-345-340-microservices

Conversation

@dDevAhmed
Copy link
Copy Markdown
Contributor

Summary

This PR adds three new minimal NestJS microservices under microservices/:

  • badge-verification-service — generates badge proofs, builds Merkle-style proofs, simulates on-chain commit, supports revocation, expiration, and shareable proof links.
  • clans-service — supports clan creation, hierarchical parent linking, territory claims, conflict tracking, and treasury transfers.
  • sponsorship-service — manages sponsors, campaigns, collaborations, performance metrics, and payouts.

What changed

  • Added service skeletons with TypeScript/NestJS entrypoints, in-memory data stores, controllers and services, minimal tests, and Dockerfiles.

Why

These services implement the features requested in issues #344, #345 and #340 respectively and provide a minimal, reviewable starting point that satisfies the acceptance criteria.

Testing performed

  • Added basic unit sanity tests under each service (not wired into root CI). They assert core flows (create + basic actions).

Risks considered

  • Services use in-memory stores for simplicity — intended as a minimal implementation. Persistence, auth, and full production hardening should be added in follow-ups.

Edge cases handled

  • Proofs can be revoked and expire; verification checks for those states. Clans and Sponsorship APIs validate basic relationships.

Closes

Closes: #344
Closes: #345
Closes: #340

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@dDevAhmed Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mkalbani Mkalbani merged commit 967783f into MindFlowInteractive:main May 30, 2026
5 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clans and Factions Service Setup Badge Verification and Proof Service Setup Sponsorship and Partnership Service Setup

2 participants