Live data from Hacker News

Show HN: Build dApp front-ends using GraphQL

github.com

11–13 of 13 posts

Re: Show HN: Build dApp front-ends using GraphQL

#11

Alex, could you clarify more? From initial glance of it and the blog it looks like either (A) We have to go through your service, which clearly isn't decentralized. or (B) This somehow converts GraphQL queries to Ethereum lookups, somehow, all in the client? But the article says to use your endpoint, which suggests (A). Could you explain how this is decentralized at all? I ask because I run one of the most popular P2…

Hey Mark, thanks for taking a look and appreciate the feedback.

You can think of Cleargraph like a proxy for geth with some bonus features. You can point a local instance of Cleargraph to your own JSON RPC API endpoints using the helm charts we provide: https://github.com/dsys/charts. We're looking to make it even easier to use, so if you have suggestions please let me know.

We think it's important incorporate decentralized systems where it is practical (i.e. ENS). I'm aware of projects building the Ethereum blockchain secondary index features (for things like transaction filtering) in a decentralized manner, but haven't seen one live just yet. Maybe when they're live we can switch to them, or if you have ideas regarding Gun, would love to hear! :)

The primary "centralized" component is the privacy-preserving contact discovery, which we believe is a necessary evil. Afaict, any decentralized hashing scheme is susceptible to pre-image attacks due the space for phone numbers is small, which makes publishing the entire hashed address book leak everyone's info. Signal has a good write up on an improvement we may eventually incorporate that uses SGX: https://signal.org/blog/private-contact-discovery/

Re: Show HN: Build dApp front-ends using GraphQL

#12

Alex, could you clarify more? From initial glance of it and the blog it looks like either (A) We have to go through your service, which clearly isn't decentralized. or (B) This somehow converts GraphQL queries to Ethereum lookups, somehow, all in the client? But the article says to use your endpoint, which suggests (A). Could you explain how this is decentralized at all? I ask because I run one of the most popular P2…

Hey Mark, thanks for taking a look and appreciate the feedback. You can think of Cleargraph like a proxy for geth with some bonus features. You can point a local instance of Cleargraph to your own JSON RPC API endpoints using the helm charts we provide: https://github.com/dsys/charts . We're looking to make it even easier to use, so if you have suggestions please let me know. We think it's important incorporate decen…

Okay, I think I understand more, you are saying you can run Cleargraph locally, and have things proxy to it rather than anybody else's server. Good, glad to hear that!!!

Yeah, I'm not really a fan of Signal's approach with the enclave and stuff. People wanting to have their phone numbers in the system is fine, but it certainly shouldn't be necessary (I don't assume it is, for you use?), and the system definitely shouldn't build on top of that assumption. Could you back up a little bit and explain how ENS and contact names are related to GraphQL queries?

Post reply on HN