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

Connect to correct network #1

Open
psmahlii opened this issue Nov 1, 2022 · 5 comments
Open

Connect to correct network #1

psmahlii opened this issue Nov 1, 2022 · 5 comments

Comments

@psmahlii
Copy link

psmahlii commented Nov 1, 2022

all time error on sites - Connect to correct network, how to resolve ? :)

@bigbangbtc
Copy link
Owner

Could you post detailed info about your error?

@psmahlii
Copy link
Author

psmahlii commented Nov 2, 2022

when i connect via Martian wallet to custom node (my node), and want to connect to any apt site they said connect to "correct network", one more example, when i try to do with simple bots, they also said that chain id is incorrect

@bigbangbtc
Copy link
Owner

If you used the configuration of this repo, this should not happen.

I run the command in my machine:

❯ curl --request GET \
        --url http://localhost:8080/v1/ \
        --header 'Content-Type: application/json'

It outputs something like:

{
  "chain_id": 1,
  "epoch": "257",
  "ledger_version": "21957847",
  "oldest_ledger_version": "0",
  "ledger_timestamp": "1667440270658521",
  "node_role": "full_node",
  "oldest_block_height": "0",
  "block_height": "6270829",
  "git_hash": "506f94721ca0fd0d339472fffe149a1fda469cad"
}

As you can see, the chain_id is correct for mainnet.

You can check it by yourself.

@psmahlii
Copy link
Author

psmahlii commented Nov 3, 2022

I have same response, just for example, try to connect here - https://www.launchmynft.io/collections/0xcbea934b44d7bc5d62849d86a93b9144a0be0d5d36079ce63c5ca98aa9254cc2/DQisY0LieizaRjqPObev
and u will see an error

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

3 participants
@psmahlii @bigbangbtc and others