stakingverse-lukso
Stake LYX tokens on Stakingverse (LUKSO liquid staking). Use when the user wants to stake LYX, unstake LYX, claim rewards, or check sLYX balance on Stakingverse. Supports deposit, withdrawal requests, and oracle-claim pattern.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/luksoagent/stakingverse-luksoStakingverse LUKSO Staking Skill
Stake LYX on Stakingverse and receive sLYX (liquid staking token). Earn ~8% APY while keeping your assets liquid.
What This Skill Does
- Stake LYX → Receive sLYX tokens immediately
- Request unstake → Initiate withdrawal (requires oracle processing)
- Claim unstaked LYX → After oracle processes withdrawal request
- Check sLYX balance → View your staked position
- Check claimable LYX → See if withdrawal is ready to claim
Required Credentials
Set these environment variables or edit the scripts:
export STAKINGVERSE_VAULT="0x9F49a95b0c3c9e2A6c77a16C177928294c0F6F04"
export MY_UP="your_universal_profile_address"
export CONTROLLER="your_controller_address"
export PRIVATE_KEY="your_controller_private_key"
export RPC_URL="https://rpc.mainnet.lukso.network"
Quick Start
# Stake 10 LYX
node scripts/stake.js 10
# Check sLYX balance
node scripts/balance.js
# Request unstake of 5 sLYX
node scripts/unstake-request.js 5
# Check if withdrawal is ready
node scripts/check-claim.js
# Claim unstaked LYX (after oracle processes)
node scripts/claim.js
How It Works
The Stakingverse Architecture
Stakingverse is a liquid staking protocol on LUKSO:
- You stake LYX → Get sLYX tokens (1:1 ratio)
- sLYX appreciates → As staking rewards accrue, 1 sLYX > 1 LYX
- sLYX is liquid → Trade, transfer, or use in DeFi while earning
- Unstaking is 2-step → Request → Wait for oracle → Claim
Key Contracts
| Contract | Address | Purpose |
|---|---|---|
| Vault | 0x9F49a95b0c3c9e2A6c77a16C177928294c0F6F04 | Staking/unstaking logic |
| sLYX Token | 0x8a3982f4abcdc30f777910e8b5b5d8242628290a | Liquid staking token (LSP7) |
| Oracle | Multiple | Validates withdrawal requests |
Staking Flow
You (Controller)
↓
KeyManager.execute()
↓
UP.execute(CALL, Vault, 10 LYX, deposit())
↓
Vault receives LYX
↓
Vault mints sLYX to your UP
↓
You hold sLYX (earning rewards)
Unstaking Flow (Two-Step)
Step 1: Request Withdrawal
You (Controller)
↓
KeyManager.execute()
↓
UP.execute(CALL, Vault, 0, withdraw(sLYX_amount))
↓
Vault burns sLYX
↓
Oracle queue: withdrawal request created
Step 2: Wait for Oracle
↓ (Time passes - oracle processes)
Step 3: Claim LYX
You (Controller)
↓
KeyManager.execute()
↓
UP.execute(CALL, Vault, 0, claim())
↓
Oracle approves
↓
Vault sends LYX to your UP
Detailed Usage
Stake LYX
const { ethers } = require('ethers');
// Setup
const provider = new ethers.JsonRpcProvider(process.env.RPC_URL);
const wallet = new ethers.Wallet(process.env.PRIVATE_KEY, provider);
// Vault ABI (minimal)
const VAULT_ABI = [
'function deposit() external payable',
'function balanceOf(address) view returns (uint256)'
];
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-luksoagent-stakingverse-lukso": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
stakingverse-ethereum
Stake ETH on StakeWise (Ethereum liquid staking). Use when the user wants to stake ETH, unstake ETH, or check staked positions on StakeWise V3 vaults. Supports state updates via keeper and harvest proofs from subgraph.
lukso-expert
Comprehensive LUKSO blockchain knowledge base for AI agents. Makes any agent a LUKSO expert — covering all LSP standards (LSP0-LSP28), Universal Profiles, smart contract development, ecosystem projects, and developer tooling. USE WHEN: - Building on LUKSO (smart contracts, dApps, integrations) - Working with Universal Profiles (creation, permissions, metadata) - Deploying or interacting with LSP7/LSP8 tokens - Setting up gasless relay transactions (LSP25) - Managing KeyManager permissions (LSP6) - Working with The Grid (LSP28), Followers (LSP26), or any LSP standard - Answering questions about LUKSO ecosystem, projects, or architecture - Looking up contract addresses, ABIs, or API endpoints - Debugging LUKSO-specific issues (permissions, encoding, gas) DON'T USE WHEN: - Working with non-LUKSO EVM chains (use standard Ethereum patterns) - General Solidity questions unrelated to LSP standards
lsp28-grid
Manage LSP28 The Grid on LUKSO Universal Profiles. Create, update, and manage grid layouts with mini-apps, iframes, and external links. Use when working with Universal Profile grids, LSP28 data encoding, VerifiableURI format, or The Grid feature on LUKSO.
forever-moments
Forever Moments social platform on LUKSO - post moments (LSP8 NFTs), mint LIKES tokens, create/join collections, and interact with decentralized social features. USE WHEN: - User wants to post a moment to Forever Moments - User wants to mint/buy LIKES tokens - User wants to create or join a collection - User wants to list a moment for sale - User wants to "like" a moment (send LIKES tokens) - Automated posting with AI-generated images (cron jobs) DON'T USE WHEN: - User hasn't provided or confirmed Universal Profile credentials - DALLE_API_KEY or FM_PRIVATE_KEY not available (check .credentials first) - The operation requires manual user approval for spending LYX - Alternative social platforms are more appropriate SUCCESS CRITERIA: - Moment posted with transaction hash and IPFS CID returned - LIKES minted with confirmation of LYX spent - Collection joined/created with membership confirmed - Image successfully pinned to IPFS before moment creation