-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathumbrelBasics-EN
More file actions
134 lines (58 loc) · 5.47 KB
/
umbrelBasics-EN
File metadata and controls
134 lines (58 loc) · 5.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
Wecome to another BTCPay server Video
today were going to cover how to install BTCPay with a lightning node on Umbrel
by the end of this video you will be able to accept lightning payments to your BTCPay store on your home network. This same process would also apply if your running a umbrel node in s resturant or bussiness.
If you want to connect this store to a public website running on a hosted server that is a bit too advanced for this example and will be covered in another video.
If your umbrel up and running with bitcoin core fully synced then you are ready to follow along and lets get into it.
------------------------------
First thing we're going to do is go to the app store and find BTCPay Server
We can see it says a lightning node is requried, it doesn't run on lighning but for the simplest way to use lighting in BTCPay server download the Lightning Node app
Click download and wait for this to finish, its important to have this set up before starting your BTCPay Server on umbrel.
This is going to create a wallet your lightning node will use.
Make sure your write this recovery phrase, do not screen shot this, use pen and paper and keep this safe.
If this is your first time doing this process you can learn more by finding more infomation on "key manament"
Next lets go back and get BTCPay server downloaded, click download and wait for that to finish.
First its going to ask you to create an account.
#####email for sign up is [email protected]
this is your to store login to save... we do not send you a "registration email". BTCPay server isn't a company. We don't store this login data or any data at all for that matter.
If you ask us to recover these logins we cannot help but you have the ablity to create as many user profiles as you choose as the admin of BTC
Now that we've created our "admin" account we need to make our fist store. Creating a store is how you create invoices and send or receive bitcoin to your BTCPay Server.
Similar to log in name it anything you like, we do not store any of this data this is just for your referance.
Now that you have a store set up lets connect your our umbrel lightning node to start accepting payments
We have some extremely high fees right now so I'm going to show you how to use lightning first.
Choose "Set up a lightning node", the reson we installed lightning node first was so that it can default to that lightning node we've already set up.
Hit save to confirm and return back to the dashboard.
Now we can see a green indicator on the side bar our lightning node is connected.
Now we are missing one important step, we some lightning liquidity to accept a payment.
The simplest way to do that is to go to bitrefill and buy an inbound lightning channel.
If these terms are confusing, don't get discouraged, follow along and it will make sense by the end after we've received a payment.
Additionally we'll add some links in the decription for more referances to lightning channel management.
Lets go to bitrefill.com and choose the bitcoin catagory.
If you do not have any bitcoin yet you can buy this with dollars, euros, or any form of payment that Bitrefill accepts.
For this example I'm going to buy 1 million sats or 0.01 of bitcoin, this will let me recive up to that amount in payments so about 300ish dollars at the time of recording this.
Pay for that, for my example I've already purchased my channel and will connect it now.
Choose claim this gift card
For this example we're going to "manually open lighting channel"
Go back to your BTCPay server and choose lightning, then click public node info
A qr code will appear, click copy to select that node ID, this is important remove the addition info that comes with your node ID.
You only need the ID, thats everything before the "@" symbol
This can take a few minutes to confirm. You'll know your channel is live when you can see it in your lightning node app in umbrel.
Now that we have some inbound liquidity lets create an invoice to pay
There are a couple ways to create an invoice in BTCPay server, first im going to show you the manual way then using the Point of Sale app.
Choose the amount to pay, order ID and item description are up to you
For this example I'm going to unselect on-chain bitcoin.
If you want to see how to set that up check out our video on "Import a Wallet File" or our video on "BTCPay Server Vault" to connect your store to a hardware wallet.
Further more you can add custom data or an email notification for when the invoice has been paid
Now click create and you'll be taken to the next screen information about the invoice and the option to checkout
Click check out and we can pay that invoice. (Pay invoice)
Now im going to show you how to create an invoice using the point of sale app.
In the side pannel under plugins choose the first option "Point of sale"
Give it name, I'm going to call mine Hal's Bodega
Next choose Key pad only and click save, then view to take us to the keypad.
Now this is cool on my computer but its really cool on my phone, select the URL how ever you choose to send it to your mobile device.
###Here we can see the phone creating the invoice
Using whatever device you choose, input an amount and for my example I'm going to select a 10% discount with a 20% tip and hit charge
A lightning invoice will be presented for your customer to pay.
I'm going to pay this and look at the confetti.
--------
That was the final step on
do a quick over view of other plugins like crowd fund and create a store