assets

Issue Stellar classic assets, manage trustlines, and bridge assets to contracts via SAC.

3|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/stellar-zk/stellar-zk --skill assets-stellar-zk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: assets
Source: https://github.com/stellar-zk/stellar-zk/tree/main/.claude/skills/assets
Command: npx skills add https://github.com/stellar-zk/stellar-zk --skill assets-stellar-zk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @stellar/stellar-sdk, soroban-sdk.

What problem does it solve? Developers building on Stellar need to issue tokens, manage trustlines, enforce compliance flags, and connect classic assets to Soroban smart contracts, but the correct operations and account patterns are spread across many APIs and standards. ## Core Features & Use Cases - Asset Issuance & Distribution: Create issuing and distribution accounts, mint credit assets, and lock issuers for fixed supply using the Stellar SDK. - Compliance & Trustline Management: Configure AUTH_REQUIRED, AUTH_REVOCABLE, and clawback flags, authorize trustlines, and claw back balances for regulated assets. - SAC Bridge: Deploy the Stellar Asset Contract to expose classic assets as SEP-41 tokens usable inside Soroban smart contracts. - Use Case: Issue a stablecoin with clawback enabled for compliance, set up user trustlines during onboarding, then integrate the asset into a DeFi contract through its SAC address. ## Quick Start Ask the assistant to issue a new Stellar asset with a locked issuer and show how to bridge it into a smart contract using the Stellar Asset Contract.

Frequently Asked Questions about assets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I issue a custom asset on Stellar?▼

Create separate issuing and distribution accounts, have the distributor open a trustline with changeTrust, then send a payment from the issuer to mint tokens. For fixed supply, lock the issuer by setting masterWeight to 0.

What is the Stellar Asset Contract (SAC)?▼

SAC is a built-in smart contract interface that exposes a classic Stellar asset as a SEP-41 token. Deploy it with stellar contract asset deploy, then call standard functions like transfer and balance from Soroban contracts.

When should I use a classic Stellar asset instead of a custom token contract?▼

Use classic assets for standard fungible tokens needing ecosystem support, DEX integration, or compliance features like freeze and clawback. Choose custom contracts only for logic the SAC cannot express, such as complex transfer rules.

How do I enable clawback for a Stellar asset?▼

Set the AUTH_CLAWBACK_ENABLED flag on the issuing account using setOptions with setFlags. After that, the issuer can recover tokens from any account using the clawback operation with the asset, target account, and amount.

Why does a payment fail with no trustline error on Stellar?▼

Credit assets require the receiving account to hold a trustline to the issuer before accepting payments. Create one with the changeTrust operation, and if the issuer sets AUTH_REQUIRED, the trustline must also be authorized first.