Releases: paytaca/paytaca-cli
Releases · paytaca/paytaca-cli
v0.3.0
What's New
AI Agent Integration
- Add x402 payment support for BCH (HTTP 402 payment protocol)
- Add AI-friendly features: dry-run, JSON output, and check command
- Add user approval requirement before BCH payment
- Update to x402-bch v2.2 specification
Opencode and Claude Code Integration
- Add paytaca opencode command to install x402 skill
- Add claude subcommand to install paytaca skill for Claude Code
- Add opencode GitHub workflow
- Fix opencode install command for cross-platform compatibility
Testing
- Add Vitest test framework and x402 parsing tests
Documentation
- Update README with x402 payments and AI agent integration docs
Improvements
- Add user confirmation prompt and refactor skill management
- Fix x402 payment URL handling and add configurable payer option
- Fix x402 payment flow and server verification
v0.2.0
The first release of Paytaca CLI — a command-line interface for the Paytaca Bitcoin Cash wallet. Built with the same core logic as the Paytaca mobile app, using watchtower-cash-js for transaction operations and libauth for HD key derivation.
Designed to be AI agent-friendly and useful for automation by power users.
Core Wallet
wallet create— Generate a new 12-word seed phrase and register with Watchtowerwallet import— Import an existing seed phrasewallet info— Show wallet hash, address, and balancewallet export— Display the stored seed phrase- Seed phrases stored in OS-native keychain (macOS Keychain, GNOME Keyring, Windows Credential Manager) via
@napi-rs/keyring
BCH Operations
balance— Display BCH balance in BCH and satoshisbalance --sats— Satoshi-only displaysend <address> <amount>— Send BCH (supports--unit sats)history— Paginated transaction history with filtering (--type incoming|outgoing,--page)receive— Display receiving address with terminal QR codereceive --amount <bch>— BIP21 payment URI (bitcoincash:<addr>?amount=<bch>)
Address Derivation
address derive [index]— Derive receiving and change addresses at a given indexaddress list [-n count]— List multiple derived addresses- HD path:
m/44'/145'/0'with receiving at0/{index}and change at1/{index}
CashTokens Support
Token Commands
token list— List fungible CashTokens with balancestoken info <category>— Token metadata, balance, and NFT listingtoken send <address> <amount> --token <category>— Send fungible tokenstoken send-nft <address> --token <category> --commitment <hex>— Send NFTs (auto-detects UTXO)
Token-Aware Addresses
address derive --token/address list --token— Derive z-prefix (token-aware) addressesreceive --token— Show z-prefix address for receiving CashTokensreceive --token <category>— Generate PayPro payment URI with QR codereceive --token <category> --amount <amount>— PayPro URI with token amount (bitcoincash:<z-addr>?c=<cat>&f=<base_units>)
Token Balance & History
balance --token <category>— Display balance for a specific CashTokenhistory --token <category>— Filter transaction history by token category
Network
All commands default to mainnet. Pass --chipnet for testnet.
Install
npm install -g paytaca-cliCommits
- 4d78920 Initial commit: Paytaca CLI
- 5fbbb28 Add README with installation, usage, and architecture docs
- 6621de2 Add Paytaca license and fix repository links in README
- 4e26af7 Prepare package for npm publishing
- 7a429d0 Add CashTokens support: token commands, token-aware addresses, and PayPro URIs
- 16ef0a2 Add --amount to receive and --token to balance
- 9f06a9e Update README with CashTokens commands and usage examples
- 366b707 Add npm install command to README