aniketambore / bijli_ln_wallet

A Non-Custodial Bitcoin Lightning Wallet
https://aniketambore.github.io/
MIT License
18 stars 1 forks source link

Open Channel #1

Open sunakshii12 opened 5 months ago

sunakshii12 commented 5 months ago

Hello Sir

I am facing issue to create a payment channel . I am getting error : Oops! We encountered an issue while trying to open a payment channel. Please try again later.

Let me know what is required to open a payment channel and how to create a invoice.

Thanks!

aniketambore commented 5 months ago

Hey, have you tried opening a payment channel with another node? If not, try it using different nodes from here: https://mempool.space/testnet/lightning/nodes/rankings/liquidity. Also, the error you're encountering is may be a generic one for the user. Try logging the exact error into the console and let me know.

sunakshii12 commented 5 months ago

Thanks for the revert . I am checking the link n will try with the another node and check the console and let you know.

sunakshii12 commented 5 months ago

Can you guide me how to open a payment channel. what is the requirements for this . I am stuck in this.

[ERROR ON OPENCHANNEL CUBIT] NodeException( Network connection closed. ) check image below. It will be easy if you share any youtube link to understand this .

sunakshii12 commented 5 months ago

screenshot-1713225175022

aniketambore commented 5 months ago

Hey, why are you setting the Amount and CounterParty Amount so low? 1 sat and 2 sats are just tiny dust amounts and won't work. I think that might be causing the problem. Try increasing it. If you look at this section link, I'm setting the Amount as 100000 sats and the CounterParty Amount as 50000 sats. Try getting some tbtc from the faucets or just send me your tbtc address, and I'll send you some bitcoins, then you can try it.

aniketambore commented 5 months ago

For learning materials to understand payment channel concepts, you can follow this link lnbook. It goes into depth, but you can follow it up to this section link.

sunakshii12 commented 5 months ago

Hey, why are you setting the Amount and CounterParty Amount so low? 1 sat and 2 sats are just tiny dust amounts and won't work. I think that might be causing the problem. Try increasing it. If you look at this section link, I'm setting the Amount as 100000 sats and the CounterParty Amount as 50000 sats. Try getting some tbtc from the faucets or just send me your tbtc address, and I'll send you some bitcoins, then you can try it.

Hey this is the tbtc address : tb1qpe5wv96xp7ytqjcm409uygl4cw8r86mk6nxeag

aniketambore commented 5 months ago

I shared some tbtc with you (https://blockstream.info/testnet/address/tb1qpe5wv96xp7ytqjcm409uygl4cw8r86mk6nxeag). Now, try creating a payment channel with 100000 sats and the counterparty having 50000 sats. If it doesn't work, try using different testnet nodes and let me know how it goes.

sunakshii12 commented 5 months ago

Hello

I am stuck in this. Actually I am new in this , I want to open a payment channel and then do invoice. When I am creating payment channel I am getting error [ERROR ON OPENCHANNEL CUBIT] NodeException( There are insufficient funds to complete the given operation. ).

Please let me know how can I add test fauset and how much i need to add to open channel ?