Skip to content

TODO: Implement mint quote payment for cross-mint transfers #22

@shroominic

Description

@shroominic

TODO Location

sixty_nuts/wallet.py:1647

Priority

🔴 High Priority - Essential for cross-mint functionality

Current Code

# TODO: Implement mint quote payment
# Attempt to mint using the quote
# Note: This will fail unless the invoice is actually paid
raise WalletError(
    f"Cross-mint transfers require Lightning payment infrastructure. "
    f"Please pay invoice: {quote_resp.get('request', 'No invoice available')} "
)

What needs to be done

  • Implement Lightning invoice payment functionality for cross-mint transfers
  • Integrate with Lightning node or payment service
  • Handle payment confirmation and proof minting
  • Support both automated and manual payment flows

Requirements

  • Lightning integration (LND, CLN, or payment service API)
  • Payment status polling
  • Error handling for failed payments
  • Timeout management

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions