summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2021-08-07 10:39:53 +0300
committerYuval Adam <_@yuv.al>2021-08-07 10:39:53 +0300
commit9bae4dcc5b1d20146eec993a65a3f5818810013a (patch)
treebd27be30331c5b8345a92dff567b5600d84dd630 /README.md
parentb05aad6f105ee9e456b4ad13985ed903b4ab98d8 (diff)
Add channels and numbers
Diffstat (limited to 'README.md')
-rw-r--r--README.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/README.md b/README.md
index b9ecf2d..b62c84f 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,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%
+```