ton-client-react-native-js
v0.28.0
Published
TON Client Library for React Native
Downloads
68
Maintainers
Readme
TON Javascript React-Native SDK
Community links:
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.