fix: json-rpc relay operator docs (public key as operator key, unlimited hbar spend, websocket)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 86/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- docker, markdown
- Ambito
- devops, documentation
Direzione di ricerca
Inizia con i tre file indicati nell'issue: operators/json-rpc/setup.mdx, operators/json-rpc/configuration.mdx e operators/json-rpc/index.mdx. Percorsi la tabella dei problemi di sei righe riga per riga — ogni riga fornisce già la file:line, il testo errato e la fonte per confermare il valore corretto (ad es. sostituire il placeholder della chiave pubblica 302d…, aggiungere RPC_WS_ENABLED=true e la Warning che limita HBAR, fissare ghcr.io/hiero-ledger/hiero-json-rpc-relay:0.79.0). Finito significa che ogni casella nell'elenco delle correzioni è stata applicata e che un revisore può eseguire docker compose up con il .env documentato e ottenere eth_chainId → 0x128, oppure l'affermazione è etichettata come non testata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
parent: #785
sources: verified 2026-10-06 against docs f0c4c87d, hiero-sdk-js 165df3acad (2.89.1), hiero-sdk-java 4d3646376e (2.78.0), hiero-sdk-go 2c21d88e12 (v2.85.1), hiero-mirror-node 4a946f1d9b (release v0.164.0), hiero-json-rpc-relay d430b651c7 (release v0.79.0), hiero-consensus-node 3589298689 (release v0.77.2), hiero-contracts 5ade6c8c0c, hedera-smart-contracts 43854b5c92.
what's wrong
checked against hiero-json-rpc-relay d430b651c7.
| file:line | problem | source |
|---|---|---|
operators/json-rpc/setup.mdx:41 |
OPERATOR_KEY_MAIN=302d300706052b8104000a0322000334…. 302d… is an ECDSA public key DER. the relay parses this field as a private key, so startup fails. |
relay src/relay/utils.ts (PrivateKey.fromStringDer); SDK EcdsaPublicKey.js:9 |
operators/json-rpc/configuration.mdx:34-47 |
only IP tiers, then "tune these based on … how much operator HBAR you're willing to spend". IP tiers don't cap HBAR. the HBAR limiter defaults to off. | globalConfig.ts:368-371 HBAR_RATE_LIMIT_TINYBAR default 0 // limits turned off |
operators/json-rpc/index.mdx:18 |
self-hosted cost "Infra cost only" | configuration.mdx:24 (operator pays); relay.ts:505-545 (zero balance aborts startup) |
configuration.mdx:32 |
"use the .env.ws.example template; it ships with its own port and host settings". WS starts only with RPC_WS_ENABLED=true (default false), which the template doesn't set. |
globalConfig.ts:1005-1008; src/index.ts:35,66 |
setup.mdx:32,45-49 |
compose always starts relay + relay-ws + redis and pulls unreleased :main (pull_policy: always). latest tag doesn't exist; release tag is 0.79.0 (no v). |
docker-compose.yml; GHCR tag list |
configuration.mdx:18-22 |
operator vars marked required; READ_ONLY mode not mentioned; zero operator balance aborts startup |
globalConfig.ts:610-622,660; relay.ts:284,505-545 |
fix
- placeholder
OPERATOR_KEY_MAIN=3030020100300706052b8104000a04220420…, plus a note that302d…/302a…are public keys. show theHEX_ECDSA+0x…alternative. - "HBAR spending limits" section: total budget, duration, tiers, spending plans file (
spendingPlansConfig.example.json), and a<Warning>that the default is unlimited. use source defaults; upstreamdocs/configuration.mdandhbar-limiting.mdare stale. - index.mdx cost row: "infra + operator HBAR for relayed transactions + a production mirror node".
- WebSocket:
RPC_HTTP_ENABLED/RPC_WS_ENABLED,WEB_SOCKET_PORT8546,WEB_SOCKET_HTTP_PORT8547. - say what compose starts. pin
ghcr.io/hiero-ledger/hiero-json-rpc-relay:0.79.0for anything beyond a local trial. - "required unless
READ_ONLY=true". prereq: operator needs a nonzero balance.
acceptance
- a reviewer runs
docker compose upwith the documented.envagainst testnet and getseth_chainId→0x128(or labels it untested).
files: operators/json-rpc/{index,setup,configuration}.mdx
related: #340 (paymaster on your own relay, separate scope). upstream relay docs drift to report.
- Lingua principale
- MDX
- Stelle
- 11
- Fork
- 51
- Merge medio
- 23h 44m
- PR unite (30g)
- 28
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hashgraph/hedera-docs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
hashgraph/hedera-docs#803 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
hashgraph/hedera-docs#733 ·
I maintainer di solito rispondono entro 1 giorno
-
New Feature tab/support
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
hashgraph/hedera-docs#611 ·
I maintainer di solito rispondono entro 1 giorno
-
New Feature tab/solutions
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hashgraph/hedera-docs#609 ·
I maintainer di solito rispondono entro 1 giorno
-
New Feature tab/solutions
Difficoltà 2/5 1-2 giorni Idoneità per principianti 75/100
hashgraph/hedera-docs#608 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di hashgraph/hedera-docs
Issue simili
-
package-lock.json : les binaires natifs macOS et Linux de unrs-resolver ont disparu depuis #1823Apertabug dependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
AxaFrance/design-system#2064 ·
I maintainer di solito rispondono entro 3 giorni
-
area-ci-cd area-testing p1-recommended
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
backend/daytona backend/docker comp/tools P2 type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
NousResearch/hermes-agent#144320 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
EPFL-ENAC/co2-calculator#3119 ·
I maintainer di solito rispondono entro 1 giorno