Thanks for your support.
I haven’t changed any setting or code but now it works.
Now it works? Hahaha, that is why I love programming… The code just needed some rest or something like that. Sometime we struggle so much, and can’t get it to work… Then suddenly it works after a day og two…
Well, keep up the good work, I’m glad it works now.
Ivo
I’m getting this whenever I execute $ node -p “require(‘btcpay’).crypto.generate_keypair()” in the terminal:
KeyPair {
ec: EC {
curve: ShortCurve {
type: ‘short’,
p: [BN],
red: [Red],
zero: [BN],
one: [BN],
two: [BN],
n: [BN],
g: [Point],
_wnafT1: [Array],
_wnafT2: [Array],
_wnafT3: [Array],
_wnafT4: [Array],
_maxwellTrick: true,
redN: [BN],
a: [BN],
b: [BN],
tinv: [BN],
zeroA: true,
threeA: false,
endo: [Object],
_endoWnafT1: [Array],
_endoWnafT2: [Array]
},
n: BN { negative: 0, words: [Array], length: 10, red: null },
nh: BN { negative: 0, words: [Array], length: 10, red: null },
g: Point {
curve: [ShortCurve],
type: ‘affine’,
precomputed: [Object],
x: [BN],
y: [BN],
inf: false
},
hash: [Function: SHA256] {
blockSize: 512,
outSize: 256,
hmacStrength: 192,
padLength: 64
}
},
priv: BN {
negative: 0,
words: [
31557511, 26548167,
21049724, 15162989,
62705696, 45630699,
54042720, 4330723,
49336356, 3328039,
0
],
length: 10,
red: null
},
pub: null
}
Hi, can you try it again and post å screenshot of the error instead? I can try to take a look tonight maybe…
Have you tried to debug it yourself? Any idea why you get that response when you execute the command?
It would make it easier to help you if we know what you have tried…
Ivo
I’m getting an error at my ZAP wallet when I try to create a payment channel
“Unable to open channel: channel is too small”
Is there a minimum amount to create a channel?
How can I debug and fix this problem at my Zap wallet.
Additional information: I already have 280.000 satoshis confirmed at my wallet.
Hi.
I’m not an expert on Zap Wallet, but you can find all you need in the documentation.
You can use the link below.
Good luck, my friend.
Ivo
After restart my wallet, I finally managed to create my channel. Now I’m waiting for funding confirmation and then I will be able to send satoshis to everyone =)
Please post your LN address here so I can send you some over my LAPP.
I was trying to use ZAP wallet at mobile and it’s asking for information to connect to a node.
I’m also trying Joule Chrome extension and both require a node configuration from BTCPAY server, as described below:
Connect to your BTCPay Server
Follow these steps to connect your BTCPay Server to Joule. Your node must be fully synced in order to get connection details.
- Navigate to your BTCPayServer and log in as an admin
- Go to Server Settings > Services > LND Rest - See information
- Click “See QR Code information” and copy the QR Code data
- Paste the data below:
This info looks like: config=https://yourserver.lndyn.com/lndconfig/12345/lnd.config
Anyone here already had this kind of issue while trying to use an LN wallet?
Is your node fully synced with the blockchain already? It took 2 days with my highspeed internet connection. Or did you have a node already running?
I have not used Joule before but you should find the info/help you need in their documentation?
https://joule.run/docs/quickstart
I would have posted my LN address but I only created a testnet wallet back in the days, and it has been shut off for a couple of months now.
When you have your node up and running I will create a wallet so we can test it on the mainnet together if you want to.
I will add some links I assume you already have, but maybe other students can make use of them in their learning.
https://graph.lndexplorer.com/ - Lightning Network Visualizer
https://lightning.network/
https://lightning.network/lightning-network-paper.pdf
https://lightning.engineering/ - Lightning Labs
Ivo
Yesterday I was testing my Lightning app and it was generating invoices properly but wasn’t able to pay for any because my channel was funded but not confirmed.
Now I have a funded AND confirmed payment channel but can create new invoices. I’m getting this error when try to create new invoices:
Warning: No wallet has been linked to your BTCPay Store.
10:58:47 AM: Creation of invoice startinfollowing link for more information on how to connect yog
10:58:47 AM: BTC_USD: The rating rule is coinaverage(BTC_USD)
10:58:47 AM: BTC_USD: The evaluated rating rule is ERR_RATE_UNAVAILABLE(coinaverage, BTC_USD)
10:58:47 AM: BTC_USD: Rate rule error (RateUnavailable)
10:58:47 AM: BTC_USD: Exception reaching exchange coinnaverage (Unauthorized access to the API, premium plan average (Unauthorized access to the API, premium plan needed)
Does anyone have this kind of problem while creating invoices or maybe academy BTCPAY testing server is down at this moment?
Hi Filip , i am having a little trouble cause i cannot generate my private key . Without it i cannot go ahead xD. Sorry to be a pain , i am not very practical with the terminal operations.
Same question here, and this solution worked for me as well.
Hi, Samm.
I’m glad you were able to find the solution to your question in this topic.
You did the right thing by searching for it.
Nice work!
Ivo
Hello Filip,
I already have a full node running - What would be the steps to setup the Lightning node layer with the other requirements whether with or without BTCPay Server?
Thank you kindly
K.Deorgins
Hi, Im lost… I am having trouble with git clone command - I’m on windows.
What am I supposed to do?
hello sir, could you please post an screenshot or the log from the console to understand even better what is the issue?
Remember you can use the “Preformatted Text” Button to encapsulate any kind of code you want to show.
I am a happy Preformatted Text box, please use me wisely!
Carlos Z.
Hi Carlos, thanks! I downloaded the package instead of cloning it and I ran rmp install - I got a few vulnerabilities, one of which is critical
Critical
[Sandbox Bypass Leading to Arbitrary Code Execution
Package constantinople
Patched in >=3.1.1
Dependency of jade
Path jade > constantinople
More info https://npmjs.com/advisories/568
I have just tried generating key pairs but I only got this:
PS D:\Documents\Education\Blockchain - Crypto\IVANONTECH\Lightning\lightning-app-boilerplate-master> node -p "require('btcpay').crypto.generate_keypair()"
KeyPair {
ec: EC {
curve: ShortCurve {
type: 'short',
p: [BN],
red: [Red],
zero: [BN],
one: [BN],
two: [BN],
n: [BN],
g: [Point],
_wnafT1: [Array],
_wnafT2: [Array],
_wnafT3: [Array],
_wnafT4: [Array],
_bitLength: 256,
_maxwellTrick: true,
redN: [BN],
a: [BN],
b: [BN],
tinv: [BN],
zeroA: true,
threeA: false,
endo: [Object],
_endoWnafT1: [Array],
_endoWnafT2: [Array]
},
n: BN { negative: 0, words: [Array], length: 10, red: null },
nh: BN { negative: 0, words: [Array], length: 10, red: null },
g: Point {
curve: [ShortCurve],
type: 'affine',
precomputed: [Object],
x: [BN],
y: [BN],
inf: false
},
hash: [Function: SHA256] {
blockSize: 512,
outSize: 256,
hmacStrength: 192,
padLength: 64
}
},
priv: BN {
negative: 0,
words: [
42441689, 52968505,
17595833, 42003631,
8808856, 4544895,
51887438, 7408408,
44064799, 2566087,
0
],
length: 10,
red: null
},
pub: null
}
Thanks for the help
Try this command instead sir, you should be able to get the key with it:
node -p "require('btcpay').crypto.generate_keypair().getPrivate().toString(16)"
Hope you find this useful!
If you have any doubt, please let us know so we can help you!
Carlos Z.