@peersyst/react-native-transak
v1.0.0
Published
A React Native package that facilitates integration with Transak, allowing users to buy and sell cryptocurrencies within your app.
Downloads
21
Maintainers
Readme
@peersyst/react-native-transak
A React Native
package that facilitates integration with Transak, allowing users to buy and sell cryptocurrencies within your app.
Installation
npm i @peersyst/react-native-transak
Make sure to install the required peer dependencies:
npm i react-native-webview
How to use it:
You can find an example of how to use it in the example
folder.
Components:
TransakWebView:
- This component provides a WebView for displaying the Transak widget, allowing users to buy and sell cryptocurrencies within your app. It handles the communication between your app and the Transak platform seamlessly.
TransakOnRampWebView:
- This component specifically facilitates the on-ramp process, enabling users to purchase cryptocurrencies directly within your app. It streamlines the user experience by embedding Transak's on-ramp widget.
TransakOffRampWebView:
- Conversely, this component focuses on the off-ramp process, allowing users to sell their cryptocurrencies and withdraw funds directly within your app. It integrates Transak's off-ramp widget to provide a smooth user experience.
Each of these components is designed to simplify the integration of Transak's functionalities into your React Native app, enhancing the user experience and expanding the capabilities of your application.
TODO:
-[] Support NFT types
-[] Add more example