Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion clients/js/packages/client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const defaultPorts: PodPorts = {
chains: {
ethereum: {
rpc: 8551,
rest: 8545
rest: 8545,
ws: 8546
},
defaultPorts: {
rpc: 26657,
Expand Down
1 change: 1 addition & 0 deletions clients/js/packages/client/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export interface Ports {
prometheus?: number;
grafana?: number;
cometmock?: number;
ws?: number;
}

export interface Resources {
Expand Down
2 changes: 2 additions & 0 deletions docs/pages/config/chains.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ chains:
exposer: 9090 # Exposer sidecar port (less used)
```

> Note: Websockets are exposed at `ws://localhost:26657/websocket` for cosmos chains.

Available endpoints for extra services:
* `exposer`: https://github.com/hyperweb-io/starship/blob/main/starship/proto/exposer/service.proto#L15
* `faucet`: https://github.com/cosmos/cosmjs/blob/main/packages/faucet/README.md#using-the-faucet
Expand Down
1 change: 1 addition & 0 deletions docs/pages/config/ethereum.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ chains:
ports:
rest: 8545
rpc: 8551
ws: 8546 # optional
```

### Optional Configs
Expand Down
3 changes: 3 additions & 0 deletions starship/charts/devnet/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@
},
"faucet": {
"type": "number"
},
"ws": {
"type": "number"
}
}
},
Expand Down
Loading