Open
Conversation
|
Please update your PR title to follow the conventional commit format: Types: feat, fix, docs, style, refactor, test, chore, perf, ci, build, revert Examples:
See CONTRIBUTING.md for details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Pull Request
📋 Description
Implement initial on-chain components for a privacy-preserving decentralized identity and verifiable credential system on Soroban. Adds two Soroban contracts that store DID anchors and credential anchors/status on-chain (hashes / roots only). Includes basic controller/auth/recovery flows and credential issue/revoke/status checks, plus a short design note and workspace integration. Build and formatting completed.
🔗 Related Issue(s)
🎯 Type of Change
📝 Changes Made
identity-registrycontract (DID registry):contracts/identity_registry/Cargo.toml,contracts/identity_registry/src/lib.rscredential-registrycontract (credential index):contracts/credential_registry/Cargo.toml,contracts/credential_registry/src/lib.rscontracts/IDENTITY_CREDENTIAL.mdCargo.tomlcargo fmt --all)🧪 Testing
✅ Pre-Merge Checklist (Required)
cargo test --liband all tests passcargo build -p identity-registry -p credential-registry— build succeeded (warnings only)cargo build --target wasm32-unknown-unknown --releaseand WASM builds successfullycargo fmt --alland code is formattedcargo clippyand there are no new warnings🧪 Additional Testing (Recommended)
cargo doc --no-depscargo audit📋 Test Results (local)
🔍 Review Checklist
📝 Code Quality
cargo fmt)#[contractevent])🧪 Testing Requirements
📚 Documentation
contracts/IDENTITY_CREDENTIAL.mdwith design notes and next steps🔒 Security
🏗️ Contract-Specific
#[contractevent])🚀 Deployment Notes
🎯 Ready for Review:
Would you like me to (A) open and push a PR from the current branch with this message, or (B) implement cross-contract issuer verification and add unit tests before opening the PR?