Package Exports
- ton-client-react-native-js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ton-client-react-native-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.