Add source wallet ID support for DCA distributions: update Lamassu configuration to include source_wallet_id, modify related models and CRUD operations, and enhance transaction processing to utilize the configured source wallet for payments. Update UI components to allow selection of the source wallet.

This commit is contained in:
padreug 2025-06-19 16:35:11 +02:00
parent 1388133f22
commit 1c1f358d82
6 changed files with 58 additions and 18 deletions

View file

@ -188,3 +188,15 @@ async def m009_add_username_to_dca_clients(db):
ADD COLUMN username TEXT;
"""
)
async def m010_add_source_wallet_to_lamassu_config(db):
"""
Add source wallet ID to Lamassu configuration table for DCA distributions.
"""
await db.execute(
"""
ALTER TABLE myextension.lamassu_config
ADD COLUMN source_wallet_id TEXT;
"""
)