Profile: 96e95117...
Anybody have any links to good guidance for US taxpayers on lightning network? When is a capital gain/loss incurred, when a channel is closed or when transactions are made within LN?
I would assume the latter but I'm having trouble finding any good sourcing on this. Any guidance on how to account for this in Koinly? Mark channel opens as transfers to my own wallet?
I'm using Zeus and Electrum. #bitcoin #lightningnetwork #asknostr #taxes #accounting
Are you looking at "smallest channel?" I'm referring to "min channel size."
For boltz, the former 515k sats is and the latter is 500k.
https://amboss.space/node/02d96eadea3d780104449aca5c93461ce67c1564e2e1d73225fa67dd3b997a6018
I am looking for the smallest channel size the node will accept if I make a request for a new channel. I've noticed some nodes have small channels (say 20k sats) established a long time ago but if I try to open a 50k channel I get an error that the size is below their minimum channel size.
Existing channel sizes are a good indicator for this, but not perfect.
Thanks! This is different than minimum size it's currently accepting for new channels but it's a move in the right direction. If there's some way to quickly query this information from nodes via python I'd love to find a way to do that.
Question for BTC lightning devs: I want to write a #python script to identify good lightning nodes to connect to. In particular, nodes which have a smaller maximum channel size. I know lightning node explorers exist, but they are centralized third parties and don't list minimum channel size.
Without running a full stack of core + lnd/cln, is there a simple way from python to talk to lightning nodes and send/receive messages to them? What would you suggest? #asknostr #bitcoin #lightningnetwork
After a lightning invoice has been created, is it possible to add/inject a "description" into the invoice? Or can this only be done by the creator of the invoice? #bitcoin #asknostr #lightningnetwork
Appreciate the fuck outta you Jack. Don't let the hate get you down.
Does anybody know of a #cloud hosting/VPS provider where we can "gift" hosting to another user? Either via a gift card or some similar mechanism? Bonus points if they take #bitcoin. #webdev
Never mind, I am an idiot. Launch w --mutinynet
Question for #bitcoin devs, how can I connect #electrum wallet to #mutinynet? I tried opening it with the --signet argument, but it doesn't appear to be working. I used the faucet at the URL below but didn't receive the coins.
#bitcoindev
I've been trying to pay w the electrum wallet if that helps debugging.
Order ID 'e15e87cf572f924942d1f2d58ce026b0'
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
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
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"
}
]
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.
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!
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:
Thank you for the quick response! Unfortunately, the tool we are developing with doesn't support mutinynet. Do you know approximately how long the issues would persist? If it's days, we can just wait till its back online, but if it's weeks, we'll just move forward without writing the portion of code that expects the testnet service to work.
Unless we can use the mutinynet endpoint to generate a channel request/invoice/channel on testnet somehow?
nostr:nprofile1qyghwumn8ghj7mn0wd68ytnhd9hx2tcpr4mhxue69uhkummnw3ezucnfw33k76twv4ezuum0vd5kzmp0qyt8wumn8ghj7un9d3shjtnddaehgu3wwp6kytcqyq6d9af8fuv43lxjevjx8k474h0c5g0cft8yysw63zqz80c9ejqf2defkha I am having some trouble using your LSP API, specifically w the "create_order" function.
I've created a simple example request using reqbin.com, but I just keep getting timeout errors. What am I doing wrong?
URL POST: https://testnet-lsps1.lnolymp.us/api/v1/create_order
BODY JSON:
{
"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": "035e4ff418fc8b5554c5d9eea66396c227bd429a3251c8cbc711002ba215bfc226"
}
