@authereum/graphql
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

@authereum/graphql

Authereum GraphQL API client library

Getting started

import * as graphql from '@authereum/graphql'

;(async () => {
  const available = await graphql.ensNameAvailable({
    ensName: 'foobar'
  })

  console.log(available) // true
})()

Setting a different GraphQL endpoint:

import * as graphql from '@authereum/graphql'

graphql.setApiUrl('http://localhost:4000/graphql')

Development

Install dependencies:

npm install

Watch and build:

npm run dev

Build:

npm run build

Lint:

npm run lint

Test

npm test

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @authereum/graphql

Weekly Downloads

1

Version

0.1.9

License

MIT

Unpacked Size

447 kB

Total Files

230

Last publish

Collaborators

  • miguelmota
  • shanefontaine
  • cwhinfrey