-
Notifications
You must be signed in to change notification settings - Fork 0
add deployed indexer url #5
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
add deployed indexer url #5
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
| export const happyChainSepolia: ChainConfig = { | ||
| ...happyChainDef, | ||
| indexerUrl: "http://localhost:3001", // ## [happyTODO :: deploy indexer and then add the URL here] ## | ||
| indexerUrl: "http://148.113.212.211:3001", |
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.
this could be in an env file but the rest of the definition don't particularly use one and if we map to a domain name that'd be pretty handy in and of itself
0157002 to
ee3f89c
Compare
| export const happyChainSepolia: ChainConfig = { | ||
| ...happyChainDef, | ||
| indexerUrl: "http://localhost:3001", // ## [happyTODO :: deploy indexer and then add the URL here] ## | ||
| indexerUrl: "http://148.113.212.211:3001", |
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.
I added the domain to the indexer. You can now use: https://primodium-indexer.happy.tech/
285c8d9
into
aritra/happy-primodium-client

TL;DR
Updated the indexer URL for happyChainSepolia from localhost to a specific IP address.
What changed?
Changed the
indexerUrlforhappyChainSepoliafrom"http://localhost:3001"to"http://148.113.212.211:3001".How to test?
run
build:client-corein the root folder, the client should then use the new indexer URL when it loads the happychain chainConfig from this file,setupRecsincreateNetworkshould ingest the same and then calls made to the indexer can be confirmed via the network tab on game load