当前位置: 首页 > 软件库 > 大数据 > 数据查询 >

ethql

A GraphQL interface to Ethereum 🔥
授权协议 Apache-2.0 License
开发语言 Java
所属分类 大数据、 数据查询
软件类型 开源软件
地区 不详
投 递 者 酆出野
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

A GraphQL interface to Ethereum ��

▶️ Try out the Alpha on Infura:https://ethql-alpha.infura.io/graphql

Example queries.

EthQL is a server that exposes a GraphQL endpoint to the public Ethereum ledger. It works against the standard JSON-RPCAPIs offered by all Ethereum clients. It is built in TypeScript, and thus leverages the vast ecosystem of GraphQLtooling while preserving compile-time type safety.

EthQL regards blockchain data as a graph, and leverages the extensibility of GraphQL to introduce additionalfunctionality, amongst which are:

  • Decoding of standard transactions (e.g. ERC20, ENS, ERC223, etc.) out of the box.
  • New query patterns enabled by indexing solutions (e.g. all transactions between any two accounts).
  • Automatic batching and caching of requests.
  • New filtering capabilities.
  • Simple, inline unit conversions.
  • Enhancing public data with information overlays imported from other sources.

NOTE: This project is under heavy development.

Quickstart

You need a running Node environment with at least:

  • nodejs >= 8.0.0
  • yarn

Clone the repo and run:

$ yarn install
$ yarn bootstrap
$ yarn run dev
JSON-RPC (web3): Using HTTP(S) provider with endpoint: https://mainnet.infura.io/
Running a GraphQL API server at http://0.0.0.0:4000/graphql (browse here: http://localhost:4000/graphql)

This EthQL server uses Infura as a backend in anonymous mode. If you have an Infura project ID (and if you don't, you should sign up for one!) you can set it like this:

$ INFURA_ID=myid yarn run dev

Development

The debug module is included in Dev Dependencies

To turn on debugging:

DEBUG=ethql:*

Query Handbook

We suggest fiddling with some Example Use Cases to see somequeries in action.

For an in-depth guide on how to use EthQL, please start with the documentTop-Level Queries. This document shows all of the rootfields available to query, including information on specific block(s), transaction(s), and account(s).

The following sections provide a deep dive into all of the fields available on top-level queries:

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see the documentHow to Contribute, which covers the following:

Please see also our Code of Conduct.

Feedback

Development team

Who we are

PegaSys’ mission is to build blockchain solutions ready for production in business environments. We are committed toopen source, and are creating a framework for collaborative innovation for the public-chain community and leadingenterprises.

Our team is composed of engineers leading in the areas of big data processing, applied cryptography, open sourcecomputing, cloud services, and blockchain development.

Learn more about PegaSys.

 相关资料
  • 面试了两个月,发现大大小小的公司无论面试多久,最后必须来两三道手撕题,考验候选人的代码能力 平时简单题手到擒来,但到了面试官面前就大脑宕机 简简单单一道【实现apply】都能卡住,我的总结是还得多练,同一道题多打几次,面试的时候才能思路清晰 整理了最基础的常见手撕,啃下这些,基本可以应对70%的手撕题 当然大厂手撕并不都是简单基础题,很多都是在这13道基础上拓展,先练好这13道基础题,面试的时候就

  • 面试官:同学,你简单给我说说某款APP,增加一个新功能,你怎么去做? ……………………………………………………………………………… 思路:我以比较火的直播带货为例子给大家分析,针对淘宝直播如何设计一个新的功能。 这类问题更多的是从产品分析和需求分析的思路进行,同时会结合面试者的实际情况进行提问,考察点主要有几点:产品思维、产品分析与策划能力以及想象力和创造力。 ………………………………………………

  • 面试官:你给我讲讲你做过的项目,或者做过比较有成就感的事情? ………………………………………………………… 解题思路: 此类问题的问法有很多,或者面试官也会用一个同义接近的话来问; 回答问题的话术,以及回答方式,一定要切记,要有流成性,结构性,不要上来就一段作文说过去了; 回答产品/面试问题,或者你在做自我介绍,或者你在介绍项目,你要学会1,2,3,4点,这样面试官听的比较清晰; 下图给大家整理的

  • 考试平台: 牛客 考试时间: 2023-10-09 (120 分钟) 考试题型: 选择题 + 2道编程题(核心编程模式) 投递岗位: Java 开发 P1 在一年一度的芭莎明星慈善夜上,组织者邀请了一众国际知名的明星参加。为了能够筹得更多的善款,组织者特地安排了一场名为”凝聚爱心,美育未来”的活动。 每位明星都愿意为慈善事业贡献一定的善款,捐赠金额各不相同。然而,由于一些私人恩怨或者竞争关系,一些

  • 考试平台: 牛客 考试时间: 2023-10-08 (120 分钟) 考试题型: 40 分选择题 + 60 分编程题 P1 小红有很多小写字母。她准备用一些字母构造一个单词。已知一个合法的单词不能有两个辅音相邻,例如“cat”是合法的单词,但“than"”不是合法的单词。小红想知道,自己能构造的最大长度的单词有多长?注:元音字母有”a、e、i、0、u"五种。 输入描述 一个只包含小写字母的字符串,

  • 考试平台: 牛客 考试时间: 2023-10-14 (120 分钟) 考试题型: 选择题 + 2道编程题 投递岗位:大数据开发工程师 T1 复制粘贴 时间限制:3000MS 内存限制:589824KB 题目描述 小明最近学会了快捷键Ctrl C、Ctrl V。具体来说,给她一个字符串,她复制其中的一个字符并将其粘贴到这个字符的下一位,从而整个字符串的长度加一。小树来检测她的学习成果。他给出两个字符

  • 😄【整体流程】 简历初筛→业务1️⃣面→业务2️⃣面→HR面 🐶东整体问得都很常规而且没有什么开放问题,流程很快,要不是二面面试官和hr反馈比较好一度怀疑要被养鱼~💰 😎【个人背景】 [1]学历院校:本硕211 [2]专业背景:工科(非计算机) [3]经历背景:0产品实习,1段项目经历,1段非产品实习,2段校园经历 💡【Offer情况】 开奖部门:京东零售核心业务中❤️ offer总包:

  • 一共两面,今天是第二面。都比较基础,面试官很nice 1.自我介绍 2.毕业论文,发表情况,大论文情况,介绍大论文的实验 3.未来职业规划,打算做哪方面的内容 4.样本不均衡从哪些方面来解决? 5.介绍transformer 6.cv中的位置编码和nlp中的位置编码有什么区别?(nlp可能对位置编码更严格些,因为文本次序,而图像有归一不变性) 7.比较两个实例图的相似度,你有什么解决方法吗? 8.