Add Hyperbridge Nexus
We want multix to support hyperbridge nexus.
What are the requirements for the indexer?
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
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.
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.
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,
},
},
},
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.
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?
I'll check if subsquid is compatible, subquery works, so I believe subsquid should work also