chore: move testnet instructions to README, add mutinynet

This commit is contained in:
Roland Bewick 2024-03-20 11:29:57 +07:00
parent 5cec285ca9
commit ffd2ebf0db
2 changed files with 21 additions and 0 deletions

View file

@ -19,6 +19,7 @@ Ideally the app runs 24/7 (on a node, VPS or always-online desktop/laptop machin
- LND (see: lnd.go)
- Breez (see: breez.go)
- Greenlight (see: greenlight.go)
- LDK (see: ldk.go)
- want more? please open an issue.
## Installation
@ -42,6 +43,9 @@ See [Greenlight](./README_GREENLIGHT.md)
### Required Software
- Go
- Node
- NPM
- Yarn
### Server (HTTP mode)
@ -115,6 +119,22 @@ _To configure via env, the following parameters must be provided:_
- `LND_CERT_FILE`: the location where LND's `tls.cert` file can be found (used with the LND backend)
- `LND_MACAROON_FILE`: the location where LND's `admin.macaroon` file can be found (used with the LND backend)
### LDK Backend parameters
#### Testnet
- `MEMPOOL_API=https://mempool.space/testnet/api`
- `LDK_NETWORK=testnet`
- `LDK_ESPLORA_SERVER=https://mempool.space/testnet/api`
- `LDK_GOSSIP_SOURCE=https://rapidsync.lightningdevkit.org/testnet/snapshot`
#### Mutinynet
- `MEMPOOL_API=https://mutinynet.com/api`
- `LDK_NETWORK=signet`
- `LDK_ESPLORA_SERVER=https://mutinynet.com/api`
- `LDK_GOSSIP_SOURCE=https://rgs.mutinynet.com/snapshot`
## Application deeplink options
### `/apps/new` deeplink options

View file

@ -21,5 +21,6 @@ type AppConfig struct {
LDKNetwork string `envconfig:"LDK_NETWORK" default:"bitcoin"`
LDKEsploraServer string `envconfig:"LDK_ESPLORA_SERVER" default:"https://blockstream.info/api"`
LDKGossipSource string `envconfig:"LDK_GOSSIP_SOURCE" default:"https://rapidsync.lightningdevkit.org/snapshot"`
MempoolApi string `envconfig:"MEMPOOL_API" default:"https://mempool.space/api"`
LDKLogLevel string `envconfig:"LDK_LOG_LEVEL"`
}