🤖 CounterTrader
Last updated Mar 12, 2026

Changelog

All updates, new features, and improvements to CounterTrader.

29
Releases
198+
Capabilities
101
Days Active
👥

Sprint 15: /holders, UX Hardening & Price Fixes

Holder intelligence, streamlined trading UX, and price accuracy fixes

Feature
  • /holders — view top holders of any asset with tiered access (Free/Premium/Premium Plus)
  • Broadcast WTB to all CT-registered holders; counter-offers create public WTS listings
  • Match notifications: Take Listing buttons replace Contact them text
  • Take Listing UX: skip quantity picker, go straight to accept/offer
  • askingPrice convention unified across 12+ code paths (always total in DB)
  • XCP live price: Big Board toUsd() fetches from CoinGecko (was hardcoded $7)
  • First fully automated P2P trade: PEPEBUCKS 10x @ $2/ea
  • /appraise me and /appraise all keywords now work correctly
🔄

Sprint 14: Cross-Currency Matching & P2P Automation

Automatic cross-currency listing matching and fully automated P2P trade pipeline

Feature
  • Cross-currency matching engine — BTC, USD, XCP listings auto-matched within 5% tolerance
  • Live exchange rate normalization via normalizeToUsd()
  • Cross-currency match scheduler running every 15 minutes
  • Rate re-verification at acceptance time (drift protection)
  • /settings toggle for cross-currency notifications
  • P2P BTC payment auto-detection via scantxoutset RPC
  • P2P Counterparty asset send auto-detection via getSendsBySource RPC
  • Full automation: payment → verify → asset → verify → complete → reputation
  • First successful automated trade: PEPEBUCKS 10x @ $2/ea
  • Bug fixes: BTC trade USD values, ledger TX links, P2P address truncation
  • 73+ new automated tests
👁️

Sprint 13: Address Tracking & Appraisal

Monitor addresses for on-chain activity, portfolio appraisals with CSV export, Premium Plus tier

Feature
  • /track command — monitor any Counterparty address for purchases, sales, sends, receives
  • Free tier: 1 own address with all 6 event types
  • Premium tier: unlimited own addresses
  • Premium Plus tier (2+ COUNTERTRADR): external whale watching — 5 slots per extra token
  • Background polling every 3 minutes with bootstrap mode (no flood on first check)
  • Per-address notification settings: toggle event types, set minimum USD threshold
  • /appraise — portfolio valuation with floor, last sale, and mark-to-market values
  • /appraise CSV export — 10-column spreadsheet download
  • Trade timeout scheduler — 30+ day trades auto-expire
  • P2P buyer address persistence (survives bot restarts)
🔧

Sprint 12: Engineering Hardening

Security, reliability, and code quality hardening — 105 files, 28 tasks, 405 tests

Improvement
  • Escrow double-accept prevention with database transactions
  • Abuse enforcement activated — blocked users can't use commands
  • Rate limiting wired to /search, /listing, /inventory, /orderbook, /wallet, /escrow
  • XCP payment verification fix — no longer routed through BTC verifier
  • Duplicate notification prevention — persisted in DB instead of memory
  • Scheduler auto-recovery when APIs come back online
  • Address format validation (BTC: 1/3/bc1, ETH: 0x)
  • Consolidated 7 duplicate price formatters into one
  • Replaced 234 inline error patterns with unified handler
  • 405 automated tests passing
📡

Sprint 11 Complete: Stream Intelligence

Stream notifications now show floor and last sale comparisons

Feature
  • Stream listings show floor price comparison (📊 Floor: $X (+Y%))
  • Stream listings show last sale comparison (📈 Last: $X (+Y%))
  • Unified Market Info card in /match flow - full orderbook display
  • 10X GIVEKUDOS Boost - all reward tiers multiplied by 10
  • New tier rewards: 100/200/400/800/1,600/3,200/4,800/6,400 GIVEKUDOS
  • Existing user balances retroactively boosted 10X
🚀

10X GIVEKUDOS Boost + Admin Tools

All campaign rewards boosted 10X plus new admin capabilities

Feature
  • 10X GIVEKUDOS Boost - all reward tiers multiplied by 10
  • New tier rewards: 100/200/400/800/1,600/3,200/4,800/6,400 GIVEKUDOS
  • Existing user rewards retroactively boosted 10X
  • /campaign @username - Admin lookup for user campaign progress
  • /audit command - Reputation score verification and repair
  • Admin cancel feature for stuck escrow transactions
  • Campaign milestone tracking (Based Bidder, Ultra Based badges)
📢

Sprint 11: Bulk Bidding & Floor Filters

Bulk bid command and enhanced floor price filtering

Feature
  • /bulkbid command - Bulk bid on collection at last sale prices
  • /floor min:ls filter - Only show assets with minimum last sale value
  • /floor min:floor filter - Only show assets with minimum floor value
  • Bulklist expiry selection - Choose 7, 14, or 30 day expiry
  • Tiered wallet verification with multiple confirmation options
🏮

Festival of the Based Bidder Campaign

First GIVEKUDOS campaign with tiered rewards for WTB bids

Feature
  • GIVEKUDOS reward system - earn tokens for campaign participation
  • Tiered rewards based on bid % of Last Sale (50%-120%+)
  • Campaign badges: 🔥 Based Bidder, 🐉 Ultra Based
  • /campaign command to track progress and GIVEKUDOS balance
  • /redeem command to cash out at 10K GIVEKUDOS minimum
  • /leaderboard GIVEKUDOS to see community rankings
  • Reputation bonuses for bidding at or above Last Sale
  • Profile badges displayed on leaderboard for top 100 users
📬

Personalized Digests

Automated daily and weekly market digests personalized to your watchlist and holdings

Feature
  • Daily digest at 9:00 UTC: watchlist prices, hot assets, order book spreads, movers
  • Weekly recap on Saturdays: top sales, collection activity with sales velocity, portfolio snapshot
  • /digest command to toggle daily and weekly notifications independently
  • Market context header with live BTC and XCP prices
  • Dispenser detection alerts in watchlist snapshot
  • Portfolio stats (value, P&L, win rate) aggregated across all verified wallets
  • Unsubscribe button embedded in every digest message
  • Progressive message truncation for large watchlists

Market Data & XCP Currency

Collection bid/ask intelligence and XCP native currency prominence

Feature
  • /bids <collection> - View active WTB bids with volume and top bidders
  • /asks <collection> - View active WTS asks with supply analysis
  • /bidwatch <collection> - Spot demand opportunities and undervalued assets
  • XCP promoted to browse quick filter: [All] [USD] [BTC] [XCP]
  • Live exchange rates from CounterTools API (replaces hardcoded values)
  • Price prompts now mention XCP: "USD, BTC, or XCP"
  • One-liner format: /wts DJPEPE 1 100XCP
  • OpenSea bids integrated into orderbook display
  • Lowball bid filtering (< 5% of floor excluded)
🔧

Per-Unit Pricing Fix

Multi-quantity listings now correctly show per-unit prices

Fix
  • Fixed: 5 units at 5 XCP each now shows "5 XCP/ea (25 XCP total)" instead of "1 XCP/ea"
  • Root cause: isLot display logic was inverted from database schema definition
  • Listing confirmation now shows per-unit breakdown for multi-quantity orders
  • Exchange rates now fetched live instead of stale hardcoded values
📊

Command Usage Analytics

Admin dashboard for tracking bot activity and engagement

Feature
  • /analytics command with command frequency breakdown
  • Daily and weekly activity reports
  • Per-command usage tracking
  • Active user metrics
👤

Sprint 8: Profile Enhancements

Achievement badges, leaderboard ranking, and trading partner stats

Feature
  • 🏆 Achievement badges (8 types: First Trade, Active Trader, Power Trader, Whale, Perfect Record, Veteran, Early Adopter, Top Rated)
  • 🏅 Leaderboard ranking shows your position (#X of Y traders)
  • 📊 Points needed to reach next reputation tier
  • 🤝 Top 10 trading partners displayed on profile
  • 📈 Trade stats with completion rate and sold/bought breakdown
  • 💰 Historical volume in accurate USD (value at time of trade)
  • 💎 GIVEKUDOS balance sums all verified wallets
  • /history shows full trade records with asset names, USD values, and ISO dates
  • /whales temporarily disabled (API data issue)
🔍

Sprint 8: Discovery & Sales

Track sales, discover trends, and find market opportunities

Feature
  • /sold - View recent sales for any asset or collection
  • /sold shows floor price, last sale, avg and median of last 10
  • /sold full links row: Tokenscan, CounterTools, Dispensers, DEX, OpenSea
  • /trending - Top assets by trading volume (24h/7d/30d)
  • /hot - Momentum leaders with velocity scoring
  • /movers - Biggest price gainers and losers
  • /whales - Top traders and market makers
  • Collection navigation: Tap collection name to browse assets
  • 100% OpenSea link coverage (84,199 sales with direct NFT links)
  • Tokenscan links for all Counterparty transactions
  • Pagination with 24h/7d/30d period summaries
🛡️

Sprint 7: Reliability & Performance

Bot stays functional when APIs are slow or unavailable

Improvement
  • /docs command - Get help without leaving the bot
  • Graceful degradation - Browse/orderbook work offline
  • API health monitoring with admin dashboard status
  • /browse 10-20x faster with database caching
  • Collections persist across restarts (instant startup)
  • Market Alerts: Fixed BTC notation, added action buttons
  • Premium identity now shows correctly in orderbooks
  • Stale-while-revalidate caching pattern
📦

Inventory Asset Card Enhanced

Manage listings directly from inventory without leaving the view

Feature
  • View quantity held for each asset
  • See floor & last sale prices inline
  • View existing sell listings with quick actions
  • Inline price adjustment buttons (+10%, -10%)
  • Quick cancel and detail buttons
  • Direct Sell button
🔐

Multi-Agent Escrow & ETH Support

Flexible escrow with multiple providers and ETH currency support

Feature
  • Multi-agent escrow system (choose your provider)
  • Variable escrow fees (1-5%) set by each provider
  • Provider ratings and trade counts for trust
  • ETH currency support for listings
  • ETH and XCP on-chain transaction verification
  • P2P whitelist system for trusted traders
  • Admin broadcast system for announcements
🔒

Wallet Verification Hardening

Resilient wallet verification with local fallback

Improvement
  • Local Bitcoin signature verification (BIP-137)
  • API fallback: tries CounterTools, falls back to local
  • --local flag for /connect testing
  • High-issuance asset valuation fix (>10K supply = $0)
  • Quantity-based high-issuance detection
  • SSH tunnel hardening (dual port forwarding)

Reputation System

Trust scoring, leaderboards, and reputation decay

Feature
  • /leaderboard command with pagination
  • 7 reputation tiers (Untrusted to OG)
  • Tier badges in profiles and listings
  • Trade count tracking
  • Reputation decay for inactive users (90+ days)
  • Weekly decay scheduler
  • /connect auto-detect Bitcoin/Ethereum addresses
👛

Inventory Wallet Switcher

Multi-wallet inventory management for premium users

Feature
  • Wallet switcher in /inventory
  • "All Wallets" aggregated view
  • Inventory Filter & Sort
  • Filter by listing status (Not Listed/Has WTS)
  • Filter by market demand (Has WTB)
  • Filter by quantity (Singles/Duplicates)
  • Sort by value, floor, quantity, name
🔧

Expiry & Filters

Enhanced listing control and filtering

Feature
  • Configurable listing expiry (7-90 days or never)
  • Filter & Sort for /myasks and /mybids
  • Status filters (All, Has Matches, Expiring)
  • Multiple sort options (price, date, expiry)
  • Session state persistence
🤝

P2P Trading

Escrow-free peer-to-peer trading

Feature
  • Direct P2P trading for premium users
  • Bitcoin transaction verification
  • Confirmation tier system
  • Protocol fee tracking
  • Address ownership verification

Quality of Life

Streamlined user experience

Improvement
  • One-liner /wts and /wtb commands
  • Multiple price format support
  • Floor price comparison in listings
  • Quick listing creation
💎

Premium Features

Token-gated premium features

Feature
  • COUNTERTRADR token gating
  • Premium tier with unlimited resources
  • /bulklist for bulk listing at floors
  • Tier-based limits (wallets, listings)
  • Premium badge in profile
📊

Market Intelligence

Multi-venue market monitoring and alerts

Feature
  • Multi-venue alerts (Dispenser, DEX, OpenSea)
  • Cross-venue price comparison
  • Best price aggregation
  • Dynamic USD price precision
  • BTC price tracking for dispensers
🎯

Matching Engine

Inventory matching and user settings

Feature
  • /match command for bulk WTB matching
  • Inventory-aware WTB listings
  • Aggregated inventory across wallets
  • Configurable match filter defaults
  • One-tap sell buttons
📋

Listings Management

Enhanced listing management features

Feature
  • Paginated My Listings UI
  • Filter by WTS/WTB
  • Inline price adjustment
  • Standardized pagination utility
  • Listing renewal and cancellation
🏗️

Modularization

Codebase refactoring for maintainability

Improvement
  • Extracted 12K lines into 37 modules
  • 10 callback modules
  • 9 command modules
  • 8 UI modules
  • 5 scheduler modules
  • 5 middleware modules
🚀

Foundation

Core infrastructure and Counterparty integration

Feature
  • Monorepo setup with pnpm and Turbo
  • PostgreSQL database with Drizzle ORM
  • Telegram bot with Telegraf
  • CounterTools API integration
  • Collection-based browsing
  • Orderbook functionality
  • Price suggestion system

Stay Updated

Join our Telegram group to get instant notifications when new features ship.