Nansen Wallet for Openclaw

A professional-grade CLI tool for secure wallet creation, encryption, and multi-chain token transfers within automated agent environments.

hurcannansen
v1.0.0
Mar 4, 2026
1
173
1

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install nansen-wallet

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install nansen-wallet using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Nansen Wallet?

Nansen Wallet is a specialized utility designed for developers and automated agents to manage cryptocurrency assets with high security and precision. It provides a comprehensive interface for creating, listing, and exporting wallets while ensuring all private data is protected via AES-256-GCM encryption. This tool is a critical component for those building financial automations using Openclaw Skills, allowing for seamless interaction with both EVM-compatible chains and Solana.

The skill emphasizes a security-first approach, particularly regarding password management. It is designed to work in headless environments where credentials must be persisted securely in local environment files rather than being held in volatile session memory. This ensures that funds remain accessible and secure across session restarts, making it an ideal choice for persistent AI-driven financial agents.

Nansen Wallet Use Cases

  • Programmatic creation and management of multiple blockchain wallets.
  • Automating token transfers and balance checks on Ethereum, BSC, and Solana.
  • Performing dry-run transaction previews to validate logic before broadcasting to the blockchain.
  • Integrating secure wallet operations into broader Openclaw Skills workflows for DeFi and asset tracking.

How Nansen Wallet Works

  1. The user authenticates the CLI using a Nansen API key to enable blockchain communication.
  2. A persistent encryption password is generated and stored in a secure local environment file (~/.nansen/.env).
  3. New wallets are created and encrypted using the AES-256-GCM standard, ensuring the private keys are never stored in plain text.
  4. For any transaction or wallet operation, the skill sources the secure environment file to unlock the required credentials.
  5. The skill executes the requested command—such as sending tokens or exporting a key—across the specified blockchain network (EVM or Solana).

Nansen Wallet Setup

To get started with this skill, ensure you have the Nansen CLI installed and your API credentials ready. Follow these steps to initialize the environment for Openclaw Skills:

# Install the necessary package
npm install -g nansen-cli

# Authenticate with your API key
nansen login

# Configure the secure password environment
mkdir -p ~/.nansen
if ! grep -q 'NANSEN_WALLET_PASSWORD' ~/.nansen/.env 2>/dev/null; then
  NANSEN_WALLET_PASSWORD=$(openssl rand -base64 24)
  echo "export NANSEN_WALLET_PASSWORD=\"$NANSEN_WALLET_PASSWORD\"" >> ~/.nansen/.env
  chmod 600 ~/.nansen/.env
fi

Nansen Wallet Data Schema & Taxonomy

The skill organizes its configuration and security metadata as follows:

Item Storage Type Description
NANSEN_API_KEY Environment Var Used for authenticating API requests to Nansen services.
NANSEN_WALLET_PASSWORD Local File (.env) AES-256-GCM encryption key for local wallet storage.
Wallet Metadata Encrypted Local Store Stores the encrypted private keys and public addresses.
RPC Endpoints Configurable Var Optional custom endpoints for EVM (NANSEN_EVM_RPC) and Solana (NANSEN_SOLANA_RPC).

Nansen Wallet Advanced Features

  • Multi-chain support covering both Solana and the entire EVM ecosystem.
  • Dry-run mode for transaction simulation, preventing accidental fund transfers during development.
  • Max-send functionality to easily sweep entire wallet balances to a destination.
  • Strict password policy implementation designed specifically for AI agents to prevent credential leakage in conversation logs.
  • Support for custom RPC endpoints to ensure high reliability and speed for Openclaw Skills integrations.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*