@openweb3-io/pay
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Typescript/Javascript library for interacting with the walletpay API and verifying walletpay 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.pay.openweb3.io.

Language Support

⚡️ Features ⚡️
Officially Supported
API Support
Signature Verification
Caveats None! 🚀

Installation

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

Usage

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

const walletpay = new Walletpay("API-KEY", "RSA PRIVATE KEY");
const order = await walletpay.Order.create({ channel: "ton-connect", chain:"ton", amount: "0.11", currency: "USDT"});

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

Package Sidebar

Install

npm i @openweb3-io/pay

Weekly Downloads

3

Version

0.2.0

License

MIT

Unpacked Size

271 kB

Total Files

119

Last publish

Collaborators

  • kenmy
  • pharaohx
  • ray-mtsocial
  • openweb3.io