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

How can I add an RPC for the second blockchain on the same subnet #1734

Open
HelmiTrabelsi opened this issue Apr 10, 2024 · 1 comment
Open

Comments

@HelmiTrabelsi
Copy link

Describe the bug
I have two blockchains running on the same subnet. However, when I start the node, there is only one RPC endpoint available for one of the blockchains.

I can't find in the documentation or discord how I can add a second RPC endpoint. should it be in the subnet config file?
Is it necessary to use a different port number?

This my config file

{
    "skip-upgrade-check": true,
    "api-admin-enabled": true,
    "eth-apis": [
        "eth",
        "eth-filter",
        "net",
        "web3",
        "internal-eth",
        "internal-blockchain",
        "internal-transaction",
        "debug-tracer"
    ],
    "http-host": "",
    "data-dir": "/home/ubuntu",
    "http-port": 9123,
    "network-id": "fuji",
    "public-ip": "X.X.X.X",
    "staking-port": X,
    "state-sync-enabled": true,
    "track-subnets": "X"
}
@j-woodlee
Copy link

Hey, this is random but I am trying to run two blockchains on 1 subnet as well, and you might be able to assist with my issue #1780. If you feel you know the answer to my question feel free to respond in there, thank you!

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

No branches or pull requests

2 participants