Skip to content

vitalikda/bitcoin-payment-request

Repository files navigation

Bitcoin Payment Request

This is a simple Next.js app that showcases the functionality of generating a testnet Bitcoin payment request. It allows users to display a QR code for the payment and monitor the payment status.

Features 🌟

  • Generate a new HD wallet on demand (persistence is done using LocalStorage)
  • User input for specifying the tBTC amount for the payment
  • Generate a QR code for the payment request based on the wallet address and specified amount
  • Real-time updates by polling until the payment is received (balance updated) or displaying a timeout message after 10 minutes

Getting Started 🚀

pnpm install pnpm dev

Prerequisites 📝

  • This application uses the Bitcoin testnet; no real money is involved
  • You can obtain testnet BTC from a testnet faucet

Contributing 🤝

Contributions are welcome! If you find a bug or have a suggestion, please open an issue or submit a pull request.

About

A Next.js app that generates Bitcoin testnet payment requests, displays QR codes, and tracks payment status in real-time

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors