WebSocket Support
1
Base — Onchain Supplier configuration
owner_address: <OWNER_ADDRESS>
operator_address: <OPERATOR_ADDRESS>
stake_amount: <STAKE_AMOUNT>upokt
default_rev_share_percent:
<REWARD_ADDRESS>: 100
services:
- service_id: "base"
endpoints:
- publicly_exposed_url: http://<YOUR_PUBLIC_RELAY_MINER_IP>:8545
rpc_type: JSON_RPC
- publicly_exposed_url: ws://<YOUR_PUBLIC_RELAY_MINER_IP>:8546
rpc_type: WEBSOCKETpocketd tx supplier stake-supplier ...2
Base — Offchain RelayMiner configuration
default_signing_key_names:
- supplier
smt_store_path: /path/to/.pocket/smt
pocket_node:
query_node_rpc_url: https://<RPC_NODE>
query_node_grpc_url: https://<GRPC_NODE>:443
tx_node_rpc_url: https://<TX_NODE>
suppliers:
- service_id: "base"
# Default (JSON-RPC)
service_config:
backend_url: "http://<YOUR_BASE_SERVICE_BACKEND_IP>:8545"
rpc_type_service_configs:
# JSON-RPC WebSocket
websocket:
backend_url: "ws://<YOUR_BASE_SERVICE_BACKEND_IP>:8546"
listen_url: http://0.0.0.0:8545
metrics:
enabled: false
addr: :9090
pprof:
enabled: falsepocketd relayminer start ...Last updated
Was this helpful?
