ton-play-sdk
v0.2.0
Published
TON Play Typescript SDK
Downloads
99
Maintainers
Readme
TON Play SDK
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 }
*/