Tonpay SDK
  • Home
  • Supported currencies
  • 🌐JavaScript
    • Getting started
    • Initialization
    • Interacting with Store
    • Interacting with Invoice
  • 🐍Python
    • Getting started
    • Initialization
    • Interacting with Store
    • Interacting with Invoice
Powered by GitBook
On this page
  • Installation
  • NPM
  • Yarn
  • Vanilla

Was this helpful?

  1. JavaScript

Getting started

PreviousSupported currenciesNextInitialization

Last updated 2 years ago

Was this helpful?

Installation

NPM

To install library using npm, run this command in your project's directory root:

npm install @tonpay/sdk

Yarn

To install library using yarn, run this command in your project's directory root:

yarn add @tonpay/sdk

Vanilla

Using Tonpay SDK in vanilla JS in the browser is not currently possible, but we'll make it possible in the future. If you want to add this yourself, .

🌐
PRs are welcome