TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Build dApp front-ends using GraphQL

74 pointsby alexkernalmost 7 years ago

6 comments

marknadalalmost 7 years ago
Alex, could you clarify more? From initial glance of it and the blog it looks like either<p>(A) We have to go through your service, which clearly isn&#x27;t decentralized.<p>or<p>(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).<p>Could you explain how this is decentralized at all? I ask because I run one of the most popular P2P&#x2F;decentralized projects and we have a GraphQL query layer on top ( <a href="https:&#x2F;&#x2F;github.com&#x2F;brysgo&#x2F;graphql-gun" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brysgo&#x2F;graphql-gun</a> ) which happens all end-to-end on the peers.<p>I&#x27;d love to see more GraphQL dApp options out there, but I also want to make sure it doesn&#x27;t lock people into a centralized service, when there are P2P alternatives.<p>Please let me know if I&#x27;m misunderstanding the API. If I&#x27;m not, maybe we could help you guys make it fully P2P? Cause this would be a really cool system.
评论 #17433232 未加载
alexkernalmost 7 years ago
Author here: we noticed consistent sources of duplicated code when designing cross-platform dApps and built Cleargraph out of necessity. We thought it would be broadly useful as a generic dApp back-end, so we polished it up and open sourced it!<p>Right now we&#x27;re working on some dApp&#x2F;smart contract templates that use Cleargraph, and want to know what y&#x27;all would think is useful. Maybe something along the lines of a CryptoKitties clone, a token monitor, a todo-list with staking, or a graphical transaction explorer. Open to any ideas! :)
评论 #17432060 未加载
anonfunctionalmost 7 years ago
Is there any documentation at all? I couldn&#x27;t find any. The playground[1] isn&#x27;t useful without the schema.<p>1. <a href="https:&#x2F;&#x2F;api.cleargraph.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;api.cleargraph.com&#x2F;</a>
t3soroalmost 7 years ago
Very cool. Thanks for sharing it!
AngelloPozoalmost 7 years ago
Cool! Ill give this a try. I have been working on something like this as well. :)
评论 #17428165 未加载
UncleEntityalmost 7 years ago
I don&#x27;t think I get it...<p>It lets you query the state of the blockchain using graphql? -- which is actually a good idea.
评论 #17428934 未加载