| name | myriad-wallet-ops |
| description | Set up and troubleshoot Myriad signer wallet operations, including keychain-backed encrypted storage, signer resolution precedence, balance checks, and launch-readiness checks for AMM and order book workflows. |
| user-invocable | true |
| allowed-tools | Bash(myriad wallet *) |
Myriad Wallet Ops
Overview
Use this skill for wallet onboarding and signer troubleshooting in Myriad CLI runtime workflows.
Wallet Setup Flow
- Run interactive setup in a TTY.
myriad wallet setup
- Import either private key or seed phrase.
- Confirm encrypted wallet file is written to
~/.config/myriad/wallet.enc.json.
- Confirm master secret is stored in OS keychain backend.
Signer Resolution Precedence
Resolve signer in this order.
- Command-level
--private-key.
- Environment
MYRIAD_PRIVATE_KEY (or PRIVATE_KEY).
- Configured keychain-backed wallet from
wallet setup.
If none is available, fail closed and return signer configuration error.
Operational Checks
- Verify wallet address from configured storage when signer source is implicit.
- Verify balances before trade or claim.
myriad wallet balances --json
myriad wallet balances --address 0xWalletAddress --json
Order Book Launch Readiness
Before myriad ob ... writes, confirm:
- Native BNB gas is available.
- USD1 balance is sufficient for the intended workflow.
- The signer is present and matches the execution wallet.
- Runtime settings match the active BNB Smart Chain order book deployment rather than stale defaults.
Troubleshooting Patterns
Interactive wallet setup requires a TTY terminal:
Re-run in an interactive terminal session.
KEYCHAIN_UNAVAILABLE:
Ensure OS keychain service is available and unlocked.
LEGACY_WALLET_FORMAT:
Re-run myriad wallet setup; no automatic migration is performed.
- Signer missing during trade/claim:
Set up wallet or pass
--private-key for one-off execution.
Boundaries
- Do not execute detailed order book trading logic here; hand off to
/myriad-orderbook.
- Do not execute trade strategy in this skill; hand off to
/myriad-trade-execution.
- Do not orchestrate MCP tool chains here; hand off to
/myriad-mcp-orchestration.
Reference