0.2.7 • Published 11 months ago

@openweb3-io/wallet-pay v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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

12 months ago

0.2.7

11 months ago

0.2.6

11 months ago

0.2.3

11 months ago

0.2.2

12 months ago

0.2.5

11 months ago

0.2.4

11 months ago

0.2.0

1 year ago