Skip to content

feat: Add Email-to-Wallet Contract #27

Merged
portableDD merged 2 commits into
Nexacore-Org:mainfrom
0xZyrick:main
Jul 3, 2025
Merged

feat: Add Email-to-Wallet Contract #27
portableDD merged 2 commits into
Nexacore-Org:mainfrom
0xZyrick:main

Conversation

@0xZyrick
Copy link
Copy Markdown
Contributor

@0xZyrick 0xZyrick commented Jul 3, 2025

This PR adds a Soroban smart contract that deterministically derives wallet addresses from user email strings.

Key Features

  • derive_wallet_address_from_email(env, email) implementation
  • Tests:
    • Same email → same address
    • Different emails → different addresses
    • Empty string → failure
  • Utility added in utils.rs
  • EmailToWalletContract exported in lib.rs

Fully tested (cargo test) and formatted (cargo fmt) ✅

Built for the NexaFX protocol’s identity layer.

@portableDD portableDD merged commit d606b16 into Nexacore-Org:main Jul 3, 2025
1 check failed
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.

2 participants