Associate a Token
Prerequisites:
Getting startedStep 1: Import modules
const { Client } = require("@xact-wallet-sdk/client");
require("dotenv").config();Step 2: Initializing Token Association
/* Update the fields with your informations */
const fromAccountId = '';
const tokenToAssociate = '';
await client.associate({fromAccountId, tokenId: tokenToAssociate});Step 3: Listen for the Token Association
Code Check ✅
Last updated