Skip to content

Commit

Permalink
Merge pull request #15 from pokt-network/feat/grpc-listener
Browse files Browse the repository at this point in the history
feat: Add gRPC listener and change configs to use grpc and ws
  • Loading branch information
red-0ne authored Dec 15, 2023
2 parents ba49879 + 112f321 commit f1cb00d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
10 changes: 8 additions & 2 deletions charts/appgate-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@ config:
signing_key: app1
# The host and port that the appgate server will listen on
listening_endpoint: http://0.0.0.0:42069
# tcp://<host>:<port> to a full pocket node for reading data and listening for on-chain events
query_node_url: tcp://poktroll-sequencer:36657
# Pocket node URL that exposes CometBFT JSON-RPC API.
# This can be used by the Cosmos client SDK, event subscriptions, etc...
query_node_rpc_url: tcp://poktroll-sequencer:36657
# Pocket node URL that exposes the Cosmos gRPC service.
tx_node_grpc_url: tcp://poktroll-sequencer:36658
# Pocket node URL that exposes the Cosmos gRPC service, dedicated to querying purposes.
# If unspecified, defaults to `tx_node_grpc_url`.
query_node_grpc_url: tcp://poktroll-sequencer:36658

keyringBackend: test

Expand Down
12 changes: 8 additions & 4 deletions charts/relayminer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ configsConfigMapName: poktrolld-configs # TODO(@okdas): provision in the chart
keysConfigMapName: poktrolld-keys # TODO(@okdas): provision in the chart

config:
# tcp://<host>:<port> to a full pocket node for reading data and listening for on-chain events
query_node_url: tcp://poktroll-sequencer:36657
# tcp://<host>:<port> to a pocket node that gossips transactions throughout the network (may or may not be the sequencer)
network_node_url: tcp://poktroll-sequencer:36657
# Pocket node URL that exposes CometBFT JSON-RPC API.
# This can be used by the Cosmos client SDK, event subscriptions, etc...
query_node_rpc_url: tcp://poktroll-sequencer:36657
# Pocket node URL that exposes the Cosmos gRPC service.
tx_node_grpc_url: tcp://poktroll-sequencer:36658
# Pocket node URL that exposes the Cosmos gRPC service, dedicated to querying purposes.
# If unspecified, defaults to `tx_node_grpc_url`.
query_node_grpc_url: tcp://poktroll-sequencer:36658
# Name of the key (in the keyring) to sign transactions
signing_key_name: supplier1
# TODO_TECHDEBT(#137, #130): Once the `relayer.json` config file is implemented AND a local LLM RPC service
Expand Down

0 comments on commit f1cb00d

Please sign in to comment.