Skip to content

Comments

Feature/migrate profile modal to stellar#266

Open
Mmesolove wants to merge 2 commits intoStreamFi-x:devfrom
Mmesolove:feature/migrate-profile-modal-to-stellar
Open

Feature/migrate profile modal to stellar#266
Mmesolove wants to merge 2 commits intoStreamFi-x:devfrom
Mmesolove:feature/migrate-profile-modal-to-stellar

Conversation

@Mmesolove
Copy link

@Mmesolove Mmesolove commented Feb 22, 2026

Description

Closes #issue_number_here

Changes proposed

What were you told to do?

What did you do?

Check List (Check all the applicable boxes)

🚨Please review the contribution guideline for this repository.

  • My code follows the code style of this project.
  • This PR does not contain plagiarized content.
  • The title and description of the PR is clear and explains the approach.
  • I am making a pull request against the main branch (left side).
  • My commit messages styles matches our requested structure.
  • My code additions will fail neither code linting checks nor unit test.
  • I am only making changes to files I was requested to.

Closes #266

- Created StellarWalletProvider context with connection management
- Updated ConnectWalletModal to support 5 Stellar wallets (Freighter, xBull, Albedo, Lobstr, Hana)
- Removed @starknet-react dependencies from wallet components
- Added wallet icons for all supported Stellar wallets
- Implemented error handling for wallet not installed, user rejection, and connection failures
- Maintained existing UI design and auto-close behavior
- Replace useAccount from @starknet-react/core with useStellarWallet hook
- Update registration payload to use Stellar publicKey (G-address format)
- Update localStorage/sessionStorage to store Stellar public key
- Remove all StarkNet dependencies from ProfileModal component

This change enables user registration with Stellar wallet addresses
instead of StarkNet hex addresses, maintaining backward compatibility
with the /api/users/register endpoint.
@vercel
Copy link

vercel bot commented Feb 22, 2026

@Mmesolove is attempting to deploy a commit to the david's projects Team on Vercel.

A member of the Team first needs to authorize it.

@davedumto
Copy link
Contributor

Hi @Mmesolove,

This PR appears to be a duplicate of #263 - both contain identical changes to the same files:

  • components/connectWallet.tsx
  • components/explore/ProfileModal.tsx
  • components/providers.tsx
  • contexts/stellar-wallet-context.tsx
  • public/wallets/*.svg

Since #263 has a better conventional commit title ("feat: replace StarkNet with Stellar wallet integration"), could you please close this PR (#266) and keep #263?

This will help us avoid confusion and potential merge conflicts.

Thanks!

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