bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Build applications on the Xian blockchain using the xian-py Python SDK. Use when developing apps that interact with Xian — wallets, transactions, smart contracts, state queries, token transfers. Covers sync and async patterns.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install endogen/xian-sdk-skill打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Build applications on Xian using the xian-py Python SDK.
pip install xian-py
# With Ethereum wallet support
pip install "xian-py[eth]"
from xian_py import Xian, Wallet
wallet = Wallet() # New wallet
xian = Xian('http://node:26657', wallet=wallet)
# Common operations
balance = xian.get_balance(wallet.public_key)
state = xian.get_state('contract', 'variable', 'key')
result = xian.send(amount=100, to_address='recipient')
result = xian.send_tx('contract', 'function', {'arg': 'value'})
result = xian.submit_contract('name', code)
from xian_py import Wallet
# Create new wallet (random seed)
wallet = Wallet()
# From existing private key
wallet = Wallet('ed30796abc4ab47a97bfb37359f50a9c362c7b304a4b4ad1b3f5369ecb6f7fd8')
print(wallet.public_key) # Address
print(wallet.private_key) # Keep secret!
from xian_py.wallet import HDWallet
# Create with new 24-word mnemonic
hd = HDWallet()
print(hd.mnemonic_str) # Save this!
# Restore from mnemonic
hd = HDWallet('word1 word2 word3 ... word24')
# Derive Xian wallet
path = [44, 0, 0, 0, 0] # m/44'/0'/0'/0'/0'
wallet = hd.get_wallet(path)
# Derive Ethereum wallet (requires eth extras)
eth_wallet = hd.get_ethereum_wallet(0) # First account
eth_wallet2 = hd.get_ethereum_wallet(1) # Second account
wallet = Wallet()
# Sign message
signature = wallet.sign_msg("Hello Xian")
# Verify
is_valid = wallet.verify_msg("Hello Xian", signature)
# Validate key format
Wallet.is_valid_key(wallet.public_key) # True
from xian_py import Xian
xian = Xian('http://node:26657')
# Balance (default: currency contract)
balance = xian.get_balance('address')
# Custom token balance
balance = xian.get_balance('address', contract='token_co...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Xian SDK Skill
Build applications on [Xian](https://xian.org) using the [xian-py](https://github.com/xian-network/xian-py) Python SDK.
## Installation
```bash
pip install xian-py
# With Ethereum wallet support
pip install "xian-py[eth]"
```
## Quick Reference
```python
from xian_py import Xian, Wallet
wallet = Wallet() # New wallet
xian = Xian('http://node:26657', wallet=wallet)
# Common operations
balance = xian.get_balance(wallet.public_key)
state = xian.get_state('contract', 'variable', 'key')
result = xian.send(amount=100, to_address='recipient')
result = xian.send_tx('contract', 'function', {'arg': 'value'})
result = xian.submit_contract('name', code)
```
## Wallets
### Basic Wallet
```python
from xian_py import Wallet
# Create new wallet (random seed)
wallet = Wallet()
# From existing private key
wallet = Wallet('ed30796abc4ab47a97bfb37359f50a9c362c7b304a4b4ad1b3f5369ecb6f7fd8')
print(wallet.public_key) # Address
print(wallet.private_key) # Keep secret!
```
### HD Wallet (BIP39/BIP32)
```python
from xian_py.wallet import HDWallet
# Create with new 24-word mnemonic
hd = HDWallet()
print(hd.mnemonic_str) # Save this!
# Restore from mnemonic
hd = HDWallet('word1 word2 word3 ... word24')
# Derive Xian wallet
path = [44, 0, 0, 0, 0] # m/44'/0'/0'/0'/0'
wallet = hd.get_wallet(path)
# Derive Ethereum wallet (requires eth extras)
eth_wallet = hd.get_ethereum_wallet(0) # First account
eth_wallet2 = hd.get_ethereum_wallet(1) # Second account
```
### Signing & Verification
```python
wallet = Wallet()
# Sign message
signature = wallet.sign_msg("Hello Xian")
# Verify
is_valid = wallet.verify_msg("Hello Xian", signature)
# Validate key format
Wallet.is_valid_key(wallet.public_key) # True
```
## Blockchain Queries
```python
from xian_py import Xian
xian = Xian('http://node:26657')
# Balance (default: currency contract)
balance = xian.get_balance('address')
# Custom token balance
balance = xian.get_balance('address', contract='token_co...Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Search and hire real humans for tasks — photography, delivery, research, and more
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.