This package consolidates common cryptographic utilities used across our applications, particularly primitives related to keys, encryption, and decryption in a pure JavaScript implementation.
The easiest way to build a React Native app with Turnkey is to use our React Native demo wallet as a starter. This app is a fully-featured example that demonstrates how to use the Turnkey’s JavaScript packages to authenticate users, create wallets, export wallets, sign messages, and more.The app includes a backend JavaScript server which uses @turnkey/sdk-server to make requests to Turnkey that must be signed by the parent organization. An example of a request that must be signed by the parent organization is creating a sub-organization. (code reference)Some requests made to Turnkey must be signed by the sub-organization. These are ran by the app directly. You can find these requests in the app’s TurnkeyProvider. An example of a request that must be signed by the sub-organization is creating a wallet. (code reference)