Skip to content

feat: implement verification and claim with Poseidon hash#119

Merged
GoSTEAN merged 1 commit intoskill-mind:mainfrom
wheval:verification
Jul 23, 2025
Merged

feat: implement verification and claim with Poseidon hash#119
GoSTEAN merged 1 commit intoskill-mind:mainfrom
wheval:verification

Conversation

@wheval
Copy link
Contributor

@wheval wheval commented Jul 11, 2025

Closes #112

  • Replaced hardcoded verification codes with Poseidon-based secure generation
  • Added generate_claim_code() function for Poseidon-based claim code generation
  • Updated create_claim() to automatically generate secure codes instead of accepting user input
  • Removed claim_code parameter from create_claim() interface for cleaner API
  • Added VerificationData and ClaimData structs for structured Poseidon hashing
  • Updated all verification and claim tests to work with generated Poseidon codes
  • Added 3 new tests specifically for Poseidon claim code functionality
  • Ensured consistent Poseidon usage across all verification/recovery/claim systems
inherit

Copy link
Collaborator

@GoSTEAN GoSTEAN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GoSTEAN GoSTEAN merged commit 21f5a91 into skill-mind:main Jul 23, 2025
1 check 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.

feat: Replace Pedersen with Poseidon Hashing for Verification and Recovery

2 participants