lst
Liquid staking via Endur on Starknet — stake STRK to receive xSTRK, redeem xSTRK back to STRK, check positions, and view protocol stats. Yield is embedded in the xSTRK share price (no manual claim needed). Use this skill when the user mentions liquid staking, LST, xSTRK, Endur, liquid staking token, share price, instant staking, tradeable staking position, or wants a staking token they can trade or use in DeFi — even if they don't say "liquid staking" explicitly.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- lst
- license
- MIT
- metadata
- { "author": "ahmetenesdur", "version": "0.2.0", "category": "transaction" }
- description
- Liquid staking via Endur on Starknet — stake STRK to receive xSTRK, redeem xSTRK back to STRK, check positions, and view protocol stats. Yield is embedded in the xSTRK share price (no manual claim needed). Use this skill when the user mentions liquid staking, LST, xSTRK, Endur, liquid staking token, share price, instant staking, tradeable staking position, or wants a staking token they can trade or use in DeFi — even if they don't say "liquid staking" explicitly.
- allowed-tools
- [ "Bash(npx starkfi@latest lst-position)", "Bash(npx starkfi@latest lst-position *)", "Bash(npx starkfi@latest lst-stats)", "Bash(npx starkfi@latest lst-stats *)", "Bash(npx starkfi@latest lst-stake *)", "Bash(npx starkfi@latest lst-redeem *)", "Bash(npx starkfi@latest lst-exit-all)", "Bash(npx starkfi@latest lst-exit-all *)", "Bash(npx starkfi@latest status)", "Bash(npx starkfi@latest balance)", "Bash(npx starkfi@latest balance *)", "Bash(npx starkfi@latest tx-status *)" ]
- compatibility
- Requires Node.js 22+ and npx.
02 资源文件 3
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md335 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Liquid Staking (Endur LST)
Stake STRK tokens through the Endur liquid staking protocol to receive xSTRK — a liquid staking token whose value appreciates over time as staking yield accrues automatically.
Prerequisites
- Active session required.
- Sufficient STRK balance for staking + gas fees.
⚠️ Critical: Yield Model
Endur LST yield is NOT a claimable reward. The xSTRK share price increases automatically to reflect accumulated staking yield. To realize your yield, redeem xSTRK back to STRK — you will receive more STRK than you originally staked.
Do NOT use the staking skill's rewards --claim or rewards --compound for xSTRK positions. Those commands are for delegation staking only.
LST vs Delegation Staking
| Feature | Delegation Staking (staking skill) |
Endur LST (lst skill) |
|---|---|---|
| Token received | None (position tracked on-chain) | xSTRK (ERC-20, tradeable) |
| Yield mechanism | Manual claim via rewards --claim |
Automatic via share price |
| Liquidity | Locked until unstake cooldown | Liquid — trade xSTRK anytime |
| DeFi composability | Limited | xSTRK usable in Troves, lending |
| Unstaking | 2-step process with cooldown | Instant redemption |
Rules
- BEFORE staking, check
balance --token STRKto confirm sufficient STRK. - Use
lst-statsto check the current exchange rate, total STRK staked, and APR before staking. - Use
lst-positionto check the user's current xSTRK balance and its STRK value. - NEVER suggest using
rewards --claimorrewards --compoundfor LST positions. Yield is automatic. - When the user asks about "how much yield" from LST, show
lst-positionwhich displays the current STRK value vs original deposit. - AFTER any transactional operation (stake, redeem, exit-all), verify with
tx-status. lst-exit-allredeems the entire xSTRK balance — warn the user before executing.
Commands
# Check LST position (xSTRK balance and STRK value)
npx starkfi@latest lst-position [-a <symbol>] [--json]
# View Endur protocol stats (exchange rate, APR, total staked)
npx starkfi@latest lst-stats [-a <symbol>] [--json]
# Stake STRK to receive xSTRK
npx starkfi@latest lst-stake <amount> [-a <symbol>] [--json]
# Redeem xSTRK back to STRK (partial)
npx starkfi@latest lst-redeem <amount> [-a <symbol>] [--json]
# Redeem all xSTRK back to STRK
npx starkfi@latest lst-exit-all [-a <symbol>] [--json]
Parameters
lst-position / lst-stats
| Parameter | Type | Description | Required |
|---|---|---|---|
-a, --asset |
string | Underlying asset symbol (default: STRK) | No |
--json |
flag | Output as JSON | No |
lst-stake
| Parameter | Type | Description | Required |
|---|---|---|---|
amount |
number | Amount of the asset to stake | Yes |
-a, --asset |
string | Asset to stake (default: STRK) | No |
--json |
flag | Output as JSON | No |
lst-redeem
| Parameter | Type | Description | Required |
|---|---|---|---|
amount |
number | Amount of LST shares to redeem | Yes |
-a, --asset |
string | Underlying asset (default: STRK) | No |
--json |
flag | Output as JSON | No |
lst-exit-all
| Parameter | Type | Description | Required |
|---|---|---|---|
-a, --asset |
string | Asset to exit completely (default: STRK) | No |
--json |
flag | Output as JSON | No |
Examples
User: "What's the current LST exchange rate?"
npx starkfi@latest lst-stats
User: "Stake 1000 STRK via liquid staking"
npx starkfi@latest status
npx starkfi@latest balance --token STRK
npx starkfi@latest lst-stats # Check current exchange rate
npx starkfi@latest lst-stake 1000
npx starkfi@latest tx-status <hash>
User: "How much is my xSTRK worth?"
npx starkfi@latest lst-position
User: "Redeem 500 xSTRK back to STRK"
npx starkfi@latest lst-position # Check available xSTRK balance
npx starkfi@latest lst-redeem 500
npx starkfi@latest tx-status <hash>
User: "Exit all my liquid staking"
npx starkfi@latest lst-position # Show what will be redeemed
# WARN: This redeems all xSTRK. Confirm with user.
npx starkfi@latest lst-exit-all
npx starkfi@latest tx-status <hash>
User: "Should I use regular staking or liquid staking?"
# Show both options for comparison
npx starkfi@latest lst-stats # LST: exchange rate, APR
npx starkfi@latest validators # Delegation: validator list
# Explain: LST = liquid + auto-yield; Delegation = locked + manual claim
Error Handling
| Error | Action |
|---|---|
Insufficient balance |
Check balance --token STRK for staking, or lst-position for redeem. |
Not authenticated |
Run authenticate-wallet skill first. |
Related Skills
- Use
balanceto check available STRK before staking. - Use
stakingfor delegation staking (validator-based, manual reward claims). - Use
trovesto deposit xSTRK into yield vaults for additional yield. - Use
portfoliofor a full overview including LST positions with USD values. - Use
batchto combine swaps with liquid staking in one transaction.
04 同仓库更多 Skills
troves
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
trade
Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".
staking
Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.