blinkbro-sdk
v0.0.5
Published
Generate referral links for token swaps and earn rewards by sharing with friends.
Downloads
7
Readme
BlinkBro Swap API
This package provides a simple interface to create links. It allows you to generate a URL that can be used to perform currency swaps using the BlinkBro platform.
Installation
To install the package, you can use npm or yarn:
npm install blinkbro-sdk
Usage
const { Currency, createSwapLink } = require("blinkbro-sdk");
const link = createSwapLink("your-wallet-address", Currency.SOL, "USDC", 0.01);
console.log(link);