1.0.6 • Published 2 years ago
instafi-sdk v1.0.6
Instafi-sdk
A javascript library for applications to Buy, trade & earn with 10,000+ crypto assets in a few clicks
Installation
To use the Instafi widget with your library, you will need to use instafi-sdk (Instafi's Javascript SDK)
Add the Instafi SDK as a dependency using yarn
or npm
:
# Using yarn
$ yarn add instafi-sdk
# Using npm
$ npm install instafi-sdk
Example Usage
import { InstafiSDK } from 'instafi-sdk';
const launcher = new InstafiSDK({
themeColor: '33ffee',
useCase: 'BUY',
width: '450px',
height: '550px',
environment: 'STAGING',
token: 'AVAX',
network: 'avalance',
});
launcher.launch()