Skip to content

feat: implement hackathon team matching contract with comprehensive i…#846

Open
akinboyewaSamson wants to merge 1 commit into
StellarDevHub:mainfrom
akinboyewaSamson:feat/hackathon-team-matching
Open

feat: implement hackathon team matching contract with comprehensive i…#846
akinboyewaSamson wants to merge 1 commit into
StellarDevHub:mainfrom
akinboyewaSamson:feat/hackathon-team-matching

Conversation

@akinboyewaSamson

Copy link
Copy Markdown

closes #799

PR Description - Implement Hackathon Team Matching Smart Contract
Overview
This PR implements the Hackathon Team Matching feature as a standalone, test-verified Soroban smart contract crate. It provides the platform's curriculum layer with on-chain functionality for forming teams, matching participants, and verifying developers' skills.

Proposed Changes
Crate Configuration: Created a isolated workspace member crate contracts/hackathon-team-matching to avoid compilation/namespace conflicts with educational templates in the main crate.
Developer Profiles: Allows developers to register on-chain profiles with skills and desired roles.
Team Management: Enables team creation, member capacity control, and team closing triggers.
Collaboration Flows: Implements a complete matching proposal flow:
Join Requests (Developer -> Team) and owner approvals.
Team Invitations (Team -> Developer) and developer acceptances.
Leave and remove member mechanics.
Dynamic Matching Engine: Query functions to retrieve matching teams or developers based on overlapping skills/roles.
Attestation Integration: Links dynamically with the SkillVerificationContract client to check if developers have verified skills on-chain.
Verification & Testing
9 unit and integration tests were added in src/test.rs covering registration, recruitment flows, dynamic matching logic, and external verification. All tests pass successfully:

text
running 9 tests
test test::test_check_skill_verified ... ok
test test::test_double_registration_fails - should panic ... ok
test test::test_initialize_and_registration ... ok
test test::test_create_team ... ok
test test::test_invitation_flow ... ok
test test::test_join_request_team_full - should panic ... ok
test test::test_join_request_flow ... ok
test test::test_leave_and_remove_member ... ok
test test::test_matching_engine ... ok
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
Compilation target
Verified successful compilation to WebAssembly:

bash
cargo build --package hackathon-team-matching --target wasm32-unknown-unknown --release
Artifact built at: contracts/target/wasm32-unknown-unknown/release/hackathon_team_matching.wasm

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

@TobyKing007 is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@akinboyewaSamson 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

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.

[Smart Contract] Optimize Hackathon Team Matching for Open Source Contribution Trainer

2 participants