Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Quickstart

Akhila Raju edited this page Jul 17, 2018 · 1 revision

You need a running Node environment with at least:

  • nodejs >= 8.0.0
  • yarn

Clone the repo and run:

$ yarn install
$ npm 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 ID (and if you don't, you should sign up for one!) you can set it like this:

$ INFURA_ID=myid npm run dev