Nansen Wallet Keychain Migration
Migration guide that moves a nansen-cli wallet from plaintext password files to OS keychain storage.
- CCM score
- 60 of 100
- skills.sh installs
- 366
- GitHub stars
- 151
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers four migration paths: password in
~/.nansen/.env, password in.credentials, password only inNANSEN_WALLET_PASSWORD, and a lost-password recovery path - Includes state detection via
nansen auth status --prettyandnansen doctor --offline, plus post-migration decryption checks - Enforces exit-code-only verification so private keys from
nansen wallet export --revealnever reach transcripts or logs - Designed for agents helping users who created a wallet before the keychain update and need to secure their password
Install
$ npx -y skills add nansen-ai/nansen-cli --skill nansen-wallet-keychain-migration -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/nansen-ai/nansen-cli
- Categories
- Web3 & Crypto, Security
- First seen
- Jun 3, 2026
Questions
What does the nansen-wallet-keychain-migration skill do?
The nansen-wallet-keychain-migration skill moves an existing nansen-cli wallet from insecure password storage, such as ~/.nansen/.env or the .credentials file, into the new keychain-backed flow. It checks where the password is stored and then verifies that the keychain password can decrypt the wallet.
Who should use the nansen-wallet-keychain-migration skill?
The nansen-wallet-keychain-migration skill is for users who created a nansen-cli wallet with the old password storage method. It also fits users who see the warning that the password was loaded from an insecure .credentials file or who ask to migrate to keychain.
How do I install the nansen-wallet-keychain-migration skill?
Run npx -y skills add nansen-ai/nansen-cli --skill nansen-wallet-keychain-migration -y in your project. After that, the agent can use the nansen-wallet-keychain-migration skill to move your stored wallet password into the keychain.
What does the nansen-wallet-keychain-migration skill need to run?
The nansen-wallet-keychain-migration skill needs the nansen CLI binary, which it installs from the nansen-cli package. It also uses NANSEN_API_KEY as its primary environment variable and needs your wallet password, which the agent must ask you for rather than generate.
Where does the nansen-wallet-keychain-migration skill sit in its category?
The nansen-wallet-keychain-migration skill is listed in the Web3 & Crypto category next to solana-dev and binance-agentic-wallet. Its own focus is narrow: it migrates an existing nansen-cli wallet password into the OS keychain rather than trading or market data.
More from nansen-ai/nansen-cli
All 33- Nansen Agent Guide248
- Nansen Smart Money165
- Nansen Token136
- Nansen Wallet124
- Nansen Web Searcher667
- Nansen Smart Money Tracker561
- Nansen Prediction Markets503
- Nansen Smart Money Alpha488
- Nansen Portfolio Tracker458
- Nansen Token Research450
- Nansen Trading445
- Nansen Fund Tracker439
- Nansen Smart Money Trend436
- Nansen Wallet Profiler421
- Nansen General Search420
- Nansen Defi Positions418
- Nansen Token Screener416
- Nansen Polymarket Deep Dive409
- Nansen Holder Analysis406
- Nansen Smart Alerts405
- Nansen Polymarket Trader Profile403
- Nansen Token Transfer Analysis403
- Nansen Exit Signals400
- Nansen Perp Screener400
Similar to Nansen Wallet Keychain Migration
More Web3 & Cryptonansen-wallet-managernansen-ai/nansen-cli380 installsWallet manager for creating, listing, sending from, and exporting local or Privy-backed wallets.
nansen-wallet-deep-divenansen-ai/nansen-cli397 installsComprehensive wallet profile covering identity labels, holdings, PnL, transactions, perps, and counterparties.
use-circle-walletscirclefin/skills1K installsDecision guide for choosing among Circle's developer-controlled, user-controlled, and modular passkey wallets for onchain apps.
walletstarchild-ai-agent/official-skills8.9K installsMulti-chain wallet covering EVM and Solana balances, transfers, signing, and transaction policy.
okx-agentic-walletokx/onchainos-skills20.2K installsOKX agent wallet that routes wallet, funds, swap, bridge, limit-order, and security tasks to exact commands.
axiom-securitycharleswiltgen/axiom1.3K installsSecurity, credential, and code-signing reference router that points to focused guides for keychain, CryptoKit, passkeys, app attestation, and agentic AI securit