Keys and installation
Last updated
yarn add linkdrop-sdkimport LinkdropSDK from 'linkdrop-sdk'
// or
// const LinkdropSDK = require('linkdrop-sdk').default// initializing Linkdrop SDK on a testnet (Goerli or Mumbai)
const sdk = new LinkdropSDK({ mode: 'testnets' });// initializing Linkdrop SDK on a production network
const sdk = new LinkdropSDK({
claimHostUrl: 'https://claim.linkdrop.io/'
});