# @authereum/graphql

> Authereum GraphQL API client library

## Getting started

```javascript
import * as graphql from '@authereum/graphql'

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

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

Setting a different GraphQL endpoint:

```javascript
import * as graphql from '@authereum/graphql'

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

## Development

Install dependencies:

```bash
npm install
```

Watch and build:

```bash
npm run dev
```

Build:

```bash
npm run build
```

Lint:

```bash
npm run lint
```

## Test

```bash
npm test
```

## License

[MIT](LICENSE)
