onPoster / app

A decentralized web application for interacting with ERC-3722 – Poster.
https://poster-app.on.fleek.co/
GNU General Public License v3.0
16 stars 6 forks source link

Provide support for other networks, discuss options for aggregating contents in a single page #12

Closed 0xjjpa closed 3 years ago

auryn-macmillan commented 3 years ago

Yaniv mentioned that subgraphs cannot pull data from one and other yet, so I'm not sure if there is a good way to aggregate information from multiple networks without it being a lot of work on the client.

But yeah, ideally it would be great if we could have Poster deployed to just about any EVM compatible network, users could choose where they want to post, and it would all show up in the same app.

0xjjpa commented 3 years ago

I had a discussion last friday with @schmidsi about the ability to have a smart contract registry that a subgraph can index to fetch multiple smart contracts, but no option for cross-chain indexing AFAIK.

I agree that the easiest is to deploy a subgraph to any EVM-compatible network. I'll take care of that in #19

schmidsi commented 3 years ago

Right. Until we have subgraph-composition implemented, you need to redeploy the subgraph on every network that you want to support. On the client, you can use https://github.com/urigo/graphql-mesh. It makes it quite easy to combine different subgraphs. Please ping me if you have used it. Would love to hear your feedback on it.