What it does
The Personal Bitcoin Tip Card is a web-based tool created using Flutter Web and the BTCPay API that allows users to display their social network links and receive tips in Bitcoin (on-chain and off-chain via the Lightning Network). When someone clicks the "Tip Bitcoin" button on a user's card, they are taken to a tipping form where they can enter the amount, their name, and a message. The form generates an invoice using the BTCPay API, which the user can pay using their Bitcoin wallet.
How I built it
The project was built using Flutter Web and integrated with the BTCPay API to generate secure Bitcoin invoices. Lightning Network support was added using LnurlPay and WebLN methods to enable users to receive LN tips.
Challenges I ran into
One of the main challenges faced during the development process was ensuring the security of the generated invoices. However, this was overcome by following best practices and storing the XPUB only on the BTCPay API server in watch-only mode, ensuring that an infinite number of Bitcoin addresses can be generated for receiving tips while keeping everything secure.
Accomplishments that I'm proud of
The Personal Bitcoin Tip Card project is a simple but powerful tool that enables Bitcoin users to receive tips from anyone in a secure and easy-to-use way. The project follows the best practices for generating invoices securely, ensuring that users' funds are safe. The addition of Lightning Network support using LnurlPay and WebLN methods is also an accomplishment that I'm proud of, as it makes it easier for users to receive tips via LN.
What I learned
Developing the Personal Bitcoin Tip Card project involved working with Flutter Web and integrating with the BTCPay API, as well as learning about best practices for generating invoices securely. Adding Lightning Network support using LnurlPay and WebLN methods also provided valuable experience in integrating with LN-based tools.
What's next for Personal Bitcoin Tip Card
The next steps for the Personal Bitcoin Tip Card project include adding support for other cryptocurrencies and further improving the user experience. I'm also exploring ways to integrate the tool with existing content management systems and social media platforms, making it even easier for users to share their tip cards and receive tips.
Log in or sign up for Devpost to join the conversation.