Skip to content

Commit

Permalink
denote api methods in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Oct 25, 2023
1 parent c05368e commit 6c8a869
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ The relayer is configured via a JSON file, the path to which is passed in via th
- The ID of the Avalanche network to which the relayer will connect. Defaults to `1` (Mainnet).

`"p-chain-api-url": string`
- The URL of the Avalanche P-Chain API node to which the relayer will connect.
- The URL of the Avalanche P-Chain API node to which the relayer will connect. This API node needs to have the following methods enabled:
- info.peers
- platform.getHeight
- platform.validatedBy
- platform.getValidatorsAt

`"encrypt-connection": boolean`
- Whether or not to encrypt the connection to the P-Chain API node. Defaults to `true`.
Expand Down

0 comments on commit 6c8a869

Please sign in to comment.