From 87ab76ffa5947ce17ca18c936e064bb61ab701a3 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Fri, 9 Apr 2021 10:56:28 -0400 Subject: [PATCH] add chain params --- content/faq/integration.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 content/faq/integration.md diff --git a/content/faq/integration.md b/content/faq/integration.md new file mode 100644 index 00000000..d8a79076 --- /dev/null +++ b/content/faq/integration.md @@ -0,0 +1,30 @@ +--- +title: LBRY Chain Parameters +category: other +--- + +These parameters are often needed to integrate LBRY into wallets or exchanges. + +## Only trust the source + +[The source code](https://github.com/lbryio/lbrycrd/blob/v0.17.3.2/src/chainparams.cpp) is the only true definition of the chain parameters. +They are reproduced here for convenience only. If there's any discrepancy, the source is correct. + +## Parmeters + +| Name | Value | +| ----------- | ----------- | +| Genesis Block Hash | `9c89283ba0f3227f6c03b70216b9f665f0118d5e0fa729cedf4fb34d6a34f463` | +| Target Block Time | 150 seconds | +| Default Port | `9246` | +| Pubkey Address Prefix | `0x55` (starts with `b`) | +| Script Address Prefix | `0x7a` (starts with `r`) | +| Secret Key Prefix | `0x1c` | +| Witness Pubkey Prefix | `0x06` (starts with `p2`) | +| Witness Script Prefix | `0x0a` (starts with `7Xh`) | +| BIP32 Extended Pubkey Prefix | `0x0488b21e` (starts with `xpub`) | +| BIP32 Extended Secret Prefix | `0x0488ade4` (starts with `xprv`) | +| BIP173 Bech32 Human-Readable Part | `lbc` | +| BIP44 Coin Type | `0x8c` | +| Network Magic Bytes | `0xfae4aaf1` | +| COIN (how many deweys in 1 LBC) | `100000000` |