Skip to content

Commit 539d9ff

Browse files
Leo Weesegitbook-bot
authored andcommitted
GITBOOK-478: change request with no subject merged in GitBook
1 parent 47d006f commit 539d9ff

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

lightning-network-tools/taproot-assets/universes.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,23 @@ In the context of Taproot Assets, a universe is a service that acts as a reposit
88

99
Anyone may run a universe, or use one or multiple universes provided by others, such as Lightning Labs.
1010

11-
## Running a universe <a href="#docs-internal-guid-a793947b-7fff-5e06-ddbf-f64bd25da85f" id="docs-internal-guid-a793947b-7fff-5e06-ddbf-f64bd25da85f"></a>
11+
## Your local universe <a href="#docs-internal-guid-a793947b-7fff-5e06-ddbf-f64bd25da85f" id="docs-internal-guid-a793947b-7fff-5e06-ddbf-f64bd25da85f"></a>
12+
13+
When running `tapd`, you will run a private universe by default. In this mode, all RPC calls to the universe require authentication using the tapd macaroon. To disable macaroon authentication for the `QueryProof and InsertProof` RPC calls, you may set the following configuration flag:
14+
15+
```
16+
allow-public-uni-proof-courier=true
17+
```
18+
19+
You may further open up your local universe to serve the `QueryAssetStats` , `UniverseStats` and `QueryEvents` RPC calls:
20+
21+
```
22+
allow-public-stats=true
23+
```
24+
25+
You may do this to operate a public universe, or make it easier for other applications to reach your API endpoints.
26+
27+
## Running a public universe <a href="#docs-internal-guid-a793947b-7fff-5e06-ddbf-f64bd25da85f" id="docs-internal-guid-a793947b-7fff-5e06-ddbf-f64bd25da85f"></a>
1228

1329
Running a universe is as simple as running `tapd` and amending your configuration file. You may run a universe over RPC or REST. By default, `tapd` is expected to listen on gRPC TCP port `10029` and REST TCP port `8089` , so ensure this port is open on your machine if you would like others to connect to you. Being publicly reachable is not a requirement for a universe, however. Your universe may only serve resources on a private network, or be otherwise restricted.
1430

0 commit comments

Comments
 (0)