coin-crypto-payment-sdk
v1.0.0
Published
This is an [Expo](https://expo.dev) project created with [`create-expo-app`](https://www.npmjs.com/package/create-expo-app).
Readme
Crypto Payment Integration
This guide helps you integrate our crypto payment system into your application.
Get Started
1. Install Dependencies
Install the SDK using npm:
npm install coins-crypto-payment-sdk
2. Setup Environment
Configure your .env file with the credentials provided by our company:
EXPO_PUBLIC_API_URL=https://xxx.com
EXPO_PUBLIC_TALK_API_URL=https://xxx.com
3. Implementation
Import and use the PaymentUI component in your code:
import { PaymentUI } from 'coins-crypto-payment-sdk';
<PaymentUI
amount={100}
paymentToken='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
onPrintReceipt={(receiptData) => console.log(receiptData, 'receiptData')}
/>