Skip to main content

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

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:
Output:

3. Check Balance

Query your shielded balance:
Output:

4. Deposit

Deposit tokens into the shielded pool:
Output:

5. Withdraw

Withdraw tokens from the shielded pool:
Output:

6. Send Private Transfer

Send tokens privately to another privacy address:
Output:

Common Workflows

Check Status

View current connection and authentication status:
Output:
Pass --output json to receive the same fields as a structured object suitable for scripting.

View Transaction History

List Sessions

Logout

Working with Amounts

Amounts default to wei. Use --human for human-readable format:
Or specify directly in wei (default):

Error Handling

Common Errors

Not Authenticated
Insufficient Balance
Network Error

Next 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