Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Psalmuel01/stackpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StackPay

StackPay is a decentralized, Bitcoin-native payment processor built on the Stacks blockchain. Inspired by Paystack and Stripe, StackPay empowers merchants, platforms, and developers to accept seamless crypto payments in STX, sBTC, and BTC, with on-chain verification and no intermediaries.


Features

  • Unique address generation for every payment
  • Real-time blockchain monitoring (STX/sBTC/BTC)
  • Webhooks to notify your app of confirmed payments
  • Easy-to-share payment links & QR codes
  • Merchant dashboard with payment history
  • REST API + JS SDK (coming soon)
  • Refunds & retries (optional)
  • Fully open-source and extensible

Use Cases

  • Digital creators accepting payments for courses or services
  • DAOs collecting contributions in Bitcoin-native assets
  • Web3 startups building Bitcoin-native checkout flows
  • Freelancers and solopreneurs paid in sBTC/BTC

Architecture Overview

Frontend (Vite + Tailwind)
       |
       |— Merchant Dashboard
       |— Payment Pages
       |
Backend (TypeScript)
       |
       |— Address Generator (HD Wallet)
       |— Blockchain Listeners (BTC & STX)
       |— Webhook Dispatcher
       |
Smart Contracts (Clarity)
       |
       |— Invoice Registry
       |— Payment Verification Logic

Documentation


Running Locally

# 1. Clone the repo
git clone https://github.com/yourname/stackpay.git && cd stackpay

# 2. Install dependencies
npm install

# 3. Start dev server
npm run dev

You’ll need your own HD wallet seed for testing address generation.


TODO / Roadmap

  • Launch MVP on Stacks Testnet
  • Smart Contract audits & refinements
  • REST API for merchant integrations
  • Webhooks & retry queue
  • Full payment analytics dashboard
  • Mainnet Launch 🚀

Contributing

StackPay is open-source and welcomes contributions! Whether you're a Clarity dev, frontend builder, or just love payments — PRs are welcome.

# Run linter & tests
npm run lint
npm test

Inspiration

StackPay is inspired by the simplicity of Paystack and Stripe, with the mission to bring Bitcoin-native programmable commerce to life using the Stacks blockchain.


Contact

Built with ❤️ by @psalmuel_1st


License

MIT © 2025 Samuel Dahunsi

About

A crypto-native payment processor for the Bitcoin economy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published