0.2.7 • Published 6 months ago

@openweb3-io/wallet-pay v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Typescript/Javascript library for interacting with the pay API and verifying pay signatures

GitHub tag NPM version

Join our slack

Usage Documentation

You can find general usage documentation at https://docs.pay.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.wallet-pay.openweb3.io.

Language Support

Installation

npm install @openweb3-io/wallet-pay
# or
yarn add @openweb3-io/wallet-pay

Usage

import { ApiClient } from "@openweb3-io/wallet-pay";

const apiClient = new ApiClient("API-KEY", "SECRET");
const order = await apiClient.orders.create({ currency: "ton", amount: "1000000000" });

Development

First checkout the core README for details on how to generate our API bindings, then follow the steps below.

Requirements

  • node
  • yarn

Building the library

yarn
yarn build

Contributing

Before opening a PR be sure to format your code!

yarn lint:fix

Running Tests

Simply run:

yarn test
0.2.1

7 months ago

0.2.7

6 months ago

0.2.6

7 months ago

0.2.3

7 months ago

0.2.2

7 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.2.0

1 year ago