No description
Find a file
2025-06-19 17:33:24 +02:00
.github/workflows feat: code quality 2024-08-13 08:20:45 +02:00
static Add test transaction endpoint and UI integration: implement API for simulating transactions with mock data, including commission and discount calculations. Enhance frontend to trigger test transactions and display results in a dialog, improving user experience and testing capabilities. 2025-06-19 17:33:16 +02:00
templates/myextension Add test transaction endpoint and UI integration: implement API for simulating transactions with mock data, including commission and discount calculations. Enhance frontend to trigger test transactions and display results in a dialog, improving user experience and testing capabilities. 2025-06-19 17:33:16 +02:00
tests feat: code quality 2024-08-13 08:20:45 +02:00
.gitignore feat: code quality 2024-08-13 08:20:45 +02:00
.prettierrc feat: code quality 2024-08-13 08:20:45 +02:00
__init__.py Add Lamassu database configuration: implement CRUD operations, polling tasks, and UI components for managing database settings. Introduce hourly transaction polling and manual poll functionality. 2025-06-18 10:56:05 +02:00
CLAUDE.md Enhance DCA system documentation: add detailed progress updates on completed features, current state, next steps, and technical implementation details. Include sections on SSH-based database polling, transaction processing, smart poll tracking, client management, admin interface, and database schema. 2025-06-18 17:30:26 +02:00
config.json another v1 fixup + moved lnurl stuff to models 2024-11-15 00:06:28 +00:00
crud.py Add DCA payment status update functionality: implement update_dca_payment_status method in CRUD operations and integrate it into the LamassuTransactionProcessor for updating payment statuses to 'confirmed' or 'failed' based on transaction outcomes. Enhance error handling and logging for better traceability. 2025-06-19 17:33:24 +02:00
DCA-Common-Specification.md add project specification files 2025-06-17 18:18:44 +02:00
DCA-System-Implementation-Plan.md add project specification files 2025-06-17 18:18:44 +02:00
description.md feat: code quality 2024-08-13 08:20:45 +02:00
Extension-Admin-Specification.md add project specification files 2025-06-17 18:18:44 +02:00
Extension-Client-Specification.md add project specification files 2025-06-17 18:18:44 +02:00
ExtensionDescription.md add project specification files 2025-06-17 18:18:44 +02:00
helpers.py Added lnurl helper, and I hate mypy 2024-11-18 20:49:24 +00:00
Lamassu-Database-Analysis.md add project specification files 2025-06-17 18:18:44 +02:00
LICENSE tweak 2023-12-28 16:29:04 +00:00
Makefile feat: code quality 2024-08-13 08:20:45 +02:00
manifest.json changed name to myextension 2024-01-16 16:38:53 +00:00
migrations.py Add commission wallet support in Lamassu configuration: update database schema to include commission_wallet_id, modify related models and CRUD operations, and implement commission payment functionality in transaction processing. Enhance UI components to allow selection of the commission wallet for improved user experience. 2025-06-19 17:08:07 +02:00
models.py Add commission wallet support in Lamassu configuration: update database schema to include commission_wallet_id, modify related models and CRUD operations, and implement commission payment functionality in transaction processing. Enhance UI components to allow selection of the commission wallet for improved user experience. 2025-06-19 17:08:07 +02:00
package-lock.json feat: code quality 2024-08-13 08:20:45 +02:00
package.json feat: code quality 2024-08-13 08:20:45 +02:00
poetry.lock cleaned up api 2024-11-18 15:46:06 +00:00
pyproject.toml cleaned up api 2024-11-18 15:46:06 +00:00
README.md feat: code quality 2024-08-13 08:20:45 +02:00
tasks.py Add Lamassu database configuration: implement CRUD operations, polling tasks, and UI components for managing database settings. Introduce hourly transaction polling and manual poll functionality. 2025-06-18 10:56:05 +02:00
toc.md feat: code quality 2024-08-13 08:20:45 +02:00
transaction_processor.py Add DCA payment status update functionality: implement update_dca_payment_status method in CRUD operations and integrate it into the LamassuTransactionProcessor for updating payment statuses to 'confirmed' or 'failed' based on transaction outcomes. Enhance error handling and logging for better traceability. 2025-06-19 17:33:24 +02:00
views.py Mostly working 2024-11-18 21:54:27 +00:00
views_api.py Add test transaction endpoint and UI integration: implement API for simulating transactions with mock data, including commission and discount calculations. Enhance frontend to trigger test transactions and display results in a dialog, improving user experience and testing capabilities. 2025-06-19 17:33:16 +02:00
views_lnurl.py Added lnurl helper, and I hate mypy 2024-11-18 20:49:24 +00:00

The README.md typically serves as a guide for using the extension.

MyExtension - An LNbits Extension

A Starter Template for Your Own Extension

Ready to start hacking? Once you've forked this extension, you can incorporate functions from other extensions as needed.

How to Use This Template

This guide assumes you're using this extension as a base for a new one, and have installed LNbits using https://github.com/lnbits/lnbits/blob/main/docs/guide/installation.md#option-1-recommended-poetry.

  1. Install and enable the extension either through the official LNbits manifest or by adding https://raw.githubusercontent.com/lnbits/myextension/main/manifest.json to "Server"/"Server"/"Extension Sources". Extension Sources image

  2. Ctrl c shut down your LNbits installation.

  3. Download the extension files from https://github.com/lnbits/myextension to a folder outside of /lnbits, and initialize the folder with git. Alternatively, create a repo, copy the myextension extension files into it, then git clone the extension to a location outside of /lnbits.

  4. Remove the installed extension from lnbits/lnbits/extensions.

  5. Create a symbolic link using ln -s /home/ben/Projects/<name of your extension> /home/ben/Projects/lnbits/lnbits/extensions.

  6. Restart your LNbits installation. You can now modify your extension and git push changes to a repo.

  7. When you're ready to share your manifest so others can install it, edit /lnbits/myextension/manifest.json to include the git credentials of your extension.

  8. IMPORTANT: If you want your extension to be added to the official LNbits manifest, please follow the guidelines here: https://github.com/lnbits/lnbits-extensions#important