herald-exchange-buy-offramp-sdk
v0.0.1
Published
Exchange SDK Widget
Readme
Herald-Exchange-Buy-Offramp-SDK
Herald-Exchange-Buy-Offramp-SDK is a simple sdk widget for buy crypto offramp.
Installation
You can install Herald-Exchange-Buy-Offramp-SDK via npm:
npm install herald-exchange-buy-offramp-sdkUsage
To use widget in your React application, follow these steps:
import { CryptoProvider, CryptoWidget } from "herald-exchange-buy-offramp-sdk";Initialize the widget:
<CryptoProvider>
<CryptoWidget
apiKey={YOUR_API_KEY}
redirectUrl={REDIRECT_URL}
buyParameters={{ from_amount: "10", token_type: "USDC" }}
// 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.
