-
Notifications
You must be signed in to change notification settings - Fork 93
docs: add quickstart to enable devs to spin up json rpc relay #4640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated the README to include quickstart instructions and environment variable configuration. Signed-off-by: jaycoolslm <86686746+jaycoolslm@users.noreply.github.com>
Revise README for quickstart and configuration steps
Added instructions to copy the example environment file. Signed-off-by: jaycoolslm <86686746+jaycoolslm@users.noreply.github.com>
Signed-off-by: Jake Hall <jake.hall@hashgraph.com>
Signed-off-by: jaycoolslm <86686746+jaycoolslm@users.noreply.github.com>
| @@ -78,7 +78,6 @@ | |||
| "version": "2.2.1", | |||
| "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", | |||
| "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", | |||
| "peer": true, | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you revert the changes to this file so the PR can focus solely on the document addition?
| HEDERA_NETWORK= # Which network to connect to. Can be: previewnet, testnet, mainnet or a map of IPs and nodes e.g. {"127.0.0.1:50211":"0.0.3"} | ||
| MIRROR_NODE_URL= # The Mirror Node API endpoint e.g. https://testnet.mirrornode.hedera.com or https://mainnet.mirrornode.hedera.com | ||
| # Operator Account (Required for transaction execution; use the Hedera Portal (https://hubs.ly/Q03Vw-vN0) account for 1000 HBAR / day) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is https://hubs.ly/Q03Vw-vN0? Can we not include it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it might be better to use a faucet address with our domain.
Also, I would avoid the bracket-inside-a-bracket construction. Maybe use markdown format [Hedera Portal](address to hedera portal) instead?
Also, I'm missing information that the description about the faucet applies only to the testnet/previewnet configuration.
| 3. Run `npm run start`. This will start the server on port `7546`. | ||
| ```bash | ||
| git clone https://github.com/hiero-ledger/hiero-json-rpc-relay.git | ||
| cd hiero-json-rpc-relay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should still add steps to install packages and build the project as well, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in the instructions for starting the dockerized version of the application, but we could include an alternative section on running it directly with npm start as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, we shouldn't keep Node/NPM in the requirements, because they no longer apply to the docker-only startup instruction.
Description
This PR adds a quickstart to enable devs to spin up json rpc relay
Related issue(s)
Fixes #
Testing Guide
Changes from original design (optional)
N/A
Additional work needed (optional)
N/A
Checklist