7οΈβ£Migrating from 5.x to 7.x version
This guide will show you how to migrate from v5 to v7
1. SendConnectWallet -> IdentifyUser
import { Fuul } from ('@fuul/sdk');
await Fuul.sendConnectWallet({
address: "0x12345",
signature: "0x123485090123",
message: "Accept affiliate on 18-Aug 2023 00:00:00",
});import { Fuul } from ('@fuul/sdk');
await Fuul.identifyUser({
userIdentifier: "0x12345", // the address of the user
identifierType: "evm_address", // evm_address | solana_address | xrpl_address
signature: "0x123485090123",
signaturePublicKey: '0x12345' // Only for XRPL type signatures
message: "Accept affiliate on 18-Aug 2023 00:00:00",
});2. Create and update affiliate code parameters
3. Geting the user referrer
Last updated