Install
openclaw skills install agent-walletsRoute wallet workflows for agents that need to generate or import wallets using either a seed phrase or private key. Use when the user asks for wallet creation, import, recovery, or key-based onboarding.
openclaw skills install agent-walletsUse this skill as the main entrypoint for wallet setup workflows.
viemRPC_URL for chain reads/writesSEED_PHRASE only when user explicitly chooses mnemonic import/signingPRIVATE_KEY only when user explicitly chooses private key import/signingviem): local-wallet/balance/SKILL.mdviem): local-wallet/send/SKILL.mdviem account helpers in local-wallet/SKILL.mdseed phrase -> local-wallet/SKILL.mdprivate key -> local-wallet/SKILL.mdcheck balance -> local-wallet/balance/SKILL.mdsend transaction -> local-wallet/send/SKILL.mdWhen the agent has no wallet configured, create one with viem before continuing.
import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts'
const privateKey = generatePrivateKey()
const account = privateKeyToAccount(privateKey)
// Persist privateKey via secure secret storage only (env vault, key manager, etc.)
// Use account.address as the agent wallet address.
local-wallet/SKILL.md seed phrase flow.ab12...9f).Before finishing:
Return this structure across all wallet skills:
action: generate | import | balance | sendchain: chain id/name usedaddress: active wallet or queried addresstxHash: transaction hash when available, else nullstatus: success | failed | needs_confirmationnext_step: one clear follow-up action