🕸️A.1 SilentShard: React Native TSS SDK
SilentShard SDK to create a distributed ECDSA signature at the phone (by communicating with other MPC nodes hosted on the cloud).
Requirement
React-Native development environment should be set up.
Recommended tools
Android Studio
Node.JS
npm
oryarn

Installation
Configure npm to use the GitLab registry
Create file .npmrc
in the root directory of your project with the following content:
"@com.silencelaboratories:registry"="https://gitlab.com/api/v4/packages/npm/"
"//gitlab.com/api/v4/packages/npm/:_authToken"=${GITLAB_AUTH_TOKEN}
"//gitlab.com/api/v4/projects/42292561/packages/npm/:_authToken"=${GITLAB_AUTH_TOKEN}
Install package
With yarn
GITLAB_AUTH_TOKEN=<You company access token> yarn add @com.silencelaboratories/react-native-tss
Or using npm
GITLAB_AUTH_TOKEN=<You company access token> npm install @com.silencelaboratories/react-native-tss
iOS
React-Native-TSS SDK should be configured and installed automatically, the only thing you have to do is run pod install
in the ios
directory.
Android
To build the library for Android, you will need to install the Android NDK.
If the NDK is not installed, you can install it via Android Studio by going to the menu File > Project Structure And then the SDK Location section.
Troubleshooting
For error CMake 'X.X.X' was not found in SDK, PATH, or by CMake.dir property.
open Tools > SDK Manager, switch to the SDK Tools tab. Find CMake
and click Show Package Details and download compatible version 'X.X.X', and apply to install.
More detailed information at Install and configure the NDK and CMake
Last updated