github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/docs/interfaces/lite/getting_started.md (about)

     1  # Getting Started
     2  
     3  To start a REST server, we need to specify the following parameters:
     4  
     5  | Parameter   | Type      | Default                 | Required | Description                                          |
     6  | ----------- | --------- | ----------------------- | -------- | ---------------------------------------------------- |
     7  | chain-id    | string    | null                    | true     | chain id of the full node to connect                 |
     8  | node        | URL       | "tcp://localhost:46657" | true     | address of the full node to connect                  |
     9  | laddr       | URL       | "tcp://localhost:1317"  | true     | address to run the rest server on                    |
    10  | trust-node  | bool      | "false"                 | true     | Whether this LCD is connected to a trusted full node |
    11  | trust-store | DIRECTORY | "$HOME/.lcd"            | false    | directory for save checkpoints and validator sets    |
    12  
    13  For example:
    14  
    15  ```bash
    16  gaiacli rest-server --chain-id=test \
    17      --laddr=tcp://localhost:1317 \
    18      --node tcp://localhost:26657 \
    19      --trust-node=false
    20  ```
    21  
    22  For more information about the Gaia-Lite RPC, see the [swagger documentation](https://cosmos.network/rpc/)