You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-14Lines changed: 26 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,17 +66,29 @@ The web server starts at default address `localhost:3000` with the following rou
66
66
If mining is enabled, the esplora broadcast endpoint is wrapped so that a block is mined just after the transaction is published to get it confirmed; this is useful when running in regtest network.
67
67
All requests to chopsticks are (optionally) logged using a logger inspired by [negroni](https://github.com/urfave/negroni) package.
68
68
69
-
To customize server urls and ports use flags when running the binary:
70
-
71
-
-`--chain` one between `bitcoin` and `liquid`
72
-
-`--addr` server listening address (default `localhost:3000`)
73
-
-`--rpc-addr` btc RPC server listening address (default `localhost:19001`)
74
-
-`--btc-cookie` btc RPC server user and password (default `admin1:123`)
75
-
-`--liquid-addr` liquid RPC server listening address (default `localhost:18884`)
76
-
-`--electrs-addr` electrs HTTP server listening address (default `localhost:3002`)
77
-
-`--use-tls` specify using either `http` or `https` (default `true`)
78
-
-`--use-faucet` to have a /faucet endpoint available for sending funds
79
-
-`--use-mining` to have the esplora /broadcast endpoint wrapped so that a block is mined after the transaction
80
-
is published
81
-
-`--use-logger` to log every request/response
82
-
-`--registry-path` to set the path for the asset registry db (default to current directory - Liquid only)
69
+
70
+
## Configuration: Command-Line Flags
71
+
72
+
### Network Selection
73
+
-`--chain` - Choose between bitcoin or liquid networks
74
+
-`--wallet-name` - Specify wallet name (default: empty string `""`)
75
+
76
+
### Server Configuration
77
+
-`--addr` - Server listening address (default: localhost:3000)
0 commit comments