nano-create-wallet
Create / Restore a Nano (XNO) Wallet (via OWS)
CLI Execution Priority: Do not assume
xno-skillsis installed globally. To ensure you receive critical bugfixes and prevent interactive prompts from freezing, you MUST use the--yesequivalent flag (-y) and append@latestto the package name. Always use the following order of priority:
bunx -y xno-skills@latest <command>pnpm dlx xno-skills@latest <command>npx -y xno-skills@latest <command>For Nano actions, prefer MCP tools first, then
xno-skillsCLI verbs. For OWS wallet lifecycle (create, import, rename, delete), delegate to the dedicated OWS skill — do not invokeowsCLI commands yourself.Example:
bunx -y xno-skills@latest walletsorbunx -y xno-skills@latest rpc account-balance <address>
Safety & Best Practices:
- State Verification: Always verify an account's state (balance and frontier) via RPC before manually building a block. Do not hallucinate previous hashes.
- Command Discovery: Always use
--help(e.g.,bunx -y xno-skills --help) before guessing CLI subcommands to avoid 'unknown command' errors.- Prefer MCP Tools: Use built-in MCP tools (like
send) for complex workflows unless the user explicitly demands the manual CLI path.- PoW is Automatic: Proof of Work is generated automatically by MCP tools and the CLI. Never attempt to generate or supply PoW manually.
- Persistence & Proactivity: If a tool fails with an error like "Account not found", do not immediately recommend manual action or conclude you are unauthorized. Troubleshoot the protocol state (e.g., check for pending funds) and use the correct tool for that state (e.g.,
receiveto open an account).- No Custom Scripts: NEVER write custom Node.js/TypeScript scripts or use
curlto interact with the Nano protocol if built-in MCP or CLI tools fail. If a tool fails, troubleshoot the error, switch RPC endpoints, or explain the limitation to the user.- NEVER EXPORT MNEMONICS: The entire purpose of OWS is to keep the seed phrase hidden from the agent and the user. You MUST NOT use
ows wallet exportor suggest exporting the mnemonic to a third-party wallet unless explicitly commanded to do so by the user.- Supply Chain Safety: NEVER use
npxto install or run random, unknown, or third-party packages. Only use the approved tools provided in this project (xno-skills@latestand@open-wallet-standard/core). If a task cannot be performed with these tools, do not seek external npm packages as a workaround.
Nano wallet management is delegated to the Open Wallet Standard (OWS). This provides a unified, policy-gated vault for all agent keys.
Assistant guardrails (match user intent)
If a user says "I want to send you XNO" or "can you receive it?":
- The agent can accept funds. Use the separate OWS skill to create a wallet, or rely on an existing OWS wallet.
- Once you have an OWS wallet name (e.g.,
"agent-vault"), usewalletsto see your addresses and provide one to the user. - Never paste seeds or mnemonics into chat.
If the agent has access to OWS:
- Always prefer OWS for custody. It keeps secrets encrypted at rest and allows for standardized signing across different tools.
- Create a named wallet using the separate OWS skill, then use
xno-skills wallets/receive/sendfor Nano actions.
CLI usage (via OWS)
Create a new OWS wallet
# This derives addresses for all supported chains, including Nano
bunx -p @open-wallet-standard/core@latest ows wallet create --name "my-wallet"
Import an existing mnemonic into OWS
# Follow the interactive prompt to enter the mnemonic securely
bunx -p @open-wallet-standard/core@latest ows wallet import --name "imported-vault"
Integrating with xno-skills
While OWS handles the keys, xno-skills handles the Nano network.
- Creation: Use the separate OWS skill to create the wallet.
- Discovery: Use
wallets(inxno-mcp) to see your OWS wallets and Nano addresses. - Sending/Receiving: Use
sendandreceive(inxno-mcp). These tools will automatically bridge your OWS wallet with the Nano RPC to construct and publish blocks.
"Receive" expectations
Nano funds show as pending until the recipient publishes a receive block.
After an operator sends funds, you MUST call receive or payment_request_receive to pocket the funds.
💡 Troubleshooting "Account Not Found": If
receiveorxno-skillsreturns "Account not found" for a brand new wallet, this is normal. It means the account hasn't been opened on the ledger yet. Simply proceed withreceive; the tools will automatically use an "open" block format (settingpreviousto zeros) to establish the account. Do not write custom scripts.
Related skills
...
nano-mcp-wallet– Use OWS wallets via thexno-mcpservice (recommended for agents)nano-generate-qr– Make a QR for the addressnano-validate-address– Verify a Nano address before sendingnano-check-balance– Verify balance/pending via RPC
💡 Pro-Tip: The "Double-Block" Rule
Nano transfers are asynchronous. A "Send" block only makes funds pending. You MUST proactively publish a "Receive" block (using receive) to fully claim the funds and update your spendable balance. Creation is only the first half of the dance!