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

Add Hyperbridge Nexus #590

Open
Wizdave97 opened this issue Nov 29, 2024 · 7 comments
Open

Add Hyperbridge Nexus #590

Wizdave97 opened this issue Nov 29, 2024 · 7 comments
Labels
Priority: 🟠 P1 Added to issues and PRs relating to a high severity bugs. Type: ❓ Question Added to issues that are general discussion questions, and don't offer bug reports etc..

Comments

@Wizdave97
Copy link

We want multix to support hyperbridge nexus.

What are the requirements for the indexer?

@Tbaut
Copy link
Collaborator

Tbaut commented Nov 29, 2024

Hi, by requirement, you mean what needs to be done?
If you want to run your own indexer, everything should be document here: https://github.com/ChainSafe/Multix/tree/main/squid
You can then let us know what's the url so that we add it to the main UI.
Otherwise we can check to add it to our current indexers on the Subsquid hosted instance

@Tbaut Tbaut added Priority: 🟠 P1 Added to issues and PRs relating to a high severity bugs. Type: ❓ Question Added to issues that are general discussion questions, and don't offer bug reports etc.. labels Nov 29, 2024
@Wizdave97
Copy link
Author

Wizdave97 commented Nov 29, 2024

We don't want to run an indexer currently, we would like you to add it to your indexer.

RPC urls wss://nexus.dotters.network, wss://nexus.ibp.network

Also, hyperbridge runtime uses keccak hashing, can't find where to supply the type bundles to the indexer in the code.

@Tbaut
Copy link
Collaborator

Tbaut commented Nov 29, 2024

Keccak may be a compatibility issue, I have no idea tbh. Are multisigs working on polkadot-js/apps, or what part of the integration could be tricky in your opinion? Multix hasn't been funded for many months, and few significant update have been made so far because of this. If Keccak doesn't bring any issue, we can add it and get funding from the treasury later for the infra.

@Wizdave97
Copy link
Author

Wizdave97 commented Nov 29, 2024

We already added support for keccak in polkadotjs, we just need a way to configure the ApiPromise for the indexer.

To support hyperbridge, we need to initialize the ApiPromise with the type bundles like

typesBundle: {
      spec: {
        nexus: {
          hasher: keccakAsU8a,
        },
      },
    },

@Tbaut
Copy link
Collaborator

Tbaut commented Nov 29, 2024

ok so we're talking about some speficicities I don't have the bandwith to go into. Also you can assume Multix in using papi right now, I don't merge #559 right now before a week-end, but it'll be done on Monday.

@Tbaut
Copy link
Collaborator

Tbaut commented Nov 29, 2024

Also there are 2 things, the UI (with papi), and the indexer. The indexer is subsquid, do you know if it's compatible with your chain at all, or if it needs to tweaks too?

@Wizdave97
Copy link
Author

I'll check if subsquid is compatible, subquery works, so I believe subsquid should work also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 🟠 P1 Added to issues and PRs relating to a high severity bugs. Type: ❓ Question Added to issues that are general discussion questions, and don't offer bug reports etc..
Projects
None yet
Development

No branches or pull requests

2 participants