0.1.2 • Published 3 years ago
@coinflowlabs/withdraw-react v0.1.2
Coinflow Withdraw React
Usage
import {useWallet} from '@solana/wallet-adapter-react';
const wallet = useWallet();
<CoinflowWithdraw wallet={wallet} merchantId='<YOUR MERCHANT ID>' coinflowUrl=''/>;Props:
wallet: The Solana Wallet Adapter WalletmerchantId: Your Merchant ID (Contact Coinflow support for this)coinflowUrl(optional): The base coinflow URL defaults tohttps://coinflow.cash- For testing set to https://staging.coinflow.cash