Welcome to the discussion thread about this lecture section. Here you can feel free to discuss the topic at hand and ask questions.
Please do post the documentation to set up own BTCpay LN node.
its ok i found it…thankyou
Running Windows 10 and PowerShell. When I try the long entry starting with “BTCPAY_URL=https://lightning.filipmartinsson.com/ BTCPAY_KEY” receive error: The term ‘BTCPAY_URL=https://lightning.filipmartinsson.com/’ is not recognized as the name of a cmdlet, function,script file, or operable program.
Going back to the start and trying again. Will post solution if I find it.
Try this. Just replace the <BTCPAY_URL>, <BTCPAY_KEY> and <BTCPAY_PAIRCODE> with the real values you already had. This should work, let me know. Will update the lecture with this code for windows users.
node -e "const btcpay=require('btcpay'); new btcpay.BTCPayClient(<BTCPAY_URL>, btcpay.crypto.load_keypair(Buffer.from(<BTCPAY_KEY>, 'hex'))).pair_client(<BTCPAY_PAIRCODE>).then(console.log).catch(console.error)"
@filip Thank you, that did the trick! I was able to generate a merchant key.