Issuing your first asset
Prerequisites
Step-by-Step Guide
Step 1: Import StellarPlus and Set Up Network
import { StellarPlus } from "stellar-plus";
const networkConfig = StellarPlus.Network.TestNet();Step 2: Create Issuer and Distribution Accounts
issuerAccount = new StellarPlus.Account.DefaultAccountHandler({networkConfig});
await issuerAccount.initializeWithFriendbot();
const distributionAccount = new StellarPlus.Account.DefaultAccountHandler({networkConfig});
await distributionAccount.initializeWithFriendbot();Step 3: Define Your Asset
Step 4: Set Up Transaction Invocation Configuration
Step 5: Add Trustline and Mint the Asset
Step 6: Check Balance
Extra Step: See the transaction in the blockchain

Complete Example
Last updated