summaryrefslogtreecommitdiff
path: root/README.md
blob: b62c84f4435989271fccae14731ee9bd4124826d (plain)
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
# Lightning Network Cheat Sheet

Everything you need to work with the Lightning Network in a dense and concise form.

## Channels

- **Local balance** - outgoing liquidity
- **Remote balance** - incoming liquidity

### Fees

Fees are always charged on the **outgoing** path, when a payment is **forwarded**.

## Numbers

### Definitions

```
1 sat (satoshi)          = 1 / 100,000,000 = 0.00000001 BTC
1 ppm (part per million) = 1 /   1,000,000
1 bps (basis point)      = 1 /      10,000

- 1 **sat** (satoshi) = 1 / 100,000,000 = 0.00000001 BTC
- 1 **ppm** (part per million) = 1 / 1,000,000
- 1 **bps** (basis point) = 1 / 10,000
- 1000 ppm = 1 bps
- 1000 ppm = 0.1%
- 100 bps = 1%
```

### ppm to %

```
1    ppm = 0.0001%
10   ppm =  0.001%
100  ppm =   0.01%
1000 ppm =    0.1%
```

### bps to %

```
1   bps = 0.01%
10  bps =  0.1%
100 bps =    1%
```