@openweb3-io/waas
Version:
WaaS API client and WaaS verification library
92 lines (67 loc) • 2.1 kB
Markdown
<h1 align="center">
<a style="text-decoration: none" href="https://pay.openweb3.io">
<img width="120" src="" />
<p align="center">WaaS - Wallet as a Service</p>
</a>
</h1>
<h2 align="center">
<a href="https://waas.openweb3.io">Website</a> | <a href="https://docs.waas.openweb3.io">Documentation</a> | <a href="https://pay.openweb3.io/slack">Community Slack</a>
<h2>
Typescript/Javascript library for interacting with the WaaS API and verifying WaaS signatures

[](https://www.npmjs.com/package/waas)
[](https://waas.openweb3.io/slack/)
# Usage Documentation
You can find general usage documentation at <https://docs.waas.openweb3.io>. For complete API documentation with code examples for each endpoint in all of our official client libraries head over to our API documentation site at <https://api.waas.openweb3.io>.
# Language Support
<table style="table-layout:fixed; white-space: nowrap;">
<th colspan="2">⚡️ Features ⚡️</th>
<tr>
<th>Officially Supported</th>
<th>✅</th>
</tr>
<tr>
<th>API Support</th>
<th>✅</th>
</tr>
<tr>
<th>Signature Verification</th>
<th>✅</th>
</tr>
<tr>
<th>Caveats</th>
<th>None! 🚀</th>
</tr>
</table>
# Installation
```sh
npm install @openweb3-io/waas
# or
yarn add @openweb3-io/waas
```
# Usage
```js
import { ApiClient } from "@openweb3-io/waas";
const apiClient = new ApiClient("API-KEY", "PRIVATE KEY");
const chains = await apiClient.chains.list({ limit: 20 });
```
# Development
First checkout the [core README](../README.md#development) for details on how to generate our API bindings, then follow the steps below.
## Requirements
- node
- yarn
## Building the library
```sh
yarn
yarn build
```
## Contributing
Before opening a PR be sure to format your code!
```sh
yarn lint:fix
```
## Running Tests
Simply run:
```sh
yarn test
```