Skip to content

Web SDK LN receive can create invoice with unverified gateway, then paid invoice cancels rejected before ecash mints #296

@jesuspirate

Description

@jesuspirate

Federation:
888b70ec351c67dcbb0ae655d7b8b6fb26c0fc9e865ee5918af11dc6f53e2b9e

SDK:
@fedimint/core 0.1.3
@fedimint/transport-web 0.1.2
@fedimint/fedimint-client-wasm-bundler 0.1.1

Observed:
list_gateways returns gateways but vetted=false.
get_config advertises meta module ref 4.
Browser client cannot query meta consensus:

  • module=meta key=0: module not found: meta
  • module=4 key=0: module not found: 4

If app passes the Fedi gateway anyway, create_bolt11_invoice can produce a QR. After payment, receive state emits funded, then canceled:rejected. Wallet balance remains 0.

Expected:
Either list_gateways marks the federation-trusted gateway vetted=true, or the JS/WASM SDK exposes meta consensus, or create_bolt11_invoice refuses before creating a payable invoice when gateway trust cannot be verified.

Operation ids seen:
50 sats: ad593d23109a4ccc19db278234cd41ef3289e677766e8e45c6c517a9fb0a6981
1500 sats: a88cee9ee63d2ec4132f2ee4be316c2f718e20388996ca8e5b21dd6b3d83f3d4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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