
Nansen Wallet Keychain Migration
Handles the awkward transition from nansen-cli's old password storage (env files, .credentials) to the new keychain-backed system. You'll want this when users hit the "Password loaded from insecure .credentials file" warning or mention they stored credentials in ~/.nansen/.env. The skill walks through four migration paths depending on where the password currently lives, always verifying the keychain actually decrypts the wallet afterward with `nansen wallet export`. The verification step matters because `wallet show` doesn't touch the password at all, so it won't catch a botched migration. Main gotcha is that agents can't use interactive prompts, so everything routes through NANSEN_WALLET_PASSWORD env var or sourcing existing files in the same shell.
- skills.sh installs
- 358
- GitHub stars
- 148
- last updated
- Aug 21, 2026
Install
$ npx -y skills add nansen-ai/nansen-cli --skill nansen-wallet-keychain-migration --agent claude-codeInstalls into .claude/skills of the current project.
Files
Authentication
Nansen account API calls accept a selected nansen:api browser session or conventional API key with the same permissions. NANSEN_API_KEY takes precedence; optional primaryEnv preserves configured-key injection. Run nansen auth status for offline selection. Cached access expiry alone permits automatic renewal during an authorized task. Stop on anonymous selection, invalid state, blocked/uncertain renewal or actual auth failure; never drop a credential or fall back to anonymous x402 payment. Browser login does not grant wallet signing, privileged service identity or a persistent MCP integration key. Preserve all confirmation, signing, sanctions and geographic checks below. Browser login is enabled in production within the documented platform scope.
Wallet Migration — Old Flow to Secure Keychain
Use this skill when a user already has a nansen-cli wallet set up with the old password storage method and wants to migrate to the new secure flow.
When to use
Sponsors
Details
- Repository
- github.com/nansen-ai/nansen-cli
- Categories
- CLI & Terminal, Web3 & Blockchain
- First seen
- Jun 3, 2026
More from nansen-ai/nansen-cli
All 37- Nansen Agent Guide240
- Nansen Smart Money165
- Nansen Search138
- Nansen Token136
- Nansen Profiler133
- Nansen Wallet124
- Nansen Trade122
- Nansen Web Searcher659
- Nansen Smart Money Tracker551
- Nansen Prediction Markets495
- Nansen Smart Money Alpha479
- Nansen Web Fetcher463
- Nansen Portfolio Tracker449
- Nansen Token Research441
- Nansen Trading436
- Nansen Fund Tracker431
- Nansen Smart Money Trend428
- Nansen Wallet Profiler413
- Nansen General Search412
- Nansen Defi Positions410
- Nansen Token Screener408
- Nansen Polymarket Deep Dive401
- Nansen Holder Analysis398
- Nansen Smart Alerts397