phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

Unable to pay my Test node from Phoenix wallet with a bolt12 offer

Open hMsats opened this issue 3 weeks ago • 9 comments

Phoenix version: 2.7.1

Node id Test node: 02a9dbc1724ecdcd94364920c029cc5b260081d5148d6698328f8dc73b3bfa0fcd

Node id Main node: 031979fe6ce0e69ece6d99a4bc4a7b30ed22a8cb8703dd7dd2dfaf619e07127e0b

See: https://github.com/ElementsProject/lightning/issues/8763

hMsats avatar Dec 07 '25 04:12 hMsats

If Phoenix can pay the main node but not the test node, then it's an issue with the test node.

E.g.:

  • the channel linking the test node to the rest of the network is unavailable
  • the test node is somehow misconfigured

You can try to pay a bolt11 invoice from the test node first instead of bolt12, to keep things simple.

dpad85 avatar Dec 08 '25 10:12 dpad85

Thanks, good idea. Paying 50 sats with a bolt11 invoice from Phoenix -> Test node worked:

    {
         "label": "lab",
         "bolt11": "lnbc500n1p5ndvuvsp58w4vf4ymct66aznnql60wr5jxy3a40dtlc076v33z3mj6davugfspp5xw5kxp2xwd2u6ccw2wghsdm63xrsyalk8teyhngyjlp7zsa9x78qdq8w3jhxaqxqyjw5qcqpjrzjqvvhnlnvurnfanndnxjtcjnmxrkj92xtsupa6lwjm7hkr8s8zflqkrw9vyqqtkgqqqqqqqqqqqqqqqqqyg9qxpqysgqmzgwy6lwkdffa9z69wruev57h5nrjxgcwr8g38nlpy7u6khwsnthmx7dm4ndd9re2rznlyemky64jlku6z09v45mfpgksm0xp8cysaspu3t62m",
         "payment_hash": "33a96305467355cd630e539178377a89870277f63af24bcd0497c3e143a5378e",
         "amount_msat": 50000,
         "status": "paid",
         "pay_index": 431,
         "amount_received_msat": 50000,
         "paid_at": 1765192649,
         "payment_preimage": "5ef29f0bcff9cb83cf6068a1ee72401852abef2a711c9264f8c4881484774645",
         "description": "test",
         "expires_at": 1765797391,
         "created_index": 481,
         "updated_index": 481
      }

Paying 50 sats with the bolt12 offer for any amount: lno1zcss92wmc9eyanwdjsmyjgxq98x9kfsqs823frtxnqeglrw88val5r7d, from Phoenix to Test node failed again

hMsats avatar Dec 08 '25 11:12 hMsats

If I may ask. Where did you find the testnet version of the phoenix wallet? Bc I can not find it in the releases anywhere

MatsukiTsushida avatar Dec 08 '25 17:12 MatsukiTsushida

@MatsukiTsushida Testnet version? Maybe I don't understand your question but I'm using real bitcoin/sats.

hMsats avatar Dec 08 '25 18:12 hMsats

@MatsukiTsushida Testnet version? Maybe I don't understand your question but I'm using real bitcoin/sats.

But u have a test node set up....how are u supposed to pay your test node if your phoenix wallet is on mainnet lmao. That's probably why it doesn't work lol

MatsukiTsushida avatar Dec 08 '25 18:12 MatsukiTsushida

I only call it a "Test node" because I use this node to test new versions of CLN before applying it to my main node because if something goes wrong on the main node I might lose my connections to ACINQ or Kraken. So it's a "Test node" not a "Testnet node". By the way, the payments work from my "Test node" to Phoenix wallet. Sorry for the confusion this may have caused.

hMsats avatar Dec 08 '25 18:12 hMsats

Aw man, bc I am trying to use testnet with with the Phoenix wallet and I heard it can be set up so I thought u were taking about it 😭😭😭

I only call it a "Test node" because I use this node to test new versions of CLN before applying it to my main node because if something goes wrong on the main node I might lose my connections to ACINQ or Kraken. So it's a "Test node" not a "Testnet node". By the way, the payments work from my "Test node" to Phoenix wallet. Sorry for the confusion this may have caused.

MatsukiTsushida avatar Dec 08 '25 18:12 MatsukiTsushida

Ah hihi. I found this: https://acinq.co/pub/phoenix/phoenix-testnet-latest.apk on this page

hMsats avatar Dec 08 '25 18:12 hMsats

@dpad85 When I pay my Main node from Phoenix (with an offer), I see the corresponding invoice appear at my node. When I pay my Test node from Phoenix, no invoice is created at my node. So the problem isn't the payment itself but getting the invoice from my Test node. I try to look for differences between my Main node and my Test node at my side but can't find any.

hMsats avatar Dec 09 '25 07:12 hMsats