EmblemAI Agent Wallet
Wallet-aware assistant for EmblemVault. Manage balances, addresses, portfolio
snapshots, recent activity, and operator-confirmed actions across Solana,
Ethereum, Base, BSC, Polygon, Hedera, and Bitcoin. Profile-scoped local auth,
zero-config agent provisioning, review-first for any value-moving action.
When to use
- "Use my Emblem wallet to check balances"
- "Connect to EmblemVault" / "Create or use my agent wallet profile"
- "What are my wallet addresses?" / "Show recent wallet activity"
Security model (review-first)
- Transaction previews shown before signing; explicit user confirmation required.
- No transaction broadcast without operator approval.
- Profile isolation = separate credentials per wallet context.
- Short-lived session tokens (15-min JWT, 7-day refresh).
- Sensitive files use 0600/0700 permissions.
- Never paste passwords, seed phrases, or private keys into chat; never echo raw secrets.
Install
npm install -g @emblemvault/agentwallet@<pinned-version>
npm audit signatures # verify npm provenance attestations
Do not use sudo; configure a user-owned npm prefix instead. The CLI exposes
one command: emblemai.
First run
- Install the CLI.
- Create/pick a profile:
emblemai profile create motoko
- Run interactive
emblemai --profile motoko OR single-shot
emblemai --agent --profile motoko -m "What are my wallet addresses?"
- Type
/help for all commands.
- Back up profile auth immediately after first wallet creation.
Profiles (multi-agent isolation)
emblemai profile list | create <name> | use <name> | inspect [name] | delete <name>
emblemai --profile <name> ...
Fail-closed rule: if more than one profile exists in ~/.emblemai, every
--agent invocation MUST include --profile <name>. Agent mode never guesses.
Authentication
Browser auth (interactive, recommended). Run emblemai --profile <name>
without -p; opens a modal at 127.0.0.1:18247 supporting EVM wallets
(MetaMask, WalletConnect), Solana (Phantom, Solflare), Hedera, Bitcoin (PSBT),
OAuth (Google, Twitter/X), email/password+OTP, and guest fingerprint sessions.
Use this to connect/switch an existing wallet.
Agent mode (zero-config, password-auth only). Resolves per profile:
- explicit password flag / env override,
- stored encrypted password in
~/.emblemai/profiles/<name>/.env + .env.keys,
- none present → auto-generate a 32-byte password, store encrypted, authenticate,
create a new vault.
One command creates a working wallet:
emblemai --agent --profile motoko -m "What are my wallet addresses?"
Wallet data safety (critical)
- Logout via
/auth → option 9 (clears the profile's session.json).
- NEVER
rm -rf ~/.emblemai as a logout step.
- Never delete credential material unless the user explicitly asks to destroy it.
- The auto-generated password in
.env/.env.keys is the only key to that
wallet. Lose it without backup = wallet unrecoverable.
Common workflows (run CLI directly; do not prompt the LLM for these)
- Backup auth (do this right after first wallet creation):
emblemai --profile motoko → /auth → option 8.
- Restore (profile-aware; creates profile if missing):
emblemai --profile motoko --restore-auth ~/emblemai-auth-backup.json
- Switch wallet / re-login: logout via CLI flow, then relaunch
emblemai --profile <name> and pick a provider in the modal.
- Check wallet/session:
/wallet, or /auth → 2 (Vault Info), 3 (Session Info).
Usage patterns
Single-shot agent query:
emblemai --agent --profile motoko -m "What are my wallet addresses?"
Interactive session for multi-step or provider switching:
emblemai --profile motoko
1---2name: emblem-agent-wallet3description: "Use when connecting to EmblemVault to manage a multi-chain crypto wallet across Solana, Ethereum, Base, BSC, Polygon, Hedera, and Bitcoin — checking addresses, balances, portfolio snapshots, recent activity, or running operator-confirmed wallet actions. Triggers: 'use my Emblem wallet', 'connect to EmblemVault', 'create an agent wallet', 'what are my wallet addresses', 'show balances across chains'."4version: 1.0.05license: MIT6tags: [crypto, wallet, multi-chain, web3, solana, ethereum, bitcoin, agent-wallet]7source: https://github.com/EmblemCompany/Agent-skills/tree/main/skills/emblem-ai-agent-wallet8derived_from: awesomeclaude9prerequisites: ["Node.js >= 18", "@emblemvault/agentwallet CLI (emblemai)", "internet access"]10metadata:11 source: https://skillmd.com/skills/aashutosh396/emblem-agent-wallet12---1314# EmblemAI Agent Wallet1516Wallet-aware assistant for EmblemVault. Manage balances, addresses, portfolio17snapshots, recent activity, and operator-confirmed actions across Solana,18Ethereum, Base, BSC, Polygon, Hedera, and Bitcoin. Profile-scoped local auth,19zero-config agent provisioning, review-first for any value-moving action.2021## When to use22- "Use my Emblem wallet to check balances"23- "Connect to EmblemVault" / "Create or use my agent wallet profile"24- "What are my wallet addresses?" / "Show recent wallet activity"2526## Security model (review-first)27- Transaction previews shown before signing; explicit user confirmation required.28- No transaction broadcast without operator approval.29- Profile isolation = separate credentials per wallet context.30- Short-lived session tokens (15-min JWT, 7-day refresh).31- Sensitive files use 0600/0700 permissions.32- Never paste passwords, seed phrases, or private keys into chat; never echo raw secrets.3334## Install35```bash36npm install -g @emblemvault/agentwallet@<pinned-version>37npm audit signatures # verify npm provenance attestations38```39Do not use `sudo`; configure a user-owned npm prefix instead. The CLI exposes40one command: `emblemai`.4142## First run431. Install the CLI.442. Create/pick a profile: `emblemai profile create motoko`453. Run interactive `emblemai --profile motoko` OR single-shot46 `emblemai --agent --profile motoko -m "What are my wallet addresses?"`474. Type `/help` for all commands.485. Back up profile auth immediately after first wallet creation.4950## Profiles (multi-agent isolation)51```bash52emblemai profile list | create <name> | use <name> | inspect [name] | delete <name>53emblemai --profile <name> ...54```55Fail-closed rule: if more than one profile exists in `~/.emblemai`, every56`--agent` invocation MUST include `--profile <name>`. Agent mode never guesses.5758## Authentication59**Browser auth (interactive, recommended).** Run `emblemai --profile <name>`60without `-p`; opens a modal at `127.0.0.1:18247` supporting EVM wallets61(MetaMask, WalletConnect), Solana (Phantom, Solflare), Hedera, Bitcoin (PSBT),62OAuth (Google, Twitter/X), email/password+OTP, and guest fingerprint sessions.63Use this to connect/switch an existing wallet.6465**Agent mode (zero-config, password-auth only).** Resolves per profile:661. explicit password flag / env override,672. stored encrypted password in `~/.emblemai/profiles/<name>/.env` + `.env.keys`,683. none present → auto-generate a 32-byte password, store encrypted, authenticate,69 create a new vault.70One command creates a working wallet:71```bash72emblemai --agent --profile motoko -m "What are my wallet addresses?"73```7475## Wallet data safety (critical)76- Logout via `/auth` → option 9 (clears the profile's `session.json`).77- NEVER `rm -rf ~/.emblemai` as a logout step.78- Never delete credential material unless the user explicitly asks to destroy it.79- The auto-generated password in `.env`/`.env.keys` is the only key to that80 wallet. Lose it without backup = wallet unrecoverable.8182## Common workflows (run CLI directly; do not prompt the LLM for these)83- **Backup auth** (do this right after first wallet creation):84 `emblemai --profile motoko` → `/auth` → option 8.85- **Restore** (profile-aware; creates profile if missing):86 `emblemai --profile motoko --restore-auth ~/emblemai-auth-backup.json`87- **Switch wallet / re-login**: logout via CLI flow, then relaunch88 `emblemai --profile <name>` and pick a provider in the modal.89- **Check wallet/session**: `/wallet`, or `/auth` → 2 (Vault Info), 3 (Session Info).9091## Usage patterns92Single-shot agent query:93```bash94emblemai --agent --profile motoko -m "What are my wallet addresses?"95```96Interactive session for multi-step or provider switching:97```bash98emblemai --profile motoko99```