ton-play-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

TON Play SDK

NPM Version NPM Install Size NPM Downloads

TON Play SDK allows you to implement solutions for managing digital assets and the in-game marketplace.

TON Play allows developers to add blockchain elements to any mobile or web game. Additionally, you can port any web game to launch directly inside Telegram via a Web App.

API Key

To get your API-key follow the link

Usage

import { TonPlayClient } from "ton-play-sdk";

const apiKey = 'api:key';
const tonplayClient = new TonPlayClient(apiKey);

tonplayClient.checkToken("j.w.t").then(data => console.log(data));

/*
CheckTokenResponseDTO { valid: false, active: false, userUid: null }
*/

Package Sidebar

Install

npm i ton-play-sdk

Homepage

tonplay.io/

Weekly Downloads

13

Version

0.2.0

License

MIT

Unpacked Size

179 kB

Total Files

9

Last publish

Collaborators

  • tonplayer