ton-client-react-native-js

TON Client Library for React Native


Keywords
TON, JavaScript, API, Client, React, Native, blockchain, freeton, hacktoberfest, sdk, telegram-open-network, tonlabs, web3, web3js
License
ICU
Install
npm install ton-client-react-native-js@0.28.0

Documentation

TON Javascript React-Native SDK

npm publish

Community links:

Chat on Telegram Gitter

Documentation

GraphQL API and SDK documentation

The JavaScript SDK implements the client-side libraries used by applications working with TON OS GraphQL API.
This package supports web (browser), mobile-web, and server (Node.js) clients.

Common Javascript SDK is distributed via npm package.

Attention! Because the JS library uses pre-compiled core sdk rust library, you need to install it via platform-dependable react-native package that will automatically install common js package + download and link pre-compiled rust core to your project:

npm install ton-client-react-native-js

To get started using TON Javascript SDK, see Add SDK to your Application.

Test

This project contains the testApp that runs the main test suite from ton-client-js.

Test environment for iOS:

  • Xcode (latest version)
  • NodeJs (at least 12)

Test environment for Android:

  • Android Studio with emulator
  • NodeJs (at least 12)

Run tests:

cd testApp
npm install
node prepare-suite.js
node run-suite.js ios
node run-suite.js android

Copyright 2018-2020 TON DEV SOLUTIONS LTD.