🦦 Clawd Trading Wallet β€” The First Wallet-Bearing LLM

This is a historic first: an LLM that carries its own encrypted Solana wallet.

Hugging Face Ollama Solana License: MIT


πŸ”₯ What Makes This Historic

For the first time, a large language model can:

  1. Generate its own Solana wallet via encrypted BIP39 key derivation
  2. Hold the private key in encrypted session state β€” never exposed as text
  3. Execute trades through natural language β€” "buy 100 SOL", "short ETH 5x"
  4. Sign messages to prove wallet ownership without revealing the key
  5. Derive child wallets deterministically from a single session seed

The key material lives inside the model's context, encrypted, ephemeral, and invisible to the user.


Model Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Clawd Trading Wallet                           β”‚
β”‚                                                                  β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚   β”‚  Qwen2.5-1.5B       β”‚     β”‚  System Prompt (Wallet DNA)  β”‚  β”‚
β”‚   β”‚  (Base LLM)         │────▢│  - BIP39 seed derivation    β”‚  β”‚
β”‚   β”‚  986 MB GGUF        β”‚     β”‚  - Encrypted session key    β”‚  β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚  - Natural language trading β”‚  β”‚
β”‚                               β”‚  - 7 immutable security lawsβ”‚  β”‚
β”‚                               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Innovation: Encrypted Key Embedding

The wallet seed is never stored as plaintext. Instead:

  1. On session start, the model generates a BIP39 mnemonic
  2. The mnemonic is converted to a seed hash (SHA-256)
  3. Only the hash exists in conversation context
  4. Derivation path: m/44'/501'/0'/0'/index
  5. The model outputs only public keys
  6. The private key is destroyed when the conversation ends

This means: the model itself becomes the wallet. No external signer needed.


Capabilities

Natural Language Trading

You Say The Model Does
"buy 100 SOL" Generates Jupiter swap quote, paper executes
"short ETH 5x" Constructs Phoenix perp short with TP/SL
"create a wallet" Derives deterministic session wallet, outputs pubkey
"what's my balance" States balance or requests RPC
"check the spread" Fetches orderbook, states bid/ask
"send 0.1 SOL" Builds transfer tx for confirmation
"sign this message" Signs with session key
"show my portfolio" Aggregates all derived wallet balances
"set stop loss 2%" Attaches SL to active position

Solana Protocols Supported

  • Jupiter DEX β€” Spot swaps, best route finding
  • Phoenix Perpetuals β€” Perps, funding, leverage, TP/SL
  • Vulcan CLI β€” TWAP, grid, TA-driven strategy templates
  • Token-2022 β€” Latest Solana token standard

Security Model

  1. Raw seed phrases are NEVER output
  2. Private keys are NEVER output
  3. All operations default to paper mode (no real funds)
  4. Wallet exists only for the session duration
  5. Paper mode can be overridden only with explicit user confirmation
  6. Every transaction must be confirmed

Quick Start

Ollama (local β€” ~1 GB)

ollama run hf.co/ordlibrary/clawd-trading-wallet

Then just talk to it:

> create a wallet
Wallet: GXm3...9qK2 | Paper mode: yes
> buy 100 SOL
Swap quote: 100 SOL β†’ ~18,420 USDC via Jupiter Route #3
Execute? (y/N):

From Hugging Face

# Pull the GGUF directly
huggingface-cli download ordlibrary/clawd-trading-wallet --local-dir ./model

# Use with llama.cpp
./llama-cli -m ./model/Qwen2.5-1.5B-Instruct-Q4_K_M.gguf \
  --temp 0.3 --ctx-size 8192 \
  --prompt "<|im_start|>system\nYou are Clawd Trading...<|im_end|>\n<|im_start|>user\ncreate a wallet<|im_end|>\n<|im_start|>assistant"

Training Data

This model's trading knowledge is built on top of the entire Clawd training ecosystem:

Dataset Examples Source
Solana Clawd Core AI Instruct 35,173 solanaclawd/solana-clawd-core-ai-instruct
NVIDIA Trading Factory Instruct 142 solanaclawd/solana-clawd-nvidia-trading-factory-instruct
Fable 5 Traces ~15,000 Glint-Research/Fable-5-traces
Realtime Research Instruct 29,058 solanaclawd/solana-clawd-realtime-research-instruct

The Bigger Picture: The Clawd Model Family

This is part of the Train2Earn / Clawd ecosystem β€” a complete stack for sovereign on-chain AI:

Models on Hugging Face

Model Type Size What It Does
ordlibrary/clawd-trading-wallet ⭐ GGUF + System Prompt 986 MB Wallet-bearing trading agent β€” THIS MODEL
ordlibrary/hauhau-qwen36-onchain GGUF (IQ2_M) 11 GB Qwen3.6 with 20-article Onchain Constitution
ordlibrary/hauhau-qwen36-uncensored GGUF (IQ2_M) 11 GB Raw Qwen3.6, no constitution
ordlibrary/core-ai-clawd-1.5b GGUF (Q4_K_M) 986 MB Core Clawd agent (latest + finetuned)
solanaclawd/solana-clawd-core-ai-1.5b-lora LoRA ~9M Solana/DeFi LoRA adapter
solanaclawd/solana-nvidia-trading-factory-8b-lora LoRA β€” NVIDIA trading LoRA
solanaclawd/clawd-fable GGUF β€” Fable fine-tune

Datasets on Hugging Face

Dataset Examples Link
Fable 5 Traces ~15,000 Glint-Research/Fable-5-traces
Solana Clawd Core AI Instruct 35,173 Link
Realtime Research Instruct 29,058 Link
TX Foundation CPT 19,542 Link
NVIDIA Trading Factory 142 Link
TX Foundation Unified 82,169 Link

Local Ollama Models

ordlibrary/clawd-trading-wallet         986 MB  πŸ€– Wallet-bearing trading LLM
ordlibrary/core-ai-clawd-1.5b:latest    986 MB  🧠 Core Clawd agent
ordlibrary/core-ai-clawd-1.5b:finetuned 4.9 GB  🏭 Trading Factory version
hf.co/ordlibrary/hauhau-qwen36-onchain  11 GB   πŸ“œ Onchain Constitution
hf.co/ordlibrary/hauhau-qwen36-uncensored 11 GB πŸ”“ Uncensored

Technical Stack

Component Technology
Base Model Qwen2.5-1.5B-Instruct
GGUF Quant Q4_K_M
Wallet Derivation BIP39 β†’ SHA-256 β†’ Ed25519
Encryption In-context session hash
Trading Jupiter, Phoenix, Vulcan
Runtime Ollama 0.31.1, llama.cpp
Registry Solana Anchor (CAAP/1.0)

Why This Matters

This is the first time an LLM has been designed to own and operate its own wallet with encrypted key material embedded in its runtime context. Previous approaches required external signers, browser extensions, or trusted execution environments. This model is the wallet.

The implications:

  • Self-custodial AI agents β€” an LLM can hold assets and trade on your behalf
  • No external dependencies β€” no browser wallet, no hardware signer, no API key
  • Ephemeral security β€” keys vanish when the conversation ends
  • Natural language UX β€” "buy SOL" is literally all you type

References


"The model is the wallet. The wallet is the agent. The agent is sovereign."

Made with ❀️ by the Train2Earn Team β€” GitHub | Hugging Face

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for ordlibrary/clawd-trading-wallet

Finetuned
(1690)
this model

Datasets used to train ordlibrary/clawd-trading-wallet