Skip to content

(web3) put Stellar wallet connection endpoint and service #349

Description

@Eniola3321

Labels: web3, stellar, enhancement, good-first-issue, priority:high
Description:
Users has to connect their Stellar wallet (Freighter, Lobstr, Albedo, etc.) to enable NFT minting and payouts. Currently the Wallet model exists but has no backend logic.
Acceptance Criteria:

POST /wallets/connect with { address, chain: "stellar", type: "freighter" }
Validate address using @stellar/stellar-sdk
Upsert record in Wallet table (prevent duplicates via unique constraint)
Return wallet object with id
Add validation guard to ensure wallet belongs to authenticated user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions