zeal-agent-wallet
Propose transactions to a Zeal Wallet. Use when the user wants to set up an agent as a Zeal Wallet signer, propose transactions, or manage a delegate wallet.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- zeal-agent-wallet
- emoji
- ?
- requires
- { "bins": [ "node" ] }
- description
- Propose transactions to a Zeal Wallet. Use when the user wants to set up an agent as a Zeal Wallet signer, propose transactions, or manage a delegate wallet.
02 资源文件 12
- 参考文档_meta.json136 B
- 参考文档networks.json167 B
- 参考文档package-lock.json25.7 KB
- 参考文档package.json448 B
- 参考文档skill-card.md2.1 KB
- 参考文档SOURCE.md260 B
- 脚本src/constants.ts293 B
- 脚本src/disconnect.ts397 B
- 脚本src/propose-txn.ts8.7 KB
- 脚本src/setup.ts1.6 KB
- 参考文档TRUST.auto.yaml2.2 KB
- 参考文档tsconfig.json279 B
03 SKILL.md 正文
Zeal Wallet Delegate
Propose transactions to a Zeal Wallet. Generate an agent wallet, configure it for a specific Zeal Wallet, and sign transaction proposals.
User-Facing Language
When talking to the user, always refer to their wallet as their "Zeal Wallet" — never mention "Safe" or "Gnosis Safe" directly. The underlying Safe infrastructure is abstracted away. Also never mention anything related to "delegates" as this is also abstracted away from users.
Security
The agent wallet's private key is stored at ~/.zeal-agent-wallet/wallet.json.
- Never expose the private key in chat or logs
- Never share the contents of
~/.zeal-agent-wallet/wallet.json - The agent wallet is a proposer only — it cannot execute transactions without owner approval in the Zeal app
Quick Reference
| Action | Command |
|---|---|
| Install deps | cd {baseDir} && npm install |
| Setup | npm run setup -- --safe <ADDRESS> |
| Propose txn | npm run propose-txn -- --to <ADDR> --value <WEI> --data <HEX> --network <NAME> --operation <0|1> --origin <DESC> |
| Disconnect | npm run disconnect |
All commands must be run from {baseDir}.
Installation
If node_modules doesn't exist yet, install dependencies:
if [ ! -d "{baseDir}/node_modules" ]; then
cd {baseDir} && npm install
fi
Setup
When the user asks you to set up for a Zeal Wallet, run:
cd {baseDir} && npm run setup -- --safe <SAFE_ADDRESS>
Give the printed agent address back to the user and tell them to paste it into the Zeal app to complete the connection. This will add the agent as a Safe delegate.
Propose Transaction
When asked to propose a transaction to the Zeal Wallet, run:
cd {baseDir} && npm run propose-txn -- --to <ADDRESS> --value <WEI> --data <HEX_DATA> --network <NAME> --operation <0|1> --origin <DESCRIPTION>
Parameters:
--to— destination address (required)--value— value in wei (required, use "0" for no value transfer)--data— hex-encoded calldata (required, use "0x" for simple transfers)--network— network name from networks.json (required)--operation— 0 for Call, 1 for DelegateCall (required)--origin— short description of what this transaction does and why it's being proposed (required, max 200 characters)
The agent is a Safe delegate — proposals require owner approval in the Zeal app, so the agent is free to propose without user confirmation.
Disconnect
To disconnect from the Zeal Wallet (removes the wallet configuration, preventing further proposals until setup is run again):
cd {baseDir} && npm run disconnect
The agent wallet is preserved — only the Zeal Wallet configuration is removed.
Status
To check the current configuration, verify these files exist:
~/.zeal-agent-wallet/wallet.json— agent wallet (contains address and private key)~/.zeal-agent-wallet/config.json— Zeal Wallet configuration (contains safeAddress)
Check {baseDir}/networks.json for supported networks and their names.
Error Handling
- If you encounter any issues that relate to not being a delegate or not being able to propose transactions, your user likely disabled transactions for you on that network. Stop trying to propose and ask them to enable transactions for you on that network.
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.