Skip to content
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

support for custom json-rpc-server urls #330

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

LukeBair
Copy link
Contributor

@LukeBair LukeBair commented Feb 6, 2025

Added a new environment variable: "JSON_RPC_SERVER_URL" which defaults to "http://localhost:8545/" which is the normal json rpc server port. Also made sure that Client.ts defaults to the same url when no environment variable is found.

This fixes issue #325

@rbair23 rbair23 linked an issue Feb 6, 2025 that may be closed by this pull request
Copy link
Contributor

@rwalworth rwalworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LukeBair you mention in the issue documenting the default port. I think this is a good idea and important, would you be able to add this to the README? Once added I can approve and merge, thank you!

@LukeBair
Copy link
Contributor Author

LukeBair commented Feb 6, 2025

@rwalworth Of course! I'm not sure if this last commit added enough information to the readme, if there should be more I can add some more.

Added a line talking about the default json rpc server url, and where it can be configured in the README

this commit fixes issue hiero-ledger#325
Signed-off-by: LukeBair <74842241+LukeBair@users.noreply.github.com>
Copy link
Contributor

@rwalworth rwalworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, LGTM!

@rwalworth rwalworth merged commit be357a3 into hiero-ledger:main Feb 6, 2025
4 checks passed
@LukeBair LukeBair deleted the json-rpc-url branch February 7, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support configurable port and consider a default port other than 80
3 participants