feat(identity): SEP-1/SEP-12 creator verification and verified badges… - #551
Merged
barry01-hash merged 1 commit intoAug 31, 2026
Merged
Conversation
…PromptMintLabs#500) Add SEP-compatible creator identity verification: creators prove domain ownership via a stellar.toml (SEP-1) listing their Stellar account + a SIGNING_KEY, and optionally a signed SEP-12 attestation. New lib/identity parses/validates the TOML and verifies ed25519 attestation signatures; useCreatorVerification drives the flow; VerifiedCreatorBadge renders the badge; CreatorVerificationCard lets connected creators verify from their profile. Badge appears on reputation summaries and public creator profiles. Co-Authored-By: Kilo <kilo@github.com>
|
@legend-esc 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! 🚀 |
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.
Summary
Adds SEP-compatible creator identity verification and a verified-creator badge:
stellar.tomlthat lists their Stellar account (inACCOUNTSor[[VERIFIED_CREATORS]]) plus aSIGNING_KEY.SIGNING_KEYwith ed25519.Changes
src/lib/identity/— types, a focusedstellar.tomlparser (fetch/parse/findCreatorInToml), verify (SEP-1 check + SEP-12 ed25519 signature verification via@stellar/stellar-base), and alocalStoragecache so the badge renders consistently on the viewer's device.src/hooks/useCreatorVerification.ts— drives verification against a creator-controlled domain.src/components/VerifiedCreatorBadge.tsx— badge with method/domain/issuedAt tooltip; compact + full variants.src/components/CreatorVerificationCard.tsx— lets the connected creator verify their identity from their profile.ReputationSummaryand the public creator header inpages/profile/page.tsx..changeset/sep-identity-500.mdNotes / follow-up
useCreatorVerificationvia the existingstellarTomlUrloption.stellar.tomlmust be served over HTTPS (enforced).Closes #500