Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alphaonedev avatar

Wallet Integration

  • 49 installs
  • 6 repo stars
  • Updated March 13, 2026
  • alphaonedev/openclaw-graph

wallet-integration is a Claude Code skill that integrates blockchain wallets for cryptocurrency transactions, asset management, and key handling on networks like Ethereum and Bitcoin.

About

This skill integrates blockchain wallets to enable cryptocurrency transactions, asset management, and key handling for networks like Ethereum and Bitcoin. It covers connecting via RPC or private keys, sending transactions with gas estimation, querying balances, and secure key storage including hardware wallets. A developer uses it when building dApps or scripts that need wallet connectivity.

  • Connect Ethereum and Bitcoin wallets via RPC and private keys or mnemonics
  • Send transactions with gas estimation and query balances
  • Secure key storage with hardware wallet (Ledger) support

Wallet Integration by the numbers

  • 49 all-time installs (skills.sh)
  • Ranked #211 of 479 Web3 & Blockchain skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

wallet-integration capabilities & compatibility

Free skill; requires an RPC provider key and a WALLET_API_KEY; on-chain transactions cost gas

Capabilities
web3 py
Works with
openai
Use cases
api development
Pricing
Bring your own API key
From the docs

What wallet-integration says it does

This skill integrates blockchain wallets to enable secure cryptocurrency transactions, asset management, and key handling for networks like Ethereum and Bitcoin.
SKILL.md
Connect to blockchain networks (e.g., Ethereum via RPC, Bitcoin via electrum) using private keys or mnemonic phrases.
SKILL.md
Secure key storage: Encrypt keys in memory and support hardware wallets like Ledger.
SKILL.md
npx skills add https://github.com/alphaonedev/openclaw-graph --skill wallet-integration

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs49
repo stars6
Last updatedMarch 13, 2026
Repositoryalphaonedev/openclaw-graph

What it does

Integrate Ethereum and Bitcoin wallets into a dApp for transactions, balance queries, and secure key handling.

Who is it for?

Developers adding wallet connectivity to dApps for transfers, NFTs, or balance queries

When should I use this skill?

Building wallet connectivity, transaction signing, or asset tracking for a blockchain app

What you get

A dApp with connected wallets, signed transactions, and secure key handling

  • Wallet connection
  • Transaction sending with gas estimation
  • Balance queries

By the numbers

  • Defaults Ethereum transfers to a 21000 gas limit

Files

SKILL.mdMarkdownGitHub ↗

Purpose

This skill integrates blockchain wallets to enable secure cryptocurrency transactions, asset management, and key handling for networks like Ethereum and Bitcoin. It abstracts wallet interactions, ensuring secure key management and transaction signing.

When to Use

Use this skill when building applications that require wallet connectivity, such as dApps for token transfers, NFT management, or querying blockchain balances. Apply it in scenarios involving user authentication with wallets (e.g., MetaMask integration) or automated scripts for asset tracking.

Key Capabilities

  • Connect to blockchain networks (e.g., Ethereum via RPC, Bitcoin via electrum) using private keys or mnemonic phrases.
  • Perform transactions: Send ETH or BTC, including gas fee estimation for Ethereum.
  • Manage assets: Query balances, list tokens, and handle multi-chain wallets.
  • Secure key storage: Encrypt keys in memory and support hardware wallets like Ledger.
  • Event listening: Subscribe to wallet events like incoming transactions via WebSocket.

Usage Patterns

Always initialize the wallet with a network and authentication method. Use environment variables for keys to avoid hardcoding. For CLI, prefix commands with claw wallet. In code, import the OpenClaw library and create a wallet instance. Handle asynchronous operations with async/await for network calls. Test integrations in a sandbox environment before production.

Common Commands/API

Use the following CLI commands or API endpoints for wallet operations. Set authentication via $WALLET_API_KEY environment variable.

  • CLI Command: claw wallet connect --network ethereum --key $ETH_PRIVATE_KEY --rpc-url https://mainnet.infura.io/v3/your-project-id
  • Flags: --network specifies chain (e.g., ethereum, bitcoin); --key uses a hex string; --rpc-url for custom nodes.
  • Example: Connects to Ethereum and returns a session ID.
  • API Endpoint: POST /api/v1/wallet/connect
  • Body: JSON format: {"network": "ethereum", "privateKey": "$ETH_PRIVATE_KEY", "rpcUrl": "https://mainnet.infura.io/v3/your-project-id"}
  • Response: JSON with { "status": "connected", "address": "0xYourAddress" }.
  • CLI Command: claw wallet send --to 0xRecipientAddress --amount 0.1 --network ethereum
  • Flags: --to for recipient; --amount in ETH; adds --gas-limit 21000 for custom gas.
  • API Endpoint: POST /api/v1/wallet/transaction
  • Body: JSON: {"to": "0xRecipientAddress", "amount": "0.1", "network": "ethereum", "gasLimit": 21000}
  • Code Snippet:
    import requests
    import os
    response = requests.post('https://api.openclaw.com/api/v1/wallet/transaction', 
                             json={"to": "0xRecipient", "amount": "0.1"}, 
                             headers={"Authorization": f"Bearer {os.environ['WALLET_API_KEY']}"})
    print(response.json())
  • CLI Command: claw wallet balance --address 0xYourAddress --network bitcoin
  • Flags: --address for query; supports --unit satoshi for precision.

Config Format: Use JSON for wallet configs, e.g.,

{
  "network": "ethereum",
  "rpcUrl": "https://mainnet.infura.io/v3/your-id",
  "privateKeyEnv": "ETH_PRIVATE_KEY"
}

Load via CLI: claw wallet load-config path/to/config.json.

Integration Notes

Always use $WALLET_API_KEY for authentication in API calls or CLI commands to prevent exposure. Install dependencies like web3.py for Ethereum or bitcoinlib for Bitcoin via pip install openclaw-blockchain. For multi-chain support, specify networks explicitly in configs. Avoid storing keys in code; use secure vaults or hardware devices. If integrating with other services, chain wallet events to OpenClaw's event bus using WebSockets (e.g., ws://api.openclaw.com/events). Validate inputs (e.g., check address formats with web3.utils.isAddress()) before operations.

Error Handling

Catch common errors like network failures, invalid keys, or insufficient funds. Use try-except blocks for API calls. For CLI, check exit codes.

  • Error: Invalid private key – Code: 400 Bad Request
  • Handle: In code, check with if not wallet.validate_key(key): raise ValueError("Invalid key")
  • Snippet:
    try:
        wallet.connect(key=os.environ['ETH_PRIVATE_KEY'])
    except ConnectionError as e:
        print(f"Network error: {e}. Retrying in 5s...")
        time.sleep(5)
  • Error: Insufficient funds – Code: 402 Payment Required
  • Handle: Query balance first with claw wallet balance and abort if low.
  • CLI Example: Pipe output: claw wallet balance --address 0xAddr && claw wallet send || echo "Funds low"

Always log errors with context (e.g., network and timestamp) and retry transient errors up to 3 times with exponential backoff.

Concrete Usage Examples

Example 1: Connecting and Sending ETH To connect a wallet and send 0.1 ETH: 1. Set env var: export ETH_PRIVATE_KEY=0xYourHexKey 2. Run CLI: claw wallet connect --network ethereum --key $ETH_PRIVATE_KEY 3. Send transaction: claw wallet send --to 0xRecipient --amount 0.1

  • In code:
     import openclaw
     wallet = openclaw.Wallet(network='ethereum')
     wallet.connect(key=os.environ['ETH_PRIVATE_KEY'])
     tx_hash = wallet.send(to='0xRecipient', amount=0.1)
     print(f"Transaction sent: {tx_hash}")

Example 2: Querying and Managing Bitcoin Assets To check balance and transfer BTC: 1. Set env var: export BTC_PRIVATE_KEY=YourBitcoinKey 2. Query balance: claw wallet balance --address bc1YourAddress --network bitcoin 3. Transfer: claw wallet send --to bc1Recipient --amount 0.001 --network bitcoin

  • In code:
     import openclaw
     wallet = openclaw.Wallet(network='bitcoin')
     wallet.connect(key=os.environ['BTC_PRIVATE_KEY'])
     balance = wallet.get_balance(address='bc1YourAddress')
     if balance > 0.001:
         tx_id = wallet.send(to='bc1Recipient', amount=0.001)
         print(f"Transferred: {tx_id}")

Graph Relationships

  • Related to: transaction-processing (for post-transaction handling)
  • Depends on: blockchain-explorer (for block data queries)
  • Clusters with: smart-contracts (for wallet-based contract interactions)

Related skills

FAQ

Which networks does wallet-integration support?

Ethereum via RPC and Bitcoin via electrum, with multi-chain wallet handling.

How does it handle keys securely?

It encrypts keys in memory, supports hardware wallets like Ledger, and reads keys from environment variables rather than hardcoding them.

Web3 & Blockchainbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.