Skip to content

feat: add API keys module and Stellar SDK integration#1055

Open
RUKAYAT-CODER wants to merge 2 commits into
DistinctCodes:mainfrom
RUKAYAT-CODER:feat/api-keys-stellar-932-933-934-935
Open

feat: add API keys module and Stellar SDK integration#1055
RUKAYAT-CODER wants to merge 2 commits into
DistinctCodes:mainfrom
RUKAYAT-CODER:feat/api-keys-stellar-932-933-934-935

Conversation

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Summary

  • Add ApiKeysModule with API key generation (bcrypt hashed), listing, and revocation endpoints
  • Add StellarModule wrapping @stellar/stellar-sdk with a StellarService for network configuration and keypair management
  • Add Stellar asset registration, on-chain transfer, and asset query endpoints
  • Add Stellar tokenization, token balance, transfer, lock, and unlock endpoints
  • Fix broken app.module.ts imports array syntax (pre-existing merge conflict artefact)
  • Fix pre-existing TypeScript and lint errors across the codebase

Test plan

  • POST /api-keys — creates key, returns raw key once
  • GET /api-keys — lists active keys (no raw key in response)
  • DELETE /api-keys/:id — revokes key
  • POST /stellar/assets/register — registers asset on-chain (stub returns { txHash, status })
  • POST /stellar/assets/:id/tokenize — tokenizes asset (stub)
  • CI lint and build pass

closes #932
closes #933
closes #934
closes #935

- Add ApiKeysModule with key generation, hashing (bcrypt), and CRUD endpoints (DistinctCodes#932)
- Add StellarModule with StellarService wrapping @stellar/stellar-sdk (DistinctCodes#933)
- Add Stellar asset registration, on-chain transfer endpoints (DistinctCodes#934)
- Add Stellar tokenization, token transfer, lock/unlock endpoints (DistinctCodes#935)
- Fix broken app.module.ts imports array syntax
- Fix pre-existing TypeScript and lint errors across codebase

closes DistinctCodes#932
closes DistinctCodes#933
closes DistinctCodes#934
closes DistinctCodes#935
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

@RUKAYAT-CODER is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola

Copy link
Copy Markdown
Collaborator

@RUKAYAT-CODER Kindly resolve all conflicts

@drips-wave

drips-wave Bot commented Jun 30, 2026

Copy link
Copy Markdown

@RUKAYAT-CODER Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment