It should be back up now. Just let us know if you continue to have issues.
Discussion
Thank you! I'm getting responses now instead of timeout. I get the error 400 (Bad Request) for the following POST data. I think I must be missing something obvious here. What do I need to do to make my peer "connected" to zeus?
{
"lsp_balance_sat": "1000000",
"client_balance_sat": "0",
"required_channel_confirmations": 8,
"funding_confirms_within_blocks": 6,
"channel_expiry_blocks": 13000,
"token": "",
"refund_onchain_address": "",
"announce_channel": false,
"public_key": "03781444afe27babf724304c25370f195d9d955065d7894539ed7db5fe596badb8"
}
Error I receive:
{
"error": true,
"message": "Peer not connected. Ensure you've connected to the LSP peer as a node and provided the correct public key.",
"property": "public_key"
}
For testing, I specifically picked a pubkey Zeus is connected to according to:
That’s not our node. You can get our connection URI from the API docs or the get_info call
Aah I see, I got that 0378 address from the API docs:
https://docs.zeusln.app/lsp/services/lsps1/
The URI get from /api/v1/get_info is different. Thank you!
URIs on the docs page look ok to me. You likely just clicked on something in the sidebar.
No worries.
Is there a way to use /api/v1/create_order without first opening a channel to Zeus? This could save an on-chain TX fee.
My understanding of the flow is:
1. User opens channel A to zeus
2. User requests channel B order via /api/v1/create_order
3. User pays invoice from order
4. Channel B gets opened from zeus to User.
In this case, channel A is pointless.
2-4 is the purchase channels in advance flow
1 is an outbound opened channel, we call this ‘Channels open with on-chain funds’ in the docs - it can still be upgraded to a leased channel, see https://docs.zeusln.app/lsp/services/lsps7
This page is also good for explaining channel differences https://docs.zeusln.app/lsp/channel-differences
I got the create_order function working on testnet, but can't seem to pay the invoice. I have a channel open directly w your testnet node, and I have tried paying the invoice from Electrum on testnet but get this error:
lnpay('lntb...')
{
"log": [
[
"2",
"0x0x0",
"INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS"
]
],
"payment_hash": "2f451....",
"preimage": null,
"success": false
Here is my channel info:
list_channels()
[
{
"channel_id": "4d322...",
"channel_point": "3d87...",
"closing_txid": null,
"local_balance": 400000,
"local_ctn": 9,
"local_reserve": 4000,
"local_unsettled_sent": 0,
"peer_state": "GOOD",
"remote_balance": 0,
"remote_ctn": 9,
"remote_pubkey": "02bf82...",
"remote_reserve": 4000,
"remote_unsettled_sent": 0,
"short_channel_id": "467...",
"state": "OPEN",
"type": "CHANNEL"
}
]
Send us your node pubkey and we can take a look at the logs.
Sending you a DM lmk if you don't get it, Coracle is warning me that you don't have a DM inbox relay setup
Didn’t get it…
Having some new issues requesting liquidity and paying invoices. I've successfully used create_order from testnet-lsps1.lnolymp.us but whenever I try to pay the invoice I get this error in electrum: INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS
I've tried paying the invoice from multiple testnet wallets. Here's an example invoice giving me this issue:
lntb122510n1p50rjacpp5yxummm92ay7a5lwrgy4l3ktpt9myls8z3j77attz0wx7amhfxltqdrlf9hxymm4dejzqcmgv9hxuetv9ss8qun0we5kgetyyp38jgz0d3uk6ur4wvsxy7fqtfz425eq9pjnzdt98qmkxe34xuexvwfjxsungvnyx9nryep48p3k2vpjxe3rq2gcqzzsxqrrsssp5xllglduswmp56gd2xmy29cqyv0xef84g8lu3dtt3svgpuce589nq9qxpqysgq90g4clh7a50sztazegedkxh0gx66uhnh3hrm8g3md9xwrndf8s0z9fng8awze4w93ktfr6ampsn92t4frrnlsv2cgcx3c0nw9r832acppenfyh