feat: add API keys module and Stellar SDK integration#1055
Open
RUKAYAT-CODER wants to merge 2 commits into
Open
feat: add API keys module and Stellar SDK integration#1055RUKAYAT-CODER wants to merge 2 commits into
RUKAYAT-CODER wants to merge 2 commits into
Conversation
- 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
|
@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. |
Collaborator
|
@RUKAYAT-CODER Kindly resolve all conflicts |
|
@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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ApiKeysModulewith API key generation (bcrypt hashed), listing, and revocation endpointsStellarModulewrapping@stellar/stellar-sdkwith aStellarServicefor network configuration and keypair managementapp.module.tsimports array syntax (pre-existing merge conflict artefact)Test plan
POST /api-keys— creates key, returns raw key onceGET /api-keys— lists active keys (no raw key in response)DELETE /api-keys/:id— revokes keyPOST /stellar/assets/register— registers asset on-chain (stub returns{ txHash, status })POST /stellar/assets/:id/tokenize— tokenizes asset (stub)closes #932
closes #933
closes #934
closes #935