@temple-digital-group/temple-cli-testnet
v0.1.2
Published
Capital Markets Built on Canton
Readme
Temple CLI (Testnet)
Canton Network Trading Terminal — command-line interface for the Temple Digital Group trading platform.
Built on the Temple Trading API and @temple-digital-group/temple-canton-js SDK.
Note: This is the testnet version. No real funds are used.
Install
npm install -g @temple-digital-group/temple-cli-testnetOr run locally:
git clone https://github.com/temple-digital-group/temple-cli
cd temple-cli
npm install
npm linkSetup
temple initYou'll be prompted for:
- Temple API key — find yours at app.templedigitalgroup.com → Account → API Keys
- Claude API key (optional) — enables
temple chatconversational mode
Config is stored securely at ~/.temple/config.json (mode 600).
Quick Start
Just type temple to enter the interactive terminal, then use slash commands:
/pairs all trading pairs
/ticker cc live price for CC
/depth cc orderbook depth
/balance wallet balances
/orders active open orders
/marketbuy 35 cc market buy 35 CC
/limitsell 100 cc 0.16 limit sell at 0.16
/cancel cancel orders
/history past order history
/chat AI trading chatCommands
Market Data
temple pairs # All Canton trading pairs
temple ticker CC-USDCx # Live price + 24h stats
temple depth CC-USDCx # Orderbook depth + spread
temple trades CC-USDCx # Recent tradesTrading
temple marketbuy 35 cc # Market buy 35 CC
temple limitbuy 100 cc 0.15 # Limit buy at 0.15
temple marketsell 50 cc # Market sell 50 CC
temple limitsell 100 cc 0.16 # Limit sell at 0.16Order Management
temple orders # Active orders
temple cancel # Interactive cancel with numbered list
temple cancel --all # Cancel everything
temple history # Past order historyAI Chat Mode
temple chatTrade in plain English:
- "buy 500 CC at market"
- "what's the spread on CC?"
- "show my open orders"
- "cancel all orders"
Type / inside chat to see slash commands. Requires a Claude API key.
Canton Assets
| Symbol | Name | |--------|------| | CC / Amulet | Canton Coin | | USDCx | USD Stablecoin | | CBTC | Canton Bitcoin |
SDK
This CLI wraps the Temple API — REST endpoints for market data and order management.
To use the SDK directly:
npm install @temple-digital-group/temple-canton-jsBuilt by Temple Digital Group
