Skip to content

Conversation

@ultraviolet10
Copy link

@ultraviolet10 ultraviolet10 commented Apr 15, 2025

TL;DR

Updated the indexer URL for happyChainSepolia from localhost to a specific IP address.

What changed?

Changed the indexerUrl for happyChainSepolia from "http://localhost:3001" to "http://148.113.212.211:3001".

How to test?

run build:client-core in the root folder, the client should then use the new indexer URL when it loads the happychain chainConfig from this file,setupRecs in createNetwork should ingest the same and then calls made to the indexer can be confirmed via the network tab on game load

Screenshot 2025-04-15 at 1.26.00 PM.png

Copy link
Author

ultraviolet10 commented Apr 15, 2025

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.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ultraviolet10 ultraviolet10 self-assigned this Apr 15, 2025
@ultraviolet10 ultraviolet10 marked this pull request as ready for review April 15, 2025 08:21
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",
Copy link
Author

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

@ultraviolet10 ultraviolet10 force-pushed the 04-15-add_deployed_indexer_url branch from 0157002 to ee3f89c Compare April 15, 2025 09:10
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",

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/

@ultraviolet10 ultraviolet10 merged commit 285c8d9 into aritra/happy-primodium-client Apr 22, 2025
1 check was pending
@ultraviolet10 ultraviolet10 deleted the 04-15-add_deployed_indexer_url branch April 22, 2025 16:31
@ultraviolet10 ultraviolet10 restored the 04-15-add_deployed_indexer_url branch April 23, 2025 11:05
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.

4 participants