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
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