herald-exchange-sell-offramp-sdk
v0.0.1
Published
Herald Exchange Sell Offramp SDK
Readme
Herald-Exchange-Sell-Offramp-SDK
Exchange-Crypto-Widget is a simple component for React applications.
Installation
You can install Herald-Exchange-Sell-Offramp-SDK via npm:
npm install herald-exchange-sell-offramp-sdkUsage
To use widget in your React application, follow these steps:
import { CryptoProvider, CryptoWidget } from "herald-exchange-sell-offramp-sdk";Initialize the widget:
<CryptoProvider>
<CryptoWidget
apiKey={YOUR_API_KEY}
sellParameters={{
from_amount: "10",
from_currency: "TRX",
to_currency: "INR",
}}
// To Generate API Key Please Visit : https://herald.exchange
// Supported Token Types : ["USDT", "USDC", "ETH", "BNB", "MATIC", "SOL", "TRX", "BTC"]
/>
</CryptoProvider>;License
This project is licensed under the MIT License - see the LICENSE file for details.
