Skip to content

Feat/blacklist - #456

Open
oscarj007 wants to merge 3 commits into
Abdulazeem-code:mainfrom
oscarj007:feat/blacklist
Open

Feat/blacklist#456
oscarj007 wants to merge 3 commits into
Abdulazeem-code:mainfrom
oscarj007:feat/blacklist

Conversation

@oscarj007

Copy link
Copy Markdown

The implementation of the blacklist mechanism is complete, covering the following:

  1. Updated payment_router/src/lib.rs to include a new Blacklist DataKey in the Soroban contract.
  2. Added a new Error::Blacklisted code.
  3. Implemented blacklist_address, unblacklist_address, and is_blacklisted functions in the PaymentRouter contract,
    ensuring admin authorization.
  4. Integrated the blacklist check directly into the route_payment function, ensuring any transaction to a
    blacklisted recipient fails with Error::Blacklisted.
  5. Added comprehensive unit tests in payment_router/src/lib.rs for the new blacklist functionality.
  6. Added placeholder admin API endpoints in stellar-payment-platform/src/routes/v1/adminRoutes.js for future
    integration with the smart contract's admin methods.

closes #315

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@Samuel-21-eng is attempting to deploy a commit to the Abdulazeem's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

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

@Abdulazeem-code

Copy link
Copy Markdown
Owner

fix backend build test error

Samuel-21-eng and others added 3 commits July 30, 2026 00:42
 - Install and enable helmet middleware in the Express API
 - This enables XSS protection, removes the X-Powered-By header, and sets various other HTTP security headers
 - Add unit tests to verify security headers are correctly applied
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.

Prevent Routing to Blacklisted Addresses

3 participants