Getting Started
This guide walks you through basic CLI usage for Privacy Boost operations.For a minimal copy-paste example, see the CLI Quickstart. This guide explains each step in detail.
Prerequisites
- The CLI installed
- An App ID and indexer URL (see Configuration)
- A private key for the wallet you want to use
Overview
The Privacy Boost CLI provides command-line access to all SDK functionality:- Wallet connection and key derivation
- Authentication with the backend
- Deposits, withdrawals, and transfers
- Balance queries and transaction history
Quick Start
1. Configure Network
Set up your environment:2. Login
Connect your wallet and authenticate with the Privacy Boost backend:3. Check Balance
Query your shielded balance:4. Deposit
Deposit tokens into the shielded pool:5. Withdraw
Withdraw tokens from the shielded pool:6. Send Private Transfer
Send tokens privately to another privacy address:Common Workflows
Check Status
View current connection and authentication status:View Transaction History
List Sessions
Logout
Working with Amounts
Amounts default to wei. Use--human for human-readable format:
Error Handling
Common Errors
Not AuthenticatedNext Steps
Deposits
Deposit tokens into the shielded pool
Withdrawals
Withdraw tokens from the shielded pool
Private Transfers
Send tokens privately between users
Balances
Query token balances
Transaction History
View and filter transaction history
Wallet Integration
Authentication and key management
Session Storage
Session persistence
Error Handling
Error codes and recovery patterns